[INFO] fetching crate pallet-grandpa 2.0.0...
[INFO] testing pallet-grandpa-2.0.0 against 1.47.0 for beta-1.48-1
[INFO] extracting crate pallet-grandpa 2.0.0 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate pallet-grandpa 2.0.0 on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-grandpa 2.0.0
[INFO] finished tweaking crates.io crate pallet-grandpa 2.0.0
[INFO] tweaked toml for crates.io crate pallet-grandpa 2.0.0 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab506b6e4306adb287852385c17fa113c085ce0451d095b581dec7c670a8bb1c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ab506b6e4306adb287852385c17fa113c085ce0451d095b581dec7c670a8bb1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab506b6e4306adb287852385c17fa113c085ce0451d095b581dec7c670a8bb1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab506b6e4306adb287852385c17fa113c085ce0451d095b581dec7c670a8bb1c", kill_on_drop: false }`
[INFO] [stdout] ab506b6e4306adb287852385c17fa113c085ce0451d095b581dec7c670a8bb1c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 536f470f9dcf9e189ef5c86da511c7514ce44845d79c539302c608ab4eeda665
[INFO] running `Command { std: "docker" "start" "-a" "536f470f9dcf9e189ef5c86da511c7514ce44845d79c539302c608ab4eeda665", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures-timer v2.0.2
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling tiny-bip39 v0.7.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling futures-executor v0.3.6
[INFO] [stderr]    Compiling futures v0.3.6
[INFO] [stderr]    Compiling sp-core v2.0.0
[INFO] [stderr]    Compiling wasm-timer v0.2.5
[INFO] [stderr]    Compiling finality-grandpa v0.12.3
[INFO] [stderr]    Compiling sp-trie v2.0.0
[INFO] [stderr]    Compiling sp-inherents v2.0.0
[INFO] [stderr]    Compiling frame-metadata v12.0.0
[INFO] [stderr]    Compiling sp-finality-tracker v2.0.0
[INFO] [stderr]    Compiling sp-state-machine v0.8.0
[INFO] [stderr]    Compiling sp-io v2.0.0
[INFO] [stderr]    Compiling sp-application-crypto v2.0.0
[INFO] [stderr]    Compiling sp-runtime v2.0.0
[INFO] [stderr]    Compiling sp-version v2.0.0
[INFO] [stderr]    Compiling frame-support v2.0.0
[INFO] [stderr]    Compiling sp-staking v2.0.0
[INFO] [stderr]    Compiling sp-authorship v2.0.0
[INFO] [stderr]    Compiling sp-api v2.0.0
[INFO] [stderr]    Compiling sp-timestamp v2.0.0
[INFO] [stderr]    Compiling sp-session v2.0.0
[INFO] [stderr]    Compiling sp-finality-grandpa v2.0.0
[INFO] [stderr]    Compiling frame-system v2.0.0
[INFO] [stderr]    Compiling frame-benchmarking v2.0.0
[INFO] [stderr]    Compiling pallet-authorship v2.0.0
[INFO] [stderr]    Compiling pallet-finality-tracker v2.0.0
[INFO] [stderr]    Compiling pallet-timestamp v2.0.0
[INFO] [stderr]    Compiling pallet-session v2.0.0
[INFO] [stderr]    Compiling pallet-grandpa v2.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 16s
[INFO] running `Command { std: "docker" "inspect" "536f470f9dcf9e189ef5c86da511c7514ce44845d79c539302c608ab4eeda665", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "536f470f9dcf9e189ef5c86da511c7514ce44845d79c539302c608ab4eeda665", kill_on_drop: false }`
[INFO] [stdout] 536f470f9dcf9e189ef5c86da511c7514ce44845d79c539302c608ab4eeda665
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5fb51d3e66c6acf2f20673a184ff97832baadc96e4ed2f1a5e0c28530336f7ce
[INFO] running `Command { std: "docker" "start" "-a" "5fb51d3e66c6acf2f20673a184ff97832baadc96e4ed2f1a5e0c28530336f7ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling pallet-grandpa v2.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `grandpa`
[INFO] [stdout]   --> src/mock.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use ::grandpa as finality_grandpa;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `grandpa` external crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use pallet_staking::EraIndex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_io`
[INFO] [stdout]   --> src/mock.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use sp_io;
[INFO] [stdout]    |     ^^^^^ no `sp_io` external crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_keyring`
[INFO] [stdout]   --> src/mock.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use sp_keyring::Ed25519Keyring;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type or module `sp_keyring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_keyring`
[INFO] [stdout]   --> src/tests.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use sp_keyring::Ed25519Keyring;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type or module `sp_keyring`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking_reward_curve`
[INFO] [stdout]    --> src/mock.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pallet_staking_reward_curve::build! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:64:3
[INFO] [stdout]    |
[INFO] [stdout] 64 |         pallet_balances<T>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_offences`
[INFO] [stdout]   --> src/mock.rs:66:3
[INFO] [stdout]    |
[INFO] [stdout] 66 |         pallet_offences,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:68:3
[INFO] [stdout]    |
[INFO] [stdout] 68 |         pallet_staking<T>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |     type AccountData = pallet_balances::AccountData<u128>;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |     type ValidatorIdOf = pallet_staking::StashOf<Self>;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:131:40
[INFO] [stdout]     |
[INFO] [stdout] 131 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                           ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:138:22
[INFO] [stdout]     |
[INFO] [stdout] 138 | impl pallet_session::historical::Trait for Test {
[INFO] [stdout]     |                      ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:139:28
[INFO] [stdout]     |
[INFO] [stdout] 139 |     type FullIdentification = pallet_staking::Exposure<u64, u128>;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |     type FullIdentificationOf = pallet_staking::ExposureOf<Self>;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:158:6
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl pallet_balances::Trait for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:172:6
[INFO] [stdout]     |
[INFO] [stdout] 172 | impl pallet_timestamp::Trait for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:215:6
[INFO] [stdout]     |
[INFO] [stdout] 215 | impl pallet_staking::Trait for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:227:18
[INFO] [stdout]     |
[INFO] [stdout] 227 |     type UnixTime = pallet_timestamp::Module<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_offences`
[INFO] [stdout]    --> src/mock.rs:243:6
[INFO] [stdout]     |
[INFO] [stdout] 243 | impl pallet_offences::Trait for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:245:45
[INFO] [stdout]     |
[INFO] [stdout] 245 |     type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
[INFO] [stdout]     |                                                ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:273:21
[INFO] [stdout]     |
[INFO] [stdout] 273 | pub type Balances = pallet_balances::Module<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:274:39
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub type Historical = pallet_session::historical::Module<Test>;
[INFO] [stdout]     |                                       ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_offences`
[INFO] [stdout]    --> src/mock.rs:275:21
[INFO] [stdout]     |
[INFO] [stdout] 275 | pub type Offences = pallet_offences::Module<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:277:20
[INFO] [stdout]     |
[INFO] [stdout] 277 | pub type Staking = pallet_staking::Module<Test>;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:279:22
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub type Timestamp = pallet_timestamp::Module<Test>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:329:5
[INFO] [stdout]     |
[INFO] [stdout] 329 |                 pallet_staking::StakerStatus::<u64>::Validator,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:344:2
[INFO] [stdout]     |
[INFO] [stdout] 344 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:348:23
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:351:14
[INFO] [stdout]     |
[INFO] [stdout] 351 |         force_era: pallet_staking::Forcing::ForceNew,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:356:5
[INFO] [stdout]     |
[INFO] [stdout] 356 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:400:4
[INFO] [stdout]     |
[INFO] [stdout] 400 |             pallet_staking::Exposure {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:418:5
[INFO] [stdout]     |
[INFO] [stdout] 418 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:454:5
[INFO] [stdout]     |
[INFO] [stdout] 454 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:493:4
[INFO] [stdout]     |
[INFO] [stdout] 493 |             pallet_staking::Exposure {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:511:5
[INFO] [stdout]     |
[INFO] [stdout] 511 |                 pallet_staking::Exposure {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | / impl_outer_event! {
[INFO] [stdout] 62 | |     pub enum TestEvent for Test {
[INFO] [stdout] 63 | |         frame_system<T>,
[INFO] [stdout] 64 | |         pallet_balances<T>,
[INFO] [stdout] ...  |
[INFO] [stdout] 69 | |     }
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^ not found in `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_system::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use pallet_session::Event;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_offences`
[INFO] [stdout]   --> src/mock.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | / impl_outer_event! {
[INFO] [stdout] 62 | |     pub enum TestEvent for Test {
[INFO] [stdout] 63 | |         frame_system<T>,
[INFO] [stdout] 64 | |         pallet_balances<T>,
[INFO] [stdout] ...  |
[INFO] [stdout] 69 | |     }
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^ not found in `pallet_offences`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_system::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use pallet_session::Event;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | / impl_outer_event! {
[INFO] [stdout] 62 | |     pub enum TestEvent for Test {
[INFO] [stdout] 63 | |         frame_system<T>,
[INFO] [stdout] 64 | |         pallet_balances<T>,
[INFO] [stdout] ...  |
[INFO] [stdout] 69 | |     }
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^ not found in `pallet_staking`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_system::Event;
[INFO] [stdout]    |
[INFO] [stdout] 22 | use pallet_session::Event;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope
[INFO] [stdout]    --> src/mock.rs:195:62
[INFO] [stdout]     |
[INFO] [stdout] 195 |     pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 40 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-grandpa`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5fb51d3e66c6acf2f20673a184ff97832baadc96e4ed2f1a5e0c28530336f7ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fb51d3e66c6acf2f20673a184ff97832baadc96e4ed2f1a5e0c28530336f7ce", kill_on_drop: false }`
[INFO] [stdout] 5fb51d3e66c6acf2f20673a184ff97832baadc96e4ed2f1a5e0c28530336f7ce
