[INFO] fetching crate pallet-grandpa 26.0.0...
[INFO] checking pallet-grandpa-26.0.0 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate pallet-grandpa 26.0.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate pallet-grandpa 26.0.0 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-grandpa 26.0.0
[INFO] finished tweaking crates.io crate pallet-grandpa 26.0.0
[INFO] tweaked toml for crates.io crate pallet-grandpa 26.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e03d23c0df05a3e5884208dccb40e62d6e8f6f6ad8201f1d4cfc0088c11f496
[INFO] running `Command { std: "docker" "start" "-a" "2e03d23c0df05a3e5884208dccb40e62d6e8f6f6ad8201f1d4cfc0088c11f496", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e03d23c0df05a3e5884208dccb40e62d6e8f6f6ad8201f1d4cfc0088c11f496", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e03d23c0df05a3e5884208dccb40e62d6e8f6f6ad8201f1d4cfc0088c11f496", kill_on_drop: false }`
[INFO] [stdout] 2e03d23c0df05a3e5884208dccb40e62d6e8f6f6ad8201f1d4cfc0088c11f496
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75b0b1b57b3c09e94650da32e0d6a5d62a3967ce88bcc6ffa62459a9ec287095
[INFO] running `Command { std: "docker" "start" "-a" "75b0b1b57b3c09e94650da32e0d6a5d62a3967ce88bcc6ffa62459a9ec287095", kill_on_drop: false }`
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sp-runtime-interface v22.0.0
[INFO] [stderr]     Checking bip39 v2.0.0
[INFO] [stderr]    Compiling sp-io v28.0.0
[INFO] [stderr]     Checking sp-arithmetic v21.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v13.0.0
[INFO] [stderr]    Compiling frame-support-procedural v21.0.0
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking finality-grandpa v0.16.2
[INFO] [stderr]     Checking sp-core-hashing v13.0.0
[INFO] [stderr]     Checking ed25519-dalek v2.1.0
[INFO] [stderr]     Checking k256 v0.13.3
[INFO] [stderr]     Checking sp-core v26.0.0
[INFO] [stderr]     Checking sp-trie v27.0.0
[INFO] [stderr]     Checking sp-keystore v0.32.0
[INFO] [stderr]     Checking sp-weights v25.0.0
[INFO] [stderr]     Checking sp-state-machine v0.33.0
[INFO] [stderr]     Checking sp-application-crypto v28.0.0
[INFO] [stderr]     Checking sp-runtime v29.0.0
[INFO] [stderr]     Checking sp-version v27.0.0
[INFO] [stderr]     Checking sp-staking v24.0.0
[INFO] [stderr]     Checking sp-inherents v24.0.0
[INFO] [stderr]     Checking sp-api v24.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.5.0
[INFO] [stderr]     Checking sp-session v25.0.0
[INFO] [stderr]     Checking sp-consensus-grandpa v11.0.0
[INFO] [stderr]     Checking frame-support v26.0.0
[INFO] [stderr]     Checking sp-timestamp v24.0.0
[INFO] [stderr]     Checking frame-system v26.0.0
[INFO] [stderr]     Checking pallet-timestamp v25.0.0
[INFO] [stderr]     Checking pallet-authorship v26.0.0
[INFO] [stderr]     Checking pallet-session v26.0.0
[INFO] [stderr]     Checking pallet-grandpa v26.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_benchmarking`
[INFO] [stdout]   --> src/benchmarking.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use frame_benchmarking::v1::benchmarks;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_benchmarking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical`
[INFO] [stdout]    --> src/mock.rs:33:5
[INFO] [stdout]     |
[INFO] [stdout] 33  | use pallet_session::historical as pallet_session_historical;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_keyring`
[INFO] [stdout]   --> src/mock.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use sp_keyring::Ed25519Keyring;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `sp_keyring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_keyring`
[INFO] [stdout]   --> src/tests.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use sp_keyring::Ed25519Keyring;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `sp_keyring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout]    --> src/mock.rs:155:1
[INFO] [stdout]     |
[INFO] [stdout] 155 | pallet_staking_reward_curve::build! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:115:40
[INFO] [stdout]     |
[INFO] [stdout] 115 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                           ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                      ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:216:45
[INFO] [stdout]     |
[INFO] [stdout] 216 |     type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
[INFO] [stdout]     |                                                ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:293:14
[INFO] [stdout]     |
[INFO] [stdout] 293 |         force_era: pallet_staking::Forcing::ForceNew,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:46:47
[INFO] [stdout]    |
[INFO] [stdout] 46 | type Block = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 46 | type Block<Test> = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub grandpa_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub grandpa_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-29.0.0/src/traits.rs:1995:19
[INFO] [stdout]    |
[INFO] [stdout] 199|         pub struct $name<Test> {
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub grandpa_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-29.0.0/src/traits.rs:1991:25
[INFO] [stdout]    |
[INFO] [stdout] 199|             $crate::codec::Decode<Test>,
[INFO] [stdout]    |                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub grandpa_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-29.0.0/src/traits.rs:1992:32
[INFO] [stdout]    |
[INFO] [stdout] 199|             $crate::scale_info::TypeInfo<Test>,
[INFO] [stdout]    |                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/mock.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 74 |     type RuntimeOrigin = Self::RuntimeOrigin;
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 76 |     type RuntimeCall = Self::RuntimeCall;
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 82 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/mock.rs:85:20
[INFO] [stdout]    |
[INFO] [stdout] 85 |     type PalletInfo = PalletInfo;
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 85 |     type PalletInfo = Self::PalletInfo;
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 22 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:95:61
[INFO] [stdout]    |
[INFO] [stdout] 95 | impl<C> frame_system::offchain::SendTransactionTypes<C> for Test
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:97:2
[INFO] [stdout]    |
[INFO] [stdout] 97 |     RuntimeCall: From<C>,
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:99:25
[INFO] [stdout]    |
[INFO] [stdout] 99 |     type OverarchingCall = RuntimeCall;
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/mock.rs:100:26
[INFO] [stdout]     |
[INFO] [stdout] 100 |     type Extrinsic = TestXt<RuntimeCall, ()>;
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 95  | impl<C, RuntimeCall> frame_system::offchain::SendTransactionTypes<C> for Test
[INFO] [stdout]     |       +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:109:33
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl pallet_session::Config for Test {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 110 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:115:77
[INFO] [stdout]     |
[INFO] [stdout] 115 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                                                                ^^^^^^^
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 115 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, String>;
[INFO] [stdout]     |                                                                                ~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl<Staking> pallet_session::Config for Test {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:121:45
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:126:36
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl pallet_authorship::Config for Test {
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:131:34
[INFO] [stdout]     |
[INFO] [stdout] 131 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:137:22
[INFO] [stdout]     |
[INFO] [stdout] 137 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/mock.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |     type AccountStore = System;
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:148:35
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope
[INFO] [stdout]    --> src/mock.rs:169:62
[INFO] [stdout]     |
[INFO] [stdout] 169 |     pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:176:16
[INFO] [stdout]     |
[INFO] [stdout] 176 |     type System = Test;
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:178:22
[INFO] [stdout]     |
[INFO] [stdout] 178 |     type DataProvider = Staking;
[INFO] [stdout]     |                         ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:184:33
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:187:22
[INFO] [stdout]     |
[INFO] [stdout] 187 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:197:43
[INFO] [stdout]     |
[INFO] [stdout] 197 |     type UnixTime = pallet_timestamp::Pallet<Test>;
[INFO] [stdout]     |                                              ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl<Test> pallet_staking::Config for Test {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Session` in this scope
[INFO] [stdout]    --> src/mock.rs:201:24
[INFO] [stdout]     |
[INFO] [stdout] 201 |     type NextNewSession = Session;
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:214:34
[INFO] [stdout]     |
[INFO] [stdout] 214 | impl pallet_offences::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 215 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:217:26
[INFO] [stdout]     |
[INFO] [stdout] 217 |     type OnOffenceHandler = Staking;
[INFO] [stdout]     |                             ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl Config for Test {
[INFO] [stdout]     |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:227:22
[INFO] [stdout]     |
[INFO] [stdout] 227 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 227 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope
[INFO] [stdout]    --> src/mock.rs:232:24
[INFO] [stdout]     |
[INFO] [stdout] 232 |     type KeyOwnerProof = <Historical as KeyOwnerProofSystem<(KeyTypeId, AuthorityId)>>::Proof;
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Offences` in this scope
[INFO] [stdout]    --> src/mock.rs:234:41
[INFO] [stdout]     |
[INFO] [stdout] 234 |         super::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
[INFO] [stdout]     |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl<Offences> Config for Test {
[INFO] [stdout]     |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope
[INFO] [stdout]    --> src/mock.rs:234:51
[INFO] [stdout]     |
[INFO] [stdout] 234 |         super::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
[INFO] [stdout]     |                                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl<Historical> Config for Test {
[INFO] [stdout]     |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:258:44
[INFO] [stdout]     |
[INFO] [stdout] 258 |     let mut t = frame_system::GenesisConfig::<Test>::default().build_storage().unwrap();
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn new_test_ext_raw_authorities<Test>(authorities: AuthorityList) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:262:35
[INFO] [stdout]     |
[INFO] [stdout] 262 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn new_test_ext_raw_authorities<Test>(authorities: AuthorityList) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:281:34
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pallet_session::GenesisConfig::<Test> { keys: session_keys }
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn new_test_ext_raw_authorities<Test>(authorities: AuthorityList) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:287:41
[INFO] [stdout]     |
[INFO] [stdout] 287 |         .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::<u64>::Validator))
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_staking::StakerStatus;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `StakerStatus`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 287 -         .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::<u64>::Validator))
[INFO] [stdout] 287 +         .map(|i| (i as u64, i as u64, 10_000, StakerStatus::<u64>::Validator))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:290:55
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn new_test_ext_raw_authorities<Test>(authorities: AuthorityList) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:306:3
[INFO] [stdout]     |
[INFO] [stdout] 306 |         System::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:306:23
[INFO] [stdout]     |
[INFO] [stdout] 306 |         System::on_finalize(System::block_number());
[INFO] [stdout]     |                             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:307:24
[INFO] [stdout]     |
[INFO] [stdout] 307 |         Session::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:308:24
[INFO] [stdout]     |
[INFO] [stdout] 308 |         Staking::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/mock.rs:309:3
[INFO] [stdout]     |
[INFO] [stdout] 309 |         Grandpa::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:309:24
[INFO] [stdout]     |
[INFO] [stdout] 309 |         Grandpa::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:311:24
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let parent_hash = if System::block_number() > 1 {
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |             let hdr = System::finalize();
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:315:4
[INFO] [stdout]     |
[INFO] [stdout] 315 |             System::parent_hash()
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:318:3
[INFO] [stdout]     |
[INFO] [stdout] 318 |         System::reset_events();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:319:3
[INFO] [stdout]     |
[INFO] [stdout] 319 |         System::initialize(&(i as u64 + 1), &parent_hash, &Default::default());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:320:3
[INFO] [stdout]     |
[INFO] [stdout] 320 |         System::set_block_number((i + 1).into());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp`
[INFO] [stdout]    --> src/mock.rs:321:3
[INFO] [stdout]     |
[INFO] [stdout] 321 |         Timestamp::set_timestamp(System::block_number() * 6000);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Timestamp`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_core::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_runtime::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:321:28
[INFO] [stdout]     |
[INFO] [stdout] 321 |         Timestamp::set_timestamp(System::block_number() * 6000);
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:323:3
[INFO] [stdout]     |
[INFO] [stdout] 323 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:323:25
[INFO] [stdout]     |
[INFO] [stdout] 323 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |                               ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:324:26
[INFO] [stdout]     |
[INFO] [stdout] 324 |         Session::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:325:26
[INFO] [stdout]     |
[INFO] [stdout] 325 |         Staking::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/mock.rs:326:3
[INFO] [stdout]     |
[INFO] [stdout] 326 |         Grandpa::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:326:26
[INFO] [stdout]     |
[INFO] [stdout] 326 |         Grandpa::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:338:2
[INFO] [stdout]     |
[INFO] [stdout] 338 |     System::reset_events();
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:339:2
[INFO] [stdout]     |
[INFO] [stdout] 339 |     System::initialize(&number, &parent_hash, &Default::default());
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 0, None).unwrap();
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 |         System::note_finished_extrinsics();
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Grandpa::on_finalize(1);
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let header = System::finalize();
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 |             System::events(),
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:73:3
[INFO] [stdout]    |
[INFO] [stdout] 73 |         Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 1, None).unwrap();
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:74:3
[INFO] [stdout]    |
[INFO] [stdout] 74 |         Grandpa::on_finalize(1);
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:75:16
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let header = System::finalize();
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert_eq!(System::events(), vec![]);
[INFO] [stdout]    |                    ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:90:3
[INFO] [stdout]    |
[INFO] [stdout] 90 |         System::note_finished_extrinsics();
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:91:3
[INFO] [stdout]    |
[INFO] [stdout] 91 |         Grandpa::on_finalize(2);
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _header = System::finalize();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 |             System::events(),
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:112:3
[INFO] [stdout]     |
[INFO] [stdout] 112 |         Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 1, None).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:113:26
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert!(<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 |             Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None),
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |             Error::<Test>::ChangePending
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 |         Grandpa::on_finalize(1);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:120:16
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |         assert!(<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None),
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Error::<Test>::ChangePending
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 129 |         Grandpa::on_finalize(2);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:130:16
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:133:27
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert!(!<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:134:14
[INFO] [stdout]     |
[INFO] [stdout] 134 |         assert_ok!(Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None));
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |         Grandpa::on_finalize(3);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let _header = System::finalize();
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:145:3
[INFO] [stdout]     |
[INFO] [stdout] 145 |         Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 5, Some(0)).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:147:26
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert!(<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:149:4
[INFO] [stdout]     |
[INFO] [stdout] 149 |             Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, Some(0)),
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Error::<Test>::ChangePending
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:153:3
[INFO] [stdout]     |
[INFO] [stdout] 153 |         Grandpa::on_finalize(1);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut header = System::finalize();
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:158:27
[INFO] [stdout]     |
[INFO] [stdout] 158 |             assert!(<PendingChange<Test>>::get().unwrap().forced.is_some());
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:159:15
[INFO] [stdout]     |
[INFO] [stdout] 159 |             assert_eq!(Grandpa::next_forced(), Some(11));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 Error::<Test>::ChangePending
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, Some(0)),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 Error::<Test>::ChangePending
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:169:4
[INFO] [stdout]     |
[INFO] [stdout] 169 |             Grandpa::on_finalize(i);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:177:28
[INFO] [stdout]     |
[INFO] [stdout] 177 |             assert!(!<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 Grandpa::grandpa_authorities(),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:182:15
[INFO] [stdout]     |
[INFO] [stdout] 182 |             assert_ok!(Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:183:4
[INFO] [stdout]     |
[INFO] [stdout] 183 |             Grandpa::on_finalize(7);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:190:27
[INFO] [stdout]     |
[INFO] [stdout] 190 |             assert!(<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:192:5
[INFO] [stdout]     |
[INFO] [stdout] 192 |                 Grandpa::grandpa_authorities(),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 Error::<Test>::ChangePending
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 |             Grandpa::on_finalize(8);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 200 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:207:28
[INFO] [stdout]     |
[INFO] [stdout] 207 |             assert!(!<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:208:15
[INFO] [stdout]     |
[INFO] [stdout] 208 |             assert_eq!(Grandpa::grandpa_authorities(), to_authorities(vec![(5, 1)]));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:209:15
[INFO] [stdout]     |
[INFO] [stdout] 209 |             assert_eq!(Grandpa::next_forced(), Some(11));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 Grandpa::schedule_change(to_authorities(vec![(5, 1), (6, 1)]), 5, Some(0)),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 Error::<Test>::TooSoon
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 |             Grandpa::on_finalize(i);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:220:28
[INFO] [stdout]     |
[INFO] [stdout] 220 |             assert!(!<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:221:15
[INFO] [stdout]     |
[INFO] [stdout] 221 |             assert_ok!(Grandpa::schedule_change(
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:226:15
[INFO] [stdout]     |
[INFO] [stdout] 226 |             assert_eq!(Grandpa::next_forced(), Some(21));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:227:4
[INFO] [stdout]     |
[INFO] [stdout] 227 |             Grandpa::on_finalize(11);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:239:3
[INFO] [stdout]     |
[INFO] [stdout] 239 |         Grandpa::schedule_pause(1).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:242:14
[INFO] [stdout]     |
[INFO] [stdout] 242 |         assert_eq!(Grandpa::state(), StoredState::PendingPause { scheduled_at: 1u64, delay: 1 });
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:244:3
[INFO] [stdout]     |
[INFO] [stdout] 244 |         Grandpa::on_finalize(1);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:245:11
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:250:16
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_noop!(Grandpa::schedule_pause(1), Error::<Test>::PauseFailed);
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:250:52
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_noop!(Grandpa::schedule_pause(1), Error::<Test>::PauseFailed);
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 235 | fn schedule_pause_only_when_live<Test>() {
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:252:3
[INFO] [stdout]     |
[INFO] [stdout] 252 |         Grandpa::on_finalize(2);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:253:11
[INFO] [stdout]     |
[INFO] [stdout] 253 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:256:14
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_eq!(Grandpa::state(), StoredState::Paused);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:266:16
[INFO] [stdout]     |
[INFO] [stdout] 266 |         assert_noop!(Grandpa::schedule_resume(1), Error::<Test>::ResumeFailed);
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:266:53
[INFO] [stdout]     |
[INFO] [stdout] 266 |         assert_noop!(Grandpa::schedule_resume(1), Error::<Test>::ResumeFailed);
[INFO] [stdout]     |                                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 261 | fn schedule_resume_only_when_paused<Test>() {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:268:14
[INFO] [stdout]     |
[INFO] [stdout] 268 |         assert_eq!(Grandpa::state(), StoredState::Live);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:271:3
[INFO] [stdout]     |
[INFO] [stdout] 271 |         Grandpa::schedule_pause(0).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:272:3
[INFO] [stdout]     |
[INFO] [stdout] 272 |         Grandpa::on_finalize(1);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:273:11
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:275:14
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_eq!(Grandpa::state(), StoredState::Paused);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:279:3
[INFO] [stdout]     |
[INFO] [stdout] 279 |         Grandpa::schedule_resume(2).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:280:3
[INFO] [stdout]     |
[INFO] [stdout] 280 |         Grandpa::on_finalize(2);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:281:11
[INFO] [stdout]     |
[INFO] [stdout] 281 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:284:3
[INFO] [stdout]     |
[INFO] [stdout] 284 |         Grandpa::on_finalize(3);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:285:11
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:288:3
[INFO] [stdout]     |
[INFO] [stdout] 288 |         Grandpa::on_finalize(4);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:289:11
[INFO] [stdout]     |
[INFO] [stdout] 289 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:292:14
[INFO] [stdout]     |
[INFO] [stdout] 292 |         assert_eq!(Grandpa::state(), StoredState::Live);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:327:21
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:345:16
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:360:14
[INFO] [stdout]     |
[INFO] [stdout] 360 |         assert_ok!(Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:402:21
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:427:16
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:438:14
[INFO] [stdout]     |
[INFO] [stdout] 438 |         assert_ok!(Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:481:21
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:490:16
[INFO] [stdout]     |
[INFO] [stdout] 490 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:501:4
[INFO] [stdout]     |
[INFO] [stdout] 501 |             Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:506:12
[INFO] [stdout]     |
[INFO] [stdout] 506 |             Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 475 | fn report_equivocation_invalid_set_id<Test>() {
[INFO] [stdout]     |                                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:518:21
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:530:16
[INFO] [stdout]     |
[INFO] [stdout] 530 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:542:4
[INFO] [stdout]     |
[INFO] [stdout] 542 |             Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:547:12
[INFO] [stdout]     |
[INFO] [stdout] 547 |             Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn report_equivocation_invalid_session<Test>() {
[INFO] [stdout]     |                                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:558:21
[INFO] [stdout]     |
[INFO] [stdout] 558 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:571:16
[INFO] [stdout]     |
[INFO] [stdout] 571 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:587:4
[INFO] [stdout]     |
[INFO] [stdout] 587 |             Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:592:12
[INFO] [stdout]     |
[INFO] [stdout] 592 |             Error::<Test>::InvalidKeyOwnershipProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 553 | fn report_equivocation_invalid_key_owner_proof<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:604:21
[INFO] [stdout]     |
[INFO] [stdout] 604 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:614:16
[INFO] [stdout]     |
[INFO] [stdout] 614 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:618:5
[INFO] [stdout]     |
[INFO] [stdout] 618 |                 Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:623:13
[INFO] [stdout]     |
[INFO] [stdout] 623 |                 Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 598 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:672:21
[INFO] [stdout]     |
[INFO] [stdout] 672 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:678:16
[INFO] [stdout]     |
[INFO] [stdout] 678 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:696:5
[INFO] [stdout]     |
[INFO] [stdout] 696 |             <Grandpa as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:707:5
[INFO] [stdout]     |
[INFO] [stdout] 707 |             <Grandpa as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:721:15
[INFO] [stdout]     |
[INFO] [stdout] 721 |         assert_ok!(<Grandpa as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&call));
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:724:3
[INFO] [stdout]     |
[INFO] [stdout] 724 |         Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:734:5
[INFO] [stdout]     |
[INFO] [stdout] 734 |             <Grandpa as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:742:5
[INFO] [stdout]     |
[INFO] [stdout] 742 |             <Grandpa as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&call),
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:751:14
[INFO] [stdout]     |
[INFO] [stdout] 751 |         assert_eq!(Grandpa::current_set_id(), 0);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:756:14
[INFO] [stdout]     |
[INFO] [stdout] 756 |         assert_eq!(Grandpa::current_set_id(), 1);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:762:3
[INFO] [stdout]     |
[INFO] [stdout] 762 |         Grandpa::schedule_change(to_authorities(vec![(1, 1)]), 2, None).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:764:14
[INFO] [stdout]     |
[INFO] [stdout] 764 |         assert_eq!(Grandpa::current_set_id(), 1);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:768:14
[INFO] [stdout]     |
[INFO] [stdout] 768 |         assert_eq!(Grandpa::current_set_id(), 2);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:772:15
[INFO] [stdout]     |
[INFO] [stdout] 772 |         <NextForced<Test>>::put(1000);
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 749 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed<Test>() {
[INFO] [stdout]     |                                                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:773:12
[INFO] [stdout]     |
[INFO] [stdout] 773 |         <Stalled<Test>>::put((30, 1));
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 749 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed<Test>() {
[INFO] [stdout]     |                                                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:778:3
[INFO] [stdout]     |
[INFO] [stdout] 778 |         Grandpa::on_new_session(true, std::iter::empty(), std::iter::empty());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:779:14
[INFO] [stdout]     |
[INFO] [stdout] 779 |         assert_eq!(Grandpa::current_set_id(), 2);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:793:12
[INFO] [stdout]     |
[INFO] [stdout] 793 |             assert!(Grandpa::session_for_set(i as u64).is_some());
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:800:12
[INFO] [stdout]     |
[INFO] [stdout] 800 |             assert!(Grandpa::session_for_set(i as u64).is_some());
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:805:12
[INFO] [stdout]     |
[INFO] [stdout] 805 |             assert!(Grandpa::session_for_set(i as u64).is_none());
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:815:11
[INFO] [stdout]     |
[INFO] [stdout] 815 |         assert!(Grandpa::pending_change().is_none());
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:816:14
[INFO] [stdout]     |
[INFO] [stdout] 816 |         assert_eq!(Grandpa::current_set_id(), 1);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:820:3
[INFO] [stdout]     |
[INFO] [stdout] 820 |         Grandpa::on_new_session(false, std::iter::empty(), std::iter::empty());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:822:11
[INFO] [stdout]     |
[INFO] [stdout] 822 |         assert!(Grandpa::pending_change().is_none());
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:823:14
[INFO] [stdout]     |
[INFO] [stdout] 823 |         assert_eq!(Grandpa::current_set_id(), 1);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:827:12
[INFO] [stdout]     |
[INFO] [stdout] 827 |         <Stalled<Test>>::put((10, 1));
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 811 | fn always_schedules_a_change_on_new_session_when_stalled<Test>() {
[INFO] [stdout]     |                                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:828:3
[INFO] [stdout]     |
[INFO] [stdout] 828 |         Grandpa::on_new_session(false, std::iter::empty(), std::iter::empty());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:830:11
[INFO] [stdout]     |
[INFO] [stdout] 830 |         assert!(Grandpa::pending_change().is_some());
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:831:11
[INFO] [stdout]     |
[INFO] [stdout] 831 |         assert!(Grandpa::pending_change().unwrap().forced.is_some());
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:832:14
[INFO] [stdout]     |
[INFO] [stdout] 832 |         assert_eq!(Grandpa::current_set_id(), 2);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:841:22
[INFO] [stdout]     |
[INFO] [stdout] 841 |         .map(|validators| <Test as Config>::WeightInfo::report_equivocation(validators, 1000))
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:849:22
[INFO] [stdout]     |
[INFO] [stdout] 849 |         .map(|validators| <Test as Config>::WeightInfo::report_equivocation(validators, 1000))
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:862:27
[INFO] [stdout]     |
[INFO] [stdout] 862 |         let equivocation_key = &Grandpa::grandpa_authorities()[0].0;
[INFO] [stdout]     |                                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:864:16
[INFO] [stdout]     |
[INFO] [stdout] 864 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:878:21
[INFO] [stdout]     |
[INFO] [stdout] 878 |         let info = Call::<Test>::report_equivocation_unsigned {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 856 | fn valid_equivocation_reports_dont_pay_fees<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:889:19
[INFO] [stdout]     |
[INFO] [stdout] 889 |         let post_info = Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:903:19
[INFO] [stdout]     |
[INFO] [stdout] 903 |         let post_info = Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pallet as Grandpa`
[INFO] [stdout]   --> src/benchmarking.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::{Pallet as Grandpa, *};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `frame_system::RawOrigin`
[INFO] [stdout]   --> src/benchmarking.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_system::RawOrigin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self as pallet_grandpa`
[INFO] [stdout]   --> src/mock.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::{self as pallet_grandpa, AuthorityId, AuthorityList, Config, ConsensusLog};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OnFinalize`, `OnInitialize`
[INFO] [stdout]   --> src/mock.rs:31:63
[INFO] [stdout]    |
[INFO] [stdout] 31 |     traits::{ConstU128, ConstU32, ConstU64, KeyOwnerProofSystem, OnFinalize, OnInitialize},
[INFO] [stdout]    |                                                                  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Currency`, `KeyOwnerProofSystem`, `OnFinalize`, `OneSessionHandler`
[INFO] [stdout]   --> src/tests.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     traits::{Currency, KeyOwnerProofSystem, OnFinalize, OneSessionHandler},
[INFO] [stdout]    |              ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |     type AccountData = pallet_balances::AccountData<u128>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:112:23
[INFO] [stdout]     |
[INFO] [stdout] 112 |     type ValidatorIdOf = pallet_staking::StashOf<Self>;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 |     type FullIdentification = pallet_staking::Exposure<u64, u128>;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |     type FullIdentificationOf = pallet_staking::ExposureOf<Self>;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:131:6
[INFO] [stdout]     |
[INFO] [stdout] 131 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:148:6
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:184:6
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:189:34
[INFO] [stdout]     |
[INFO] [stdout] 189 |     type CurrencyBalance = <Self as pallet_balances::Config>::Balance;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:197:18
[INFO] [stdout]     |
[INFO] [stdout] 197 |     type UnixTime = pallet_timestamp::Pallet<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:198:19
[INFO] [stdout]     |
[INFO] [stdout] 198 |     type EraPayout = pallet_staking::ConvertCurve<RewardCurve>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:204:19
[INFO] [stdout]     |
[INFO] [stdout] 204 |     type VoterList = pallet_staking::UseNominatorsAndValidatorsMap<Self>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:205:20
[INFO] [stdout]     |
[INFO] [stdout] 205 |     type TargetList = pallet_staking::UseValidatorsMap<Self>;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:206:26
[INFO] [stdout]     |
[INFO] [stdout] 206 |     type NominationsQuota = pallet_staking::FixedNominationsQuota<16>;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:210:28
[INFO] [stdout]     |
[INFO] [stdout] 210 |     type BenchmarkingConfig = pallet_staking::TestBenchmarkingConfig;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_offences`
[INFO] [stdout]    --> src/mock.rs:214:6
[INFO] [stdout]     |
[INFO] [stdout] 214 | impl pallet_offences::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:262:2
[INFO] [stdout]     |
[INFO] [stdout] 262 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:290:23
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:305:11
[INFO] [stdout]     |
[INFO] [stdout] 305 |     for i in Session::current_index()..session_index {
[INFO] [stdout]     |              ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:307:3
[INFO] [stdout]     |
[INFO] [stdout] 307 |         Session::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:308:3
[INFO] [stdout]     |
[INFO] [stdout] 308 |         Staking::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         use of undeclared type `Staking`
[INFO] [stdout]     |         help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:324:3
[INFO] [stdout]     |
[INFO] [stdout] 324 |         Session::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:325:3
[INFO] [stdout]     |
[INFO] [stdout] 325 |         Staking::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         use of undeclared type `Staking`
[INFO] [stdout]     |         help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |     assert_eq!(Session::current_index(), session_index);
[INFO] [stdout]     |                ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:334:13
[INFO] [stdout]     |
[INFO] [stdout] 334 |     assert_eq!(Staking::current_era(), Some(era_index));
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                use of undeclared type `Staking`
[INFO] [stdout]     |                help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:322:14
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_eq!(Staking::current_era(), Some(0));
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:323:14
[INFO] [stdout]     |
[INFO] [stdout] 323 |         assert_eq!(Session::current_index(), 0);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:328:20
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let validators = Session::validators();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:332:15
[INFO] [stdout]     |
[INFO] [stdout] 332 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:333:15
[INFO] [stdout]     |
[INFO] [stdout] 333 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:336:5
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Staking::eras_stakers(1, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:357:4
[INFO] [stdout]     |
[INFO] [stdout] 357 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:361:4
[INFO] [stdout]     |
[INFO] [stdout] 361 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:371:14
[INFO] [stdout]     |
[INFO] [stdout] 371 |         assert_eq!(Balances::total_balance(&equivocation_validator_id), 10_000_000 - 10_000);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:372:14
[INFO] [stdout]     |
[INFO] [stdout] 372 |         assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0);
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:374:4
[INFO] [stdout]     |
[INFO] [stdout] 374 |             Staking::eras_stakers(2, &equivocation_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:375:4
[INFO] [stdout]     |
[INFO] [stdout] 375 |             pallet_staking::Exposure { total: 0, own: 0, others: vec![] },
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:384:15
[INFO] [stdout]     |
[INFO] [stdout] 384 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:385:15
[INFO] [stdout]     |
[INFO] [stdout] 385 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:388:5
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 Staking::eras_stakers(2, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:389:5
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:403:20
[INFO] [stdout]     |
[INFO] [stdout] 403 |         let validators = Session::validators();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:410:4
[INFO] [stdout]     |
[INFO] [stdout] 410 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:416:15
[INFO] [stdout]     |
[INFO] [stdout] 416 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:417:15
[INFO] [stdout]     |
[INFO] [stdout] 417 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:420:5
[INFO] [stdout]     |
[INFO] [stdout] 420 |                 Staking::eras_stakers(2, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:421:5
[INFO] [stdout]     |
[INFO] [stdout] 421 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:439:4
[INFO] [stdout]     |
[INFO] [stdout] 439 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:449:14
[INFO] [stdout]     |
[INFO] [stdout] 449 |         assert_eq!(Balances::total_balance(&equivocation_validator_id), 10_000_000 - 10_000);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:450:14
[INFO] [stdout]     |
[INFO] [stdout] 450 |         assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0);
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:453:4
[INFO] [stdout]     |
[INFO] [stdout] 453 |             Staking::eras_stakers(3, &equivocation_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:454:4
[INFO] [stdout]     |
[INFO] [stdout] 454 |             pallet_staking::Exposure { total: 0, own: 0, others: vec![] },
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:463:15
[INFO] [stdout]     |
[INFO] [stdout] 463 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:464:15
[INFO] [stdout]     |
[INFO] [stdout] 464 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:467:5
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 Staking::eras_stakers(3, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:468:5
[INFO] [stdout]     |
[INFO] [stdout] 468 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:488:4
[INFO] [stdout]     |
[INFO] [stdout] 488 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:502:5
[INFO] [stdout]     |
[INFO] [stdout] 502 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:526:4
[INFO] [stdout]     |
[INFO] [stdout] 526 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:543:5
[INFO] [stdout]     |
[INFO] [stdout] 543 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:565:4
[INFO] [stdout]     |
[INFO] [stdout] 565 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &invalid_owner_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:588:5
[INFO] [stdout]     |
[INFO] [stdout] 588 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:612:4
[INFO] [stdout]     |
[INFO] [stdout] 612 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:619:6
[INFO] [stdout]     |
[INFO] [stdout] 619 |                     RuntimeOrigin::none(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:687:4
[INFO] [stdout]     |
[INFO] [stdout] 687 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:725:4
[INFO] [stdout]     |
[INFO] [stdout] 725 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:875:4
[INFO] [stdout]     |
[INFO] [stdout] 875 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:890:4
[INFO] [stdout]     |
[INFO] [stdout] 890 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:904:4
[INFO] [stdout]     |
[INFO] [stdout] 904 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 294 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-grandpa` (lib test) due to 295 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "75b0b1b57b3c09e94650da32e0d6a5d62a3967ce88bcc6ffa62459a9ec287095", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75b0b1b57b3c09e94650da32e0d6a5d62a3967ce88bcc6ffa62459a9ec287095", kill_on_drop: false }`
[INFO] [stdout] 75b0b1b57b3c09e94650da32e0d6a5d62a3967ce88bcc6ffa62459a9ec287095
[INFO] checking pallet-grandpa-26.0.0 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate pallet-grandpa 26.0.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate pallet-grandpa 26.0.0 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-grandpa 26.0.0
[INFO] finished tweaking crates.io crate pallet-grandpa 26.0.0
[INFO] tweaked toml for crates.io crate pallet-grandpa 26.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8ab15e83b7f3e91e94a359020aad44c934b623c6b0b049ced3bd16ba75f8afb
[INFO] running `Command { std: "docker" "start" "-a" "e8ab15e83b7f3e91e94a359020aad44c934b623c6b0b049ced3bd16ba75f8afb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8ab15e83b7f3e91e94a359020aad44c934b623c6b0b049ced3bd16ba75f8afb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8ab15e83b7f3e91e94a359020aad44c934b623c6b0b049ced3bd16ba75f8afb", kill_on_drop: false }`
[INFO] [stdout] e8ab15e83b7f3e91e94a359020aad44c934b623c6b0b049ced3bd16ba75f8afb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunexpected_cfgs" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] aa4cbd6f30c9485a78112ef2388f0710ec46e8a797e0b095d81feea71afa577d
[INFO] running `Command { std: "docker" "start" "-a" "aa4cbd6f30c9485a78112ef2388f0710ec46e8a797e0b095d81feea71afa577d", kill_on_drop: false }`
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sp-runtime-interface v22.0.0
[INFO] [stderr]     Checking bip39 v2.0.0
[INFO] [stderr]    Compiling sp-io v28.0.0
[INFO] [stderr]     Checking sp-arithmetic v21.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v13.0.0
[INFO] [stderr]    Compiling frame-support-procedural v21.0.0
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking finality-grandpa v0.16.2
[INFO] [stderr]     Checking sp-core-hashing v13.0.0
[INFO] [stderr]     Checking ed25519-dalek v2.1.0
[INFO] [stderr]     Checking k256 v0.13.3
[INFO] [stderr]     Checking sp-core v26.0.0
[INFO] [stderr]     Checking sp-trie v27.0.0
[INFO] [stderr]     Checking sp-keystore v0.32.0
[INFO] [stderr]     Checking sp-weights v25.0.0
[INFO] [stderr]     Checking sp-state-machine v0.33.0
[INFO] [stderr]     Checking sp-application-crypto v28.0.0
[INFO] [stderr]     Checking sp-runtime v29.0.0
[INFO] [stderr]     Checking sp-version v27.0.0
[INFO] [stderr]     Checking sp-inherents v24.0.0
[INFO] [stderr]     Checking sp-staking v24.0.0
[INFO] [stderr]     Checking sp-api v24.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.5.0
[INFO] [stderr]     Checking sp-session v25.0.0
[INFO] [stderr]     Checking sp-consensus-grandpa v11.0.0
[INFO] [stderr]     Checking frame-support v26.0.0
[INFO] [stderr]     Checking sp-timestamp v24.0.0
[INFO] [stderr]     Checking frame-system v26.0.0
[INFO] [stderr]     Checking pallet-timestamp v25.0.0
[INFO] [stderr]     Checking pallet-authorship v26.0.0
[INFO] [stderr]     Checking pallet-session v26.0.0
[INFO] [stderr]     Checking pallet-grandpa v26.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_benchmarking`
[INFO] [stdout]   --> src/benchmarking.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use frame_benchmarking::v1::benchmarks;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_benchmarking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical`
[INFO] [stdout]    --> src/mock.rs:33:5
[INFO] [stdout]     |
[INFO] [stdout] 33  | use pallet_session::historical as pallet_session_historical;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_keyring`
[INFO] [stdout]   --> src/mock.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use sp_keyring::Ed25519Keyring;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `sp_keyring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_keyring`
[INFO] [stdout]   --> src/tests.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use sp_keyring::Ed25519Keyring;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `sp_keyring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout]    --> src/mock.rs:155:1
[INFO] [stdout]     |
[INFO] [stdout] 155 | pallet_staking_reward_curve::build! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:115:40
[INFO] [stdout]     |
[INFO] [stdout] 115 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                           ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                      ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:216:45
[INFO] [stdout]     |
[INFO] [stdout] 216 |     type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
[INFO] [stdout]     |                                                ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:293:14
[INFO] [stdout]     |
[INFO] [stdout] 293 |         force_era: pallet_staking::Forcing::ForceNew,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:46:47
[INFO] [stdout]    |
[INFO] [stdout] 46 | type Block = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 46 | type Block<Test> = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub grandpa_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub grandpa_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-29.0.0/src/traits.rs:1995:19
[INFO] [stdout]    |
[INFO] [stdout] 199|         pub struct $name<Test> {
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub grandpa_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-29.0.0/src/traits.rs:1991:25
[INFO] [stdout]    |
[INFO] [stdout] 199|             $crate::codec::Decode<Test>,
[INFO] [stdout]    |                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:65:40
[INFO] [stdout]    |
[INFO] [stdout] 65 |         pub grandpa_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-29.0.0/src/traits.rs:1992:32
[INFO] [stdout]    |
[INFO] [stdout] 199|             $crate::scale_info::TypeInfo<Test>,
[INFO] [stdout]    |                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/mock.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 74 |     type RuntimeOrigin = Self::RuntimeOrigin;
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 76 |     type RuntimeCall = Self::RuntimeCall;
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 82 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/mock.rs:85:20
[INFO] [stdout]    |
[INFO] [stdout] 85 |     type PalletInfo = PalletInfo;
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 85 |     type PalletInfo = Self::PalletInfo;
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 22 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:95:61
[INFO] [stdout]    |
[INFO] [stdout] 95 | impl<C> frame_system::offchain::SendTransactionTypes<C> for Test
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:97:2
[INFO] [stdout]    |
[INFO] [stdout] 97 |     RuntimeCall: From<C>,
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:99:25
[INFO] [stdout]    |
[INFO] [stdout] 99 |     type OverarchingCall = RuntimeCall;
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/mock.rs:100:26
[INFO] [stdout]     |
[INFO] [stdout] 100 |     type Extrinsic = TestXt<RuntimeCall, ()>;
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 95  | impl<C, RuntimeCall> frame_system::offchain::SendTransactionTypes<C> for Test
[INFO] [stdout]     |       +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:109:33
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl pallet_session::Config for Test {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 110 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:115:77
[INFO] [stdout]     |
[INFO] [stdout] 115 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                                                                ^^^^^^^
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 115 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, String>;
[INFO] [stdout]     |                                                                                ~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl<Staking> pallet_session::Config for Test {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:121:45
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:126:36
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl pallet_authorship::Config for Test {
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:131:34
[INFO] [stdout]     |
[INFO] [stdout] 131 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:137:22
[INFO] [stdout]     |
[INFO] [stdout] 137 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/mock.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |     type AccountStore = System;
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:148:35
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope
[INFO] [stdout]    --> src/mock.rs:169:62
[INFO] [stdout]     |
[INFO] [stdout] 169 |     pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:176:16
[INFO] [stdout]     |
[INFO] [stdout] 176 |     type System = Test;
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:178:22
[INFO] [stdout]     |
[INFO] [stdout] 178 |     type DataProvider = Staking;
[INFO] [stdout]     |                         ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:184:33
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:187:22
[INFO] [stdout]     |
[INFO] [stdout] 187 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:188:18
[INFO] [stdout]     |
[INFO] [stdout] 188 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:197:43
[INFO] [stdout]     |
[INFO] [stdout] 197 |     type UnixTime = pallet_timestamp::Pallet<Test>;
[INFO] [stdout]     |                                              ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl<Test> pallet_staking::Config for Test {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Session` in this scope
[INFO] [stdout]    --> src/mock.rs:201:24
[INFO] [stdout]     |
[INFO] [stdout] 201 |     type NextNewSession = Session;
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:214:34
[INFO] [stdout]     |
[INFO] [stdout] 214 | impl pallet_offences::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 215 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:217:26
[INFO] [stdout]     |
[INFO] [stdout] 217 |     type OnOffenceHandler = Staking;
[INFO] [stdout]     |                             ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/268dbbbc4b3fd71c5f360a4d0728295252430b5b/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl Config for Test {
[INFO] [stdout]     |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:227:22
[INFO] [stdout]     |
[INFO] [stdout] 227 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 227 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope
[INFO] [stdout]    --> src/mock.rs:232:24
[INFO] [stdout]     |
[INFO] [stdout] 232 |     type KeyOwnerProof = <Historical as KeyOwnerProofSystem<(KeyTypeId, AuthorityId)>>::Proof;
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Offences` in this scope
[INFO] [stdout]    --> src/mock.rs:234:41
[INFO] [stdout]     |
[INFO] [stdout] 234 |         super::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
[INFO] [stdout]     |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl<Offences> Config for Test {
[INFO] [stdout]     |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope
[INFO] [stdout]    --> src/mock.rs:234:51
[INFO] [stdout]     |
[INFO] [stdout] 234 |         super::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
[INFO] [stdout]     |                                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 226 | impl<Historical> Config for Test {
[INFO] [stdout]     |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:258:44
[INFO] [stdout]     |
[INFO] [stdout] 258 |     let mut t = frame_system::GenesisConfig::<Test>::default().build_storage().unwrap();
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn new_test_ext_raw_authorities<Test>(authorities: AuthorityList) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:262:35
[INFO] [stdout]     |
[INFO] [stdout] 262 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn new_test_ext_raw_authorities<Test>(authorities: AuthorityList) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:281:34
[INFO] [stdout]     |
[INFO] [stdout] 281 |     pallet_session::GenesisConfig::<Test> { keys: session_keys }
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn new_test_ext_raw_authorities<Test>(authorities: AuthorityList) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:287:41
[INFO] [stdout]     |
[INFO] [stdout] 287 |         .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::<u64>::Validator))
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_staking::StakerStatus;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `StakerStatus`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 287 -         .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::<u64>::Validator))
[INFO] [stdout] 287 +         .map(|i| (i as u64, i as u64, 10_000, StakerStatus::<u64>::Validator))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:290:55
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 257 | pub fn new_test_ext_raw_authorities<Test>(authorities: AuthorityList) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:306:3
[INFO] [stdout]     |
[INFO] [stdout] 306 |         System::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:306:23
[INFO] [stdout]     |
[INFO] [stdout] 306 |         System::on_finalize(System::block_number());
[INFO] [stdout]     |                             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:307:24
[INFO] [stdout]     |
[INFO] [stdout] 307 |         Session::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:308:24
[INFO] [stdout]     |
[INFO] [stdout] 308 |         Staking::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/mock.rs:309:3
[INFO] [stdout]     |
[INFO] [stdout] 309 |         Grandpa::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:309:24
[INFO] [stdout]     |
[INFO] [stdout] 309 |         Grandpa::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:311:24
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let parent_hash = if System::block_number() > 1 {
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |             let hdr = System::finalize();
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:315:4
[INFO] [stdout]     |
[INFO] [stdout] 315 |             System::parent_hash()
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:318:3
[INFO] [stdout]     |
[INFO] [stdout] 318 |         System::reset_events();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:319:3
[INFO] [stdout]     |
[INFO] [stdout] 319 |         System::initialize(&(i as u64 + 1), &parent_hash, &Default::default());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:320:3
[INFO] [stdout]     |
[INFO] [stdout] 320 |         System::set_block_number((i + 1).into());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp`
[INFO] [stdout]    --> src/mock.rs:321:3
[INFO] [stdout]     |
[INFO] [stdout] 321 |         Timestamp::set_timestamp(System::block_number() * 6000);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Timestamp`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_core::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_runtime::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:321:28
[INFO] [stdout]     |
[INFO] [stdout] 321 |         Timestamp::set_timestamp(System::block_number() * 6000);
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:323:3
[INFO] [stdout]     |
[INFO] [stdout] 323 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:323:25
[INFO] [stdout]     |
[INFO] [stdout] 323 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |                               ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:324:26
[INFO] [stdout]     |
[INFO] [stdout] 324 |         Session::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:325:26
[INFO] [stdout]     |
[INFO] [stdout] 325 |         Staking::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/mock.rs:326:3
[INFO] [stdout]     |
[INFO] [stdout] 326 |         Grandpa::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:326:26
[INFO] [stdout]     |
[INFO] [stdout] 326 |         Grandpa::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:338:2
[INFO] [stdout]     |
[INFO] [stdout] 338 |     System::reset_events();
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:339:2
[INFO] [stdout]     |
[INFO] [stdout] 339 |     System::initialize(&number, &parent_hash, &Default::default());
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 0, None).unwrap();
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:41:3
[INFO] [stdout]    |
[INFO] [stdout] 41 |         System::note_finished_extrinsics();
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:42:3
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Grandpa::on_finalize(1);
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let header = System::finalize();
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 |             System::events(),
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:73:3
[INFO] [stdout]    |
[INFO] [stdout] 73 |         Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 1, None).unwrap();
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:74:3
[INFO] [stdout]    |
[INFO] [stdout] 74 |         Grandpa::on_finalize(1);
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:75:16
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let header = System::finalize();
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert_eq!(System::events(), vec![]);
[INFO] [stdout]    |                    ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:90:3
[INFO] [stdout]    |
[INFO] [stdout] 90 |         System::note_finished_extrinsics();
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]   --> src/tests.rs:91:3
[INFO] [stdout]    |
[INFO] [stdout] 91 |         Grandpa::on_finalize(2);
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]   --> src/lib.rs:81:2
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub struct Pallet<T>(_);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let _header = System::finalize();
[INFO] [stdout]    |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 |             System::events(),
[INFO] [stdout]    |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:112:3
[INFO] [stdout]     |
[INFO] [stdout] 112 |         Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 1, None).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:113:26
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert!(<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:115:4
[INFO] [stdout]     |
[INFO] [stdout] 115 |             Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None),
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |             Error::<Test>::ChangePending
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 |         Grandpa::on_finalize(1);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:120:16
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |         assert!(<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None),
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 |             Error::<Test>::ChangePending
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 129 |         Grandpa::on_finalize(2);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:130:16
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:133:27
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert!(!<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending<Test>() {
[INFO] [stdout]     |                                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:134:14
[INFO] [stdout]     |
[INFO] [stdout] 134 |         assert_ok!(Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None));
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:136:3
[INFO] [stdout]     |
[INFO] [stdout] 136 |         Grandpa::on_finalize(3);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let _header = System::finalize();
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:145:3
[INFO] [stdout]     |
[INFO] [stdout] 145 |         Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 5, Some(0)).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:147:26
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert!(<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:149:4
[INFO] [stdout]     |
[INFO] [stdout] 149 |             Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, Some(0)),
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Error::<Test>::ChangePending
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:153:3
[INFO] [stdout]     |
[INFO] [stdout] 153 |         Grandpa::on_finalize(1);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let mut header = System::finalize();
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:158:27
[INFO] [stdout]     |
[INFO] [stdout] 158 |             assert!(<PendingChange<Test>>::get().unwrap().forced.is_some());
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:159:15
[INFO] [stdout]     |
[INFO] [stdout] 159 |             assert_eq!(Grandpa::next_forced(), Some(11));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 Error::<Test>::ChangePending
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 165 |                 Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, Some(0)),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 Error::<Test>::ChangePending
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:169:4
[INFO] [stdout]     |
[INFO] [stdout] 169 |             Grandpa::on_finalize(i);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:177:28
[INFO] [stdout]     |
[INFO] [stdout] 177 |             assert!(!<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 Grandpa::grandpa_authorities(),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:182:15
[INFO] [stdout]     |
[INFO] [stdout] 182 |             assert_ok!(Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:183:4
[INFO] [stdout]     |
[INFO] [stdout] 183 |             Grandpa::on_finalize(7);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:184:13
[INFO] [stdout]     |
[INFO] [stdout] 184 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:190:27
[INFO] [stdout]     |
[INFO] [stdout] 190 |             assert!(<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:192:5
[INFO] [stdout]     |
[INFO] [stdout] 192 |                 Grandpa::grandpa_authorities(),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:197:13
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 Error::<Test>::ChangePending
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 |             Grandpa::on_finalize(8);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:200:13
[INFO] [stdout]     |
[INFO] [stdout] 200 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:207:28
[INFO] [stdout]     |
[INFO] [stdout] 207 |             assert!(!<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:208:15
[INFO] [stdout]     |
[INFO] [stdout] 208 |             assert_eq!(Grandpa::grandpa_authorities(), to_authorities(vec![(5, 1)]));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:209:15
[INFO] [stdout]     |
[INFO] [stdout] 209 |             assert_eq!(Grandpa::next_forced(), Some(11));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 Grandpa::schedule_change(to_authorities(vec![(5, 1), (6, 1)]), 5, Some(0)),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |                 Error::<Test>::TooSoon
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 |             Grandpa::on_finalize(i);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:220:28
[INFO] [stdout]     |
[INFO] [stdout] 220 |             assert!(!<PendingChange<Test>>::exists());
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn dispatch_forced_change<Test>() {
[INFO] [stdout]     |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:221:15
[INFO] [stdout]     |
[INFO] [stdout] 221 |             assert_ok!(Grandpa::schedule_change(
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:226:15
[INFO] [stdout]     |
[INFO] [stdout] 226 |             assert_eq!(Grandpa::next_forced(), Some(21));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:227:4
[INFO] [stdout]     |
[INFO] [stdout] 227 |             Grandpa::on_finalize(11);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:228:13
[INFO] [stdout]     |
[INFO] [stdout] 228 |             header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:239:3
[INFO] [stdout]     |
[INFO] [stdout] 239 |         Grandpa::schedule_pause(1).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:242:14
[INFO] [stdout]     |
[INFO] [stdout] 242 |         assert_eq!(Grandpa::state(), StoredState::PendingPause { scheduled_at: 1u64, delay: 1 });
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:244:3
[INFO] [stdout]     |
[INFO] [stdout] 244 |         Grandpa::on_finalize(1);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:245:11
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:250:16
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_noop!(Grandpa::schedule_pause(1), Error::<Test>::PauseFailed);
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:250:52
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_noop!(Grandpa::schedule_pause(1), Error::<Test>::PauseFailed);
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 235 | fn schedule_pause_only_when_live<Test>() {
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:252:3
[INFO] [stdout]     |
[INFO] [stdout] 252 |         Grandpa::on_finalize(2);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:253:11
[INFO] [stdout]     |
[INFO] [stdout] 253 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:256:14
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_eq!(Grandpa::state(), StoredState::Paused);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:266:16
[INFO] [stdout]     |
[INFO] [stdout] 266 |         assert_noop!(Grandpa::schedule_resume(1), Error::<Test>::ResumeFailed);
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:266:53
[INFO] [stdout]     |
[INFO] [stdout] 266 |         assert_noop!(Grandpa::schedule_resume(1), Error::<Test>::ResumeFailed);
[INFO] [stdout]     |                                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 261 | fn schedule_resume_only_when_paused<Test>() {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:268:14
[INFO] [stdout]     |
[INFO] [stdout] 268 |         assert_eq!(Grandpa::state(), StoredState::Live);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:271:3
[INFO] [stdout]     |
[INFO] [stdout] 271 |         Grandpa::schedule_pause(0).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:272:3
[INFO] [stdout]     |
[INFO] [stdout] 272 |         Grandpa::on_finalize(1);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:273:11
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:275:14
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_eq!(Grandpa::state(), StoredState::Paused);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:279:3
[INFO] [stdout]     |
[INFO] [stdout] 279 |         Grandpa::schedule_resume(2).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:280:3
[INFO] [stdout]     |
[INFO] [stdout] 280 |         Grandpa::on_finalize(2);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:281:11
[INFO] [stdout]     |
[INFO] [stdout] 281 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:284:3
[INFO] [stdout]     |
[INFO] [stdout] 284 |         Grandpa::on_finalize(3);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:285:11
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:288:3
[INFO] [stdout]     |
[INFO] [stdout] 288 |         Grandpa::on_finalize(4);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:289:11
[INFO] [stdout]     |
[INFO] [stdout] 289 |         let _ = System::finalize();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 22  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 22  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:292:14
[INFO] [stdout]     |
[INFO] [stdout] 292 |         assert_eq!(Grandpa::state(), StoredState::Live);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:327:21
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:345:16
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:360:14
[INFO] [stdout]     |
[INFO] [stdout] 360 |         assert_ok!(Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:402:21
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:427:16
[INFO] [stdout]     |
[INFO] [stdout] 427 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:438:14
[INFO] [stdout]     |
[INFO] [stdout] 438 |         assert_ok!(Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:481:21
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:490:16
[INFO] [stdout]     |
[INFO] [stdout] 490 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:501:4
[INFO] [stdout]     |
[INFO] [stdout] 501 |             Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:506:12
[INFO] [stdout]     |
[INFO] [stdout] 506 |             Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 475 | fn report_equivocation_invalid_set_id<Test>() {
[INFO] [stdout]     |                                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:518:21
[INFO] [stdout]     |
[INFO] [stdout] 518 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:530:16
[INFO] [stdout]     |
[INFO] [stdout] 530 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:542:4
[INFO] [stdout]     |
[INFO] [stdout] 542 |             Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:547:12
[INFO] [stdout]     |
[INFO] [stdout] 547 |             Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 512 | fn report_equivocation_invalid_session<Test>() {
[INFO] [stdout]     |                                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:558:21
[INFO] [stdout]     |
[INFO] [stdout] 558 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:571:16
[INFO] [stdout]     |
[INFO] [stdout] 571 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:587:4
[INFO] [stdout]     |
[INFO] [stdout] 587 |             Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:592:12
[INFO] [stdout]     |
[INFO] [stdout] 592 |             Error::<Test>::InvalidKeyOwnershipProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 553 | fn report_equivocation_invalid_key_owner_proof<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:604:21
[INFO] [stdout]     |
[INFO] [stdout] 604 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:614:16
[INFO] [stdout]     |
[INFO] [stdout] 614 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:618:5
[INFO] [stdout]     |
[INFO] [stdout] 618 |                 Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:623:13
[INFO] [stdout]     |
[INFO] [stdout] 623 |                 Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 598 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:672:21
[INFO] [stdout]     |
[INFO] [stdout] 672 |         let authorities = Grandpa::grandpa_authorities();
[INFO] [stdout]     |                           ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:678:16
[INFO] [stdout]     |
[INFO] [stdout] 678 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:696:5
[INFO] [stdout]     |
[INFO] [stdout] 696 |             <Grandpa as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:707:5
[INFO] [stdout]     |
[INFO] [stdout] 707 |             <Grandpa as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:721:15
[INFO] [stdout]     |
[INFO] [stdout] 721 |         assert_ok!(<Grandpa as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&call));
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:724:3
[INFO] [stdout]     |
[INFO] [stdout] 724 |         Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:734:5
[INFO] [stdout]     |
[INFO] [stdout] 734 |             <Grandpa as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope
[INFO] [stdout]    --> src/tests.rs:742:5
[INFO] [stdout]     |
[INFO] [stdout] 742 |             <Grandpa as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&call),
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:751:14
[INFO] [stdout]     |
[INFO] [stdout] 751 |         assert_eq!(Grandpa::current_set_id(), 0);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:756:14
[INFO] [stdout]     |
[INFO] [stdout] 756 |         assert_eq!(Grandpa::current_set_id(), 1);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:762:3
[INFO] [stdout]     |
[INFO] [stdout] 762 |         Grandpa::schedule_change(to_authorities(vec![(1, 1)]), 2, None).unwrap();
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:764:14
[INFO] [stdout]     |
[INFO] [stdout] 764 |         assert_eq!(Grandpa::current_set_id(), 1);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:768:14
[INFO] [stdout]     |
[INFO] [stdout] 768 |         assert_eq!(Grandpa::current_set_id(), 2);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:772:15
[INFO] [stdout]     |
[INFO] [stdout] 772 |         <NextForced<Test>>::put(1000);
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 749 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed<Test>() {
[INFO] [stdout]     |                                                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:773:12
[INFO] [stdout]     |
[INFO] [stdout] 773 |         <Stalled<Test>>::put((30, 1));
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 749 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed<Test>() {
[INFO] [stdout]     |                                                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:778:3
[INFO] [stdout]     |
[INFO] [stdout] 778 |         Grandpa::on_new_session(true, std::iter::empty(), std::iter::empty());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:779:14
[INFO] [stdout]     |
[INFO] [stdout] 779 |         assert_eq!(Grandpa::current_set_id(), 2);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:793:12
[INFO] [stdout]     |
[INFO] [stdout] 793 |             assert!(Grandpa::session_for_set(i as u64).is_some());
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:800:12
[INFO] [stdout]     |
[INFO] [stdout] 800 |             assert!(Grandpa::session_for_set(i as u64).is_some());
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:805:12
[INFO] [stdout]     |
[INFO] [stdout] 805 |             assert!(Grandpa::session_for_set(i as u64).is_none());
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:815:11
[INFO] [stdout]     |
[INFO] [stdout] 815 |         assert!(Grandpa::pending_change().is_none());
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:816:14
[INFO] [stdout]     |
[INFO] [stdout] 816 |         assert_eq!(Grandpa::current_set_id(), 1);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:820:3
[INFO] [stdout]     |
[INFO] [stdout] 820 |         Grandpa::on_new_session(false, std::iter::empty(), std::iter::empty());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:822:11
[INFO] [stdout]     |
[INFO] [stdout] 822 |         assert!(Grandpa::pending_change().is_none());
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:823:14
[INFO] [stdout]     |
[INFO] [stdout] 823 |         assert_eq!(Grandpa::current_set_id(), 1);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:827:12
[INFO] [stdout]     |
[INFO] [stdout] 827 |         <Stalled<Test>>::put((10, 1));
[INFO] [stdout]     |                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 811 | fn always_schedules_a_change_on_new_session_when_stalled<Test>() {
[INFO] [stdout]     |                                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:828:3
[INFO] [stdout]     |
[INFO] [stdout] 828 |         Grandpa::on_new_session(false, std::iter::empty(), std::iter::empty());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:830:11
[INFO] [stdout]     |
[INFO] [stdout] 830 |         assert!(Grandpa::pending_change().is_some());
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:831:11
[INFO] [stdout]     |
[INFO] [stdout] 831 |         assert!(Grandpa::pending_change().unwrap().forced.is_some());
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:832:14
[INFO] [stdout]     |
[INFO] [stdout] 832 |         assert_eq!(Grandpa::current_set_id(), 2);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:841:22
[INFO] [stdout]     |
[INFO] [stdout] 841 |         .map(|validators| <Test as Config>::WeightInfo::report_equivocation(validators, 1000))
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:849:22
[INFO] [stdout]     |
[INFO] [stdout] 849 |         .map(|validators| <Test as Config>::WeightInfo::report_equivocation(validators, 1000))
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:862:27
[INFO] [stdout]     |
[INFO] [stdout] 862 |         let equivocation_key = &Grandpa::grandpa_authorities()[0].0;
[INFO] [stdout]     |                                 ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:864:16
[INFO] [stdout]     |
[INFO] [stdout] 864 |         let set_id = Grandpa::current_set_id();
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:878:21
[INFO] [stdout]     |
[INFO] [stdout] 878 |         let info = Call::<Test>::report_equivocation_unsigned {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 856 | fn valid_equivocation_reports_dont_pay_fees<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:889:19
[INFO] [stdout]     |
[INFO] [stdout] 889 |         let post_info = Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa`
[INFO] [stdout]    --> src/tests.rs:903:19
[INFO] [stdout]     |
[INFO] [stdout] 903 |         let post_info = Grandpa::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^^^^ use of undeclared type `Grandpa`
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::benchmarking::tests::Grandpa` exists but is inaccessible
[INFO] [stdout]    --> src/lib.rs:81:2
[INFO] [stdout]     |
[INFO] [stdout] 81  |     pub struct Pallet<T>(_);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pallet as Grandpa`
[INFO] [stdout]   --> src/benchmarking.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::{Pallet as Grandpa, *};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `frame_system::RawOrigin`
[INFO] [stdout]   --> src/benchmarking.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_system::RawOrigin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self as pallet_grandpa`
[INFO] [stdout]   --> src/mock.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::{self as pallet_grandpa, AuthorityId, AuthorityList, Config, ConsensusLog};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OnFinalize`, `OnInitialize`
[INFO] [stdout]   --> src/mock.rs:31:63
[INFO] [stdout]    |
[INFO] [stdout] 31 |     traits::{ConstU128, ConstU32, ConstU64, KeyOwnerProofSystem, OnFinalize, OnInitialize},
[INFO] [stdout]    |                                                                  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Currency`, `KeyOwnerProofSystem`, `OnFinalize`, `OneSessionHandler`
[INFO] [stdout]   --> src/tests.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     traits::{Currency, KeyOwnerProofSystem, OnFinalize, OneSessionHandler},
[INFO] [stdout]    |              ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |     type AccountData = pallet_balances::AccountData<u128>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:112:23
[INFO] [stdout]     |
[INFO] [stdout] 112 |     type ValidatorIdOf = pallet_staking::StashOf<Self>;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 |     type FullIdentification = pallet_staking::Exposure<u64, u128>;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:123:30
[INFO] [stdout]     |
[INFO] [stdout] 123 |     type FullIdentificationOf = pallet_staking::ExposureOf<Self>;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:131:6
[INFO] [stdout]     |
[INFO] [stdout] 131 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:148:6
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:184:6
[INFO] [stdout]     |
[INFO] [stdout] 184 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:189:34
[INFO] [stdout]     |
[INFO] [stdout] 189 |     type CurrencyBalance = <Self as pallet_balances::Config>::Balance;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:197:18
[INFO] [stdout]     |
[INFO] [stdout] 197 |     type UnixTime = pallet_timestamp::Pallet<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:198:19
[INFO] [stdout]     |
[INFO] [stdout] 198 |     type EraPayout = pallet_staking::ConvertCurve<RewardCurve>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:204:19
[INFO] [stdout]     |
[INFO] [stdout] 204 |     type VoterList = pallet_staking::UseNominatorsAndValidatorsMap<Self>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:205:20
[INFO] [stdout]     |
[INFO] [stdout] 205 |     type TargetList = pallet_staking::UseValidatorsMap<Self>;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:206:26
[INFO] [stdout]     |
[INFO] [stdout] 206 |     type NominationsQuota = pallet_staking::FixedNominationsQuota<16>;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:210:28
[INFO] [stdout]     |
[INFO] [stdout] 210 |     type BenchmarkingConfig = pallet_staking::TestBenchmarkingConfig;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_offences`
[INFO] [stdout]    --> src/mock.rs:214:6
[INFO] [stdout]     |
[INFO] [stdout] 214 | impl pallet_offences::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:262:2
[INFO] [stdout]     |
[INFO] [stdout] 262 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:290:23
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:305:11
[INFO] [stdout]     |
[INFO] [stdout] 305 |     for i in Session::current_index()..session_index {
[INFO] [stdout]     |              ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:307:3
[INFO] [stdout]     |
[INFO] [stdout] 307 |         Session::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:308:3
[INFO] [stdout]     |
[INFO] [stdout] 308 |         Staking::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         use of undeclared type `Staking`
[INFO] [stdout]     |         help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:324:3
[INFO] [stdout]     |
[INFO] [stdout] 324 |         Session::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:325:3
[INFO] [stdout]     |
[INFO] [stdout] 325 |         Staking::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         use of undeclared type `Staking`
[INFO] [stdout]     |         help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |     assert_eq!(Session::current_index(), session_index);
[INFO] [stdout]     |                ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:334:13
[INFO] [stdout]     |
[INFO] [stdout] 334 |     assert_eq!(Staking::current_era(), Some(era_index));
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                use of undeclared type `Staking`
[INFO] [stdout]     |                help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:322:14
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_eq!(Staking::current_era(), Some(0));
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:323:14
[INFO] [stdout]     |
[INFO] [stdout] 323 |         assert_eq!(Session::current_index(), 0);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:328:20
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let validators = Session::validators();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:332:15
[INFO] [stdout]     |
[INFO] [stdout] 332 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:333:15
[INFO] [stdout]     |
[INFO] [stdout] 333 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:336:5
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Staking::eras_stakers(1, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:357:4
[INFO] [stdout]     |
[INFO] [stdout] 357 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:361:4
[INFO] [stdout]     |
[INFO] [stdout] 361 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:371:14
[INFO] [stdout]     |
[INFO] [stdout] 371 |         assert_eq!(Balances::total_balance(&equivocation_validator_id), 10_000_000 - 10_000);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:372:14
[INFO] [stdout]     |
[INFO] [stdout] 372 |         assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0);
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:374:4
[INFO] [stdout]     |
[INFO] [stdout] 374 |             Staking::eras_stakers(2, &equivocation_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:375:4
[INFO] [stdout]     |
[INFO] [stdout] 375 |             pallet_staking::Exposure { total: 0, own: 0, others: vec![] },
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:384:15
[INFO] [stdout]     |
[INFO] [stdout] 384 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:385:15
[INFO] [stdout]     |
[INFO] [stdout] 385 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:388:5
[INFO] [stdout]     |
[INFO] [stdout] 388 |                 Staking::eras_stakers(2, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:389:5
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:403:20
[INFO] [stdout]     |
[INFO] [stdout] 403 |         let validators = Session::validators();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:410:4
[INFO] [stdout]     |
[INFO] [stdout] 410 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:416:15
[INFO] [stdout]     |
[INFO] [stdout] 416 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:417:15
[INFO] [stdout]     |
[INFO] [stdout] 417 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:420:5
[INFO] [stdout]     |
[INFO] [stdout] 420 |                 Staking::eras_stakers(2, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:421:5
[INFO] [stdout]     |
[INFO] [stdout] 421 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:439:4
[INFO] [stdout]     |
[INFO] [stdout] 439 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:449:14
[INFO] [stdout]     |
[INFO] [stdout] 449 |         assert_eq!(Balances::total_balance(&equivocation_validator_id), 10_000_000 - 10_000);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:450:14
[INFO] [stdout]     |
[INFO] [stdout] 450 |         assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0);
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:453:4
[INFO] [stdout]     |
[INFO] [stdout] 453 |             Staking::eras_stakers(3, &equivocation_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:454:4
[INFO] [stdout]     |
[INFO] [stdout] 454 |             pallet_staking::Exposure { total: 0, own: 0, others: vec![] },
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:463:15
[INFO] [stdout]     |
[INFO] [stdout] 463 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:464:15
[INFO] [stdout]     |
[INFO] [stdout] 464 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:467:5
[INFO] [stdout]     |
[INFO] [stdout] 467 |                 Staking::eras_stakers(3, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:468:5
[INFO] [stdout]     |
[INFO] [stdout] 468 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:488:4
[INFO] [stdout]     |
[INFO] [stdout] 488 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:502:5
[INFO] [stdout]     |
[INFO] [stdout] 502 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:526:4
[INFO] [stdout]     |
[INFO] [stdout] 526 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:543:5
[INFO] [stdout]     |
[INFO] [stdout] 543 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:565:4
[INFO] [stdout]     |
[INFO] [stdout] 565 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &invalid_owner_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:588:5
[INFO] [stdout]     |
[INFO] [stdout] 588 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:612:4
[INFO] [stdout]     |
[INFO] [stdout] 612 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:619:6
[INFO] [stdout]     |
[INFO] [stdout] 619 |                     RuntimeOrigin::none(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:687:4
[INFO] [stdout]     |
[INFO] [stdout] 687 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:725:4
[INFO] [stdout]     |
[INFO] [stdout] 725 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:875:4
[INFO] [stdout]     |
[INFO] [stdout] 875 |             Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:890:4
[INFO] [stdout]     |
[INFO] [stdout] 890 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:904:4
[INFO] [stdout]     |
[INFO] [stdout] 904 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 294 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-grandpa` (lib test) due to 295 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "aa4cbd6f30c9485a78112ef2388f0710ec46e8a797e0b095d81feea71afa577d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa4cbd6f30c9485a78112ef2388f0710ec46e8a797e0b095d81feea71afa577d", kill_on_drop: false }`
[INFO] [stdout] aa4cbd6f30c9485a78112ef2388f0710ec46e8a797e0b095d81feea71afa577d
