[INFO] fetching crate pallet-grandpa 21.0.0...
[INFO] testing pallet-grandpa-21.0.0 against 1.69.0 for beta-1.70-1
[INFO] extracting crate pallet-grandpa 21.0.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate pallet-grandpa 21.0.0 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-grandpa 21.0.0
[INFO] finished tweaking crates.io crate pallet-grandpa 21.0.0
[INFO] tweaked toml for crates.io crate pallet-grandpa 21.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" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pallet-timestamp v20.0.0
[INFO] [stderr]   Downloaded frame-election-provider-support v21.0.0
[INFO] [stderr]   Downloaded sp-npos-elections v19.0.0
[INFO] [stderr]   Downloaded frame-election-provider-solution-type v7.0.0
[INFO] [stderr]   Downloaded pallet-offences v20.0.0
[INFO] [stderr]   Downloaded sp-consensus-grandpa v6.0.0
[INFO] [stderr]   Downloaded sp-keyring v23.0.0
[INFO] [stderr]   Downloaded sp-session v20.0.0
[INFO] [stderr]   Downloaded sp-timestamp v19.0.0
[INFO] [stderr]   Downloaded pallet-staking-reward-curve v5.0.0
[INFO] [stderr]   Downloaded pallet-session v21.0.0
[INFO] [stderr]   Downloaded finality-grandpa v0.16.2
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e405f0753f9402d63c705c30cfa347f79d2ad8a853b93024580fff428f5a477
[INFO] running `Command { std: "docker" "start" "-a" "8e405f0753f9402d63c705c30cfa347f79d2ad8a853b93024580fff428f5a477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e405f0753f9402d63c705c30cfa347f79d2ad8a853b93024580fff428f5a477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e405f0753f9402d63c705c30cfa347f79d2ad8a853b93024580fff428f5a477", kill_on_drop: false }`
[INFO] [stdout] 8e405f0753f9402d63c705c30cfa347f79d2ad8a853b93024580fff428f5a477
[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=warn" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38f689c958a78c26e1b34895e81e6cd58a81860a39b47d8cec627e9f0caabe12
[INFO] running `Command { std: "docker" "start" "-a" "38f689c958a78c26e1b34895e81e6cd58a81860a39b47d8cec627e9f0caabe12", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling winnow v0.4.4
[INFO] [stderr]    Compiling toml_datetime v0.6.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling const-oid v0.9.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling toml_edit v0.19.8
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cpufeatures v0.2.7
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling keccak v0.1.3
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling target-lexicon v0.12.7
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling gimli v0.26.2
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling sp-std v7.0.0
[INFO] [stderr]    Compiling rustix v0.36.13
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling wasmtime-runtime v6.0.2
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.1.4
[INFO] [stderr]    Compiling zeroize v1.6.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling scale-info-derive v2.6.0
[INFO] [stderr]    Compiling cpp_demangle v0.3.5
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling libm v0.2.6
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling memfd v0.6.3
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling wasmtime-jit-debug v6.0.2
[INFO] [stderr]    Compiling wasmtime-asm-macros v6.0.2
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling constant_time_eq v0.2.5
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling ref-cast v1.0.16
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.24
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling ref-cast-impl v1.0.16
[INFO] [stderr]    Compiling wasmtime-jit-icache-coherence v6.0.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling wasmtime v6.0.2
[INFO] [stderr]    Compiling parity-wasm v0.45.0
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling memory_units v0.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.56
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling chrono v0.4.24
[INFO] [stderr]    Compiling wasmi_core v0.2.1
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling wasmi-validation v0.5.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling sp-debug-derive v7.0.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]    Compiling parity-scale-codec v3.4.0
[INFO] [stderr]    Compiling cranelift-entity v0.93.2
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling wasmparser v0.100.0
[INFO] [stderr]    Compiling object v0.29.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling hash-db v0.16.0
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling scale-info v2.6.0
[INFO] [stderr]    Compiling tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling impl-codec v0.6.0
[INFO] [stderr]    Compiling sp-storage v12.0.0
[INFO] [stderr]    Compiling ss58-registry v1.40.0
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling wasmi v0.13.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling curve25519-dalek v2.1.3
[INFO] [stderr]    Compiling curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling merlin v2.0.1
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling wasmtime-types v6.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling environmental v1.1.4
[INFO] [stderr]    Compiling sp-externalities v0.18.0
[INFO] [stderr]    Compiling schnorrkel v0.9.1
[INFO] [stderr]    Compiling wasmtime-environ v6.0.2
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling primitive-types v0.12.1
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling sp-tracing v9.0.0
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling pbkdf2 v0.8.0
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling blake2b_simd v1.0.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling sha3 v0.10.7
[INFO] [stderr]    Compiling wasmtime-jit v6.0.2
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v10.0.0
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]    Compiling num-format v0.4.4
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling dyn-clone v1.0.11
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling tiny-bip39 v1.0.0
[INFO] [stderr]    Compiling dyn-clonable v0.9.0
[INFO] [stderr]    Compiling sp-core-hashing v8.0.0
[INFO] [stderr]    Compiling substrate-bip39 v0.4.4
[INFO] [stderr]    Compiling secp256k1 v0.24.3
[INFO] [stderr]    Compiling ed25519-zebra v3.1.0
[INFO] [stderr]    Compiling bounded-collections v0.1.6
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling array-bytes v4.2.0
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]    Compiling gimli v0.27.2
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling sp-wasm-interface v13.0.0
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling object v0.30.3
[INFO] [stderr]    Compiling trie-db v0.27.1
[INFO] [stderr]    Compiling schnellru v0.2.1
[INFO] [stderr]    Compiling trie-root v0.18.0
[INFO] [stderr]    Compiling memory-db v0.32.0
[INFO] [stderr]    Compiling nohash-hasher v0.2.0
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling sp-io v22.0.0
[INFO] [stderr]    Compiling sp-runtime-interface v16.0.0
[INFO] [stderr]    Compiling addr2line v0.19.0
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling integer-sqrt v0.1.5
[INFO] [stderr]    Compiling sp-arithmetic v15.0.0
[INFO] [stderr]    Compiling sp-core v20.0.0
[INFO] [stderr]    Compiling expander v1.0.0
[INFO] [stderr]    Compiling sp-panic-handler v7.0.0
[INFO] [stderr]    Compiling fs-err v2.9.0
[INFO] [stderr]    Compiling sp-core-hashing-proc-macro v8.0.0
[INFO] [stderr]    Compiling der v0.7.5
[INFO] [stderr]    Compiling sp-trie v21.0.0
[INFO] [stderr]    Compiling sp-keystore v0.26.0
[INFO] [stderr]    Compiling sp-weights v19.0.0
[INFO] [stderr]    Compiling sp-version-proc-macro v7.0.0
[INFO] [stderr]    Compiling sp-state-machine v0.27.0
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling sec1 v0.7.2
[INFO] [stderr]    Compiling sp-api-proc-macro v7.0.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.2
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling signature v2.1.0
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v5.0.0
[INFO] [stderr]    Compiling cfg-expr v0.10.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling derive-syn-parse v0.1.5
[INFO] [stderr]    Compiling frame-support-procedural-tools v5.0.0
[INFO] [stderr]    Compiling elliptic-curve v0.13.4
[INFO] [stderr]    Compiling proc-macro-warning v0.2.0
[INFO] [stderr]    Compiling frame-metadata v15.1.0
[INFO] [stderr]    Compiling ecdsa v0.16.6
[INFO] [stderr]    Compiling tt-call v1.0.9
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling frame-support-procedural v16.0.0
[INFO] [stderr]    Compiling k256 v0.13.1
[INFO] [stderr]    Compiling finality-grandpa v0.16.2
[INFO] [stderr]    Compiling sp-application-crypto v22.0.0
[INFO] [stderr]    Compiling sp-runtime v23.0.0
[INFO] [stderr]    Compiling sp-version v21.0.0
[INFO] [stderr]    Compiling sp-staking v19.0.0
[INFO] [stderr]    Compiling sp-inherents v19.0.0
[INFO] [stderr]    Compiling sp-api v19.0.0
[INFO] [stderr]    Compiling sp-session v20.0.0
[INFO] [stderr]    Compiling sp-consensus-grandpa v6.0.0
[INFO] [stderr]    Compiling sp-timestamp v19.0.0
[INFO] [stderr]    Compiling frame-support v21.0.0
[INFO] [stderr]    Compiling frame-system v21.0.0
[INFO] [stderr]    Compiling pallet-timestamp v20.0.0
[INFO] [stderr]    Compiling pallet-authorship v21.0.0
[INFO] [stderr]    Compiling pallet-session v21.0.0
[INFO] [stderr]    Compiling pallet-grandpa v21.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 39s
[INFO] running `Command { std: "docker" "inspect" "38f689c958a78c26e1b34895e81e6cd58a81860a39b47d8cec627e9f0caabe12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38f689c958a78c26e1b34895e81e6cd58a81860a39b47d8cec627e9f0caabe12", kill_on_drop: false }`
[INFO] [stdout] 38f689c958a78c26e1b34895e81e6cd58a81860a39b47d8cec627e9f0caabe12
[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=warn" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be70180fb1e9d61de1943733683b99421752d6e661513a053bfc1b35b1ef3127
[INFO] running `Command { std: "docker" "start" "-a" "be70180fb1e9d61de1943733683b99421752d6e661513a053bfc1b35b1ef3127", kill_on_drop: false }`
[INFO] [stderr]    Compiling sp-core v20.0.0
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.4
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling nalgebra-macros v0.2.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling finality-grandpa v0.16.2
[INFO] [stderr]    Compiling frame-election-provider-solution-type v7.0.0
[INFO] [stderr]    Compiling safe_arch v0.6.0
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling pallet-staking-reward-curve v5.0.0
[INFO] [stderr]    Compiling wide v0.7.8
[INFO] [stderr]    Compiling sp-trie v21.0.0
[INFO] [stderr]    Compiling sp-keystore v0.26.0
[INFO] [stderr]    Compiling sp-weights v19.0.0
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling sp-state-machine v0.27.0
[INFO] [stderr]    Compiling simba v0.8.1
[INFO] [stderr]    Compiling sp-io v22.0.0
[INFO] [stderr]    Compiling sp-application-crypto v22.0.0
[INFO] [stderr]    Compiling sp-runtime v23.0.0
[INFO] [stderr]    Compiling nalgebra v0.32.2
[INFO] [stderr]    Compiling sp-version v21.0.0
[INFO] [stderr]    Compiling sp-staking v19.0.0
[INFO] [stderr]    Compiling sp-inherents v19.0.0
[INFO] [stderr]    Compiling sp-npos-elections v19.0.0
[INFO] [stderr]    Compiling sp-keyring v23.0.0
[INFO] [stderr]    Compiling sp-api v19.0.0
[INFO] [stderr]    Compiling sp-session v20.0.0
[INFO] [stderr]    Compiling sp-consensus-grandpa v6.0.0
[INFO] [stderr]    Compiling frame-support v21.0.0
[INFO] [stderr]    Compiling sp-timestamp v19.0.0
[INFO] [stderr]    Compiling linregress v0.5.1
[INFO] [stderr]    Compiling frame-system v21.0.0
[INFO] [stderr]    Compiling pallet-timestamp v20.0.0
[INFO] [stderr]    Compiling pallet-balances v21.0.0
[INFO] [stderr]    Compiling pallet-authorship v21.0.0
[INFO] [stderr]    Compiling frame-election-provider-support v21.0.0
[INFO] [stderr]    Compiling frame-benchmarking v21.0.0
[INFO] [stderr]    Compiling pallet-session v21.0.0
[INFO] [stderr]    Compiling pallet-offences v20.0.0
[INFO] [stderr]    Compiling pallet-grandpa v21.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical`
[INFO] [stdout]   --> src/mock.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use pallet_session::historical as pallet_session_historical;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pallet_session_historical::tt_default_parts`
[INFO] [stdout]   --> src/mock.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 48 | / frame_support::construct_runtime!(
[INFO] [stdout] 49 | |     pub enum Test where
[INFO] [stdout] 50 | |         Block = Block,
[INFO] [stdout] 51 | |         NodeBlock = Block,
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |     }
[INFO] [stdout] 64 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout]    = note: this error originates in the macro `frame_support::tt_call` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:116:23
[INFO] [stdout]     |
[INFO] [stdout] 116 |     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: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:119:40
[INFO] [stdout]     |
[INFO] [stdout] 119 |     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:125:22
[INFO] [stdout]     |
[INFO] [stdout] 125 | impl pallet_session::historical::Config 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 crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:126:28
[INFO] [stdout]     |
[INFO] [stdout] 126 |     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:127:30
[INFO] [stdout]     |
[INFO] [stdout] 127 |     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_staking`
[INFO] [stdout]    --> src/mock.rs:187:6
[INFO] [stdout]     |
[INFO] [stdout] 187 | 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_staking`
[INFO] [stdout]    --> src/mock.rs:202:19
[INFO] [stdout]     |
[INFO] [stdout] 202 |     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:208:19
[INFO] [stdout]     |
[INFO] [stdout] 208 |     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:209:20
[INFO] [stdout]     |
[INFO] [stdout] 209 |     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:213:28
[INFO] [stdout]     |
[INFO] [stdout] 213 |     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: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:219:45
[INFO] [stdout]     |
[INFO] [stdout] 219 |     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 crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:290:40
[INFO] [stdout]     |
[INFO] [stdout] 290 |             (i as u64, i as u64 + 1000, 10_000, pallet_staking::StakerStatus::<u64>::Validator)
[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:294:23
[INFO] [stdout]     |
[INFO] [stdout] 294 |     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 crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:297:14
[INFO] [stdout]     |
[INFO] [stdout] 297 |         force_era: pallet_staking::Forcing::ForceNew,
[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/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 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 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 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 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 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[E0412]: cannot find type `Test` in module `crate::mock`
[INFO] [stdout]   --> src/benchmarking.rs:75:16
[INFO] [stdout]    |
[INFO] [stdout] 75 |         crate::mock::Test,
[INFO] [stdout]    |                      ^^^^ not found in `crate::mock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:45:73
[INFO] [stdout]    |
[INFO] [stdout] 45 | type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
[INFO] [stdout]    |                                                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 45 | type UncheckedExtrinsic<Test> = frame_system::mocking::MockUncheckedExtrinsic<Test>;
[INFO] [stdout]    |                        ++++++
[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:68:40
[INFO] [stdout]    |
[INFO] [stdout] 68 |         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:68:40
[INFO] [stdout]    |
[INFO] [stdout] 68 |         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/github.com-1ecc6299db9ec823/sp-runtime-23.0.0/src/traits.rs:1649:19
[INFO] [stdout]    |
[INFO] [stdout] 164|         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:68:40
[INFO] [stdout]    |
[INFO] [stdout] 68 |         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/github.com-1ecc6299db9ec823/sp-runtime-23.0.0/src/traits.rs:1645:25
[INFO] [stdout]    |
[INFO] [stdout] 164|             $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:68:40
[INFO] [stdout]    |
[INFO] [stdout] 68 |         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/github.com-1ecc6299db9ec823/sp-runtime-23.0.0/src/traits.rs:1646:32
[INFO] [stdout]    |
[INFO] [stdout] 164|             $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:72:31
[INFO] [stdout]    |
[INFO] [stdout] 72 | 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:77:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:80:21
[INFO] [stdout]    |
[INFO] [stdout] 80 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/mock.rs:89:20
[INFO] [stdout]    |
[INFO] [stdout] 89 |     type PalletInfo = PalletInfo;
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 89 |     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:99:61
[INFO] [stdout]    |
[INFO] [stdout] 99 | 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:101:2
[INFO] [stdout]     |
[INFO] [stdout] 101 |     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:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |     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:104:26
[INFO] [stdout]     |
[INFO] [stdout] 104 |     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] 99  | 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:113:33
[INFO] [stdout]     |
[INFO] [stdout] 113 | 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:114:22
[INFO] [stdout]     |
[INFO] [stdout] 114 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:119:77
[INFO] [stdout]     |
[INFO] [stdout] 119 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                                                                ^^^^^^^
[INFO] [stdout]    --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/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] 119 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, String>;
[INFO] [stdout]     |                                                                                ~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 113 | 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:125:45
[INFO] [stdout]     |
[INFO] [stdout] 125 | 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:130:36
[INFO] [stdout]     |
[INFO] [stdout] 130 | 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:135:34
[INFO] [stdout]     |
[INFO] [stdout] 135 | 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:141:22
[INFO] [stdout]     |
[INFO] [stdout] 141 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/mock.rs:143:22
[INFO] [stdout]     |
[INFO] [stdout] 143 |     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:151:35
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl pallet_timestamp::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:178:16
[INFO] [stdout]     |
[INFO] [stdout] 178 |     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:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 |     type DataProvider = Staking;
[INFO] [stdout]     |                         ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/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:187:33
[INFO] [stdout]     |
[INFO] [stdout] 187 | 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:191:22
[INFO] [stdout]     |
[INFO] [stdout] 191 |     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:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |     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:201:43
[INFO] [stdout]     |
[INFO] [stdout] 201 |     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] 187 | 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:205:24
[INFO] [stdout]     |
[INFO] [stdout] 205 |     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:217:34
[INFO] [stdout]     |
[INFO] [stdout] 217 | 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:218:22
[INFO] [stdout]     |
[INFO] [stdout] 218 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:220:26
[INFO] [stdout]     |
[INFO] [stdout] 220 |     type OnOffenceHandler = Staking;
[INFO] [stdout]     |                             ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/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:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 | 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:230:22
[INFO] [stdout]     |
[INFO] [stdout] 230 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope
[INFO] [stdout]    --> src/mock.rs:234:24
[INFO] [stdout]     |
[INFO] [stdout] 234 |     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:236:41
[INFO] [stdout]     |
[INFO] [stdout] 236 |         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] 229 | 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:236:51
[INFO] [stdout]     |
[INFO] [stdout] 236 |         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] 229 | 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:260:69
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let mut t = frame_system::GenesisConfig::default().build_storage::<Test>().unwrap();
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 259 | 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:264:35
[INFO] [stdout]     |
[INFO] [stdout] 264 |     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] 259 | 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:283:34
[INFO] [stdout]     |
[INFO] [stdout] 283 |     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] 259 | 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:294:55
[INFO] [stdout]     |
[INFO] [stdout] 294 |     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] 259 | 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:310:3
[INFO] [stdout]     |
[INFO] [stdout] 310 |         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:310:23
[INFO] [stdout]     |
[INFO] [stdout] 310 |         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:311:24
[INFO] [stdout]     |
[INFO] [stdout] 311 |         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:312:24
[INFO] [stdout]     |
[INFO] [stdout] 312 |         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:313:3
[INFO] [stdout]     |
[INFO] [stdout] 313 |         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:313:24
[INFO] [stdout]     |
[INFO] [stdout] 313 |         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:315:24
[INFO] [stdout]     |
[INFO] [stdout] 315 |         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:316:14
[INFO] [stdout]     |
[INFO] [stdout] 316 |             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:319:4
[INFO] [stdout]     |
[INFO] [stdout] 319 |             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:322:3
[INFO] [stdout]     |
[INFO] [stdout] 322 |         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:323:3
[INFO] [stdout]     |
[INFO] [stdout] 323 |         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:324:3
[INFO] [stdout]     |
[INFO] [stdout] 324 |         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:325:3
[INFO] [stdout]     |
[INFO] [stdout] 325 |         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:325:28
[INFO] [stdout]     |
[INFO] [stdout] 325 |         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:327:3
[INFO] [stdout]     |
[INFO] [stdout] 327 |         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:327:25
[INFO] [stdout]     |
[INFO] [stdout] 327 |         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:328:26
[INFO] [stdout]     |
[INFO] [stdout] 328 |         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:329:26
[INFO] [stdout]     |
[INFO] [stdout] 329 |         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:330:3
[INFO] [stdout]     |
[INFO] [stdout] 330 |         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:330:26
[INFO] [stdout]     |
[INFO] [stdout] 330 |         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:342:2
[INFO] [stdout]     |
[INFO] [stdout] 342 |     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:343:2
[INFO] [stdout]     |
[INFO] [stdout] 343 |     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:9
[INFO] [stdout]     |
[INFO] [stdout] 841 |         .map(<Test as Config>::WeightInfo::report_equivocation)
[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:9
[INFO] [stdout]     |
[INFO] [stdout] 849 |         .map(<Test as Config>::WeightInfo::report_equivocation)
[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: `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]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OnFinalize`, `OnInitialize`
[INFO] [stdout]   --> src/mock.rs:29:69
[INFO] [stdout]    |
[INFO] [stdout] 29 |         ConstU128, ConstU32, ConstU64, GenesisBuild, 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 type `Session`
[INFO] [stdout]    --> src/mock.rs:309:11
[INFO] [stdout]     |
[INFO] [stdout] 309 |     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:311:3
[INFO] [stdout]     |
[INFO] [stdout] 311 |         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:312:3
[INFO] [stdout]     |
[INFO] [stdout] 312 |         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:328:3
[INFO] [stdout]     |
[INFO] [stdout] 328 |         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:329:3
[INFO] [stdout]     |
[INFO] [stdout] 329 |         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:333:13
[INFO] [stdout]     |
[INFO] [stdout] 333 |     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:338:13
[INFO] [stdout]     |
[INFO] [stdout] 338 |     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 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 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 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 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 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 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 282 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, 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` due to 283 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "be70180fb1e9d61de1943733683b99421752d6e661513a053bfc1b35b1ef3127", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be70180fb1e9d61de1943733683b99421752d6e661513a053bfc1b35b1ef3127", kill_on_drop: false }`
[INFO] [stdout] be70180fb1e9d61de1943733683b99421752d6e661513a053bfc1b35b1ef3127
