[INFO] fetching crate pallet-babe 38.0.0...
[INFO] checking pallet-babe-38.0.0 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate pallet-babe 38.0.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate pallet-babe 38.0.0 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-babe 38.0.0
[INFO] finished tweaking crates.io crate pallet-babe 38.0.0
[INFO] tweaked toml for crates.io crate pallet-babe 38.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 335 packages to latest compatible versions
[INFO] [stderr]       Adding unicode-normalization v0.1.22 (available: v0.1.24)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sp-version v37.0.0
[INFO] [stderr]   Downloaded sp-version-proc-macro v14.0.0
[INFO] [stderr]   Downloaded sp-staking v36.0.0
[INFO] [stderr]   Downloaded sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]   Downloaded sp-metadata-ir v0.7.0
[INFO] [stderr]   Downloaded sp-session v36.0.0
[INFO] [stderr]   Downloaded sp-api v34.0.0
[INFO] [stderr]   Downloaded sp-api-proc-macro v20.0.0
[INFO] [stderr]   Downloaded frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]   Downloaded sp-timestamp v34.0.0
[INFO] [stderr]   Downloaded sp-consensus-slots v0.40.1
[INFO] [stderr]   Downloaded frame-support-procedural-tools v13.0.0
[INFO] [stderr]   Downloaded sp-genesis-builder v0.15.1
[INFO] [stderr]   Downloaded pallet-authorship v38.0.0
[INFO] [stderr]   Downloaded linregress v0.5.4
[INFO] [stderr]   Downloaded pallet-timestamp v37.0.0
[INFO] [stderr]   Downloaded sp-inherents v34.0.0
[INFO] [stderr]   Downloaded pallet-session v38.0.0
[INFO] [stderr]   Downloaded frame-system v38.0.0
[INFO] [stderr]   Downloaded frame-benchmarking v38.0.0
[INFO] [stderr]   Downloaded sp-consensus-babe v0.40.0
[INFO] [stderr]   Downloaded frame-support-procedural v30.0.4
[INFO] [stderr]   Downloaded frame-support v38.0.0
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7635135a8a4884878ba0cf8c5b5ce9fb34fd214f104bd8be515dbd7c48ae8fe2
[INFO] running `Command { std: "docker" "start" "-a" "7635135a8a4884878ba0cf8c5b5ce9fb34fd214f104bd8be515dbd7c48ae8fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7635135a8a4884878ba0cf8c5b5ce9fb34fd214f104bd8be515dbd7c48ae8fe2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7635135a8a4884878ba0cf8c5b5ce9fb34fd214f104bd8be515dbd7c48ae8fe2", kill_on_drop: false }`
[INFO] [stdout] 7635135a8a4884878ba0cf8c5b5ce9fb34fd214f104bd8be515dbd7c48ae8fe2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9cd39ed181d06838eefd2da4050aeb7ddd0090cc90cc77f4be6d3fb96065c0b
[INFO] running `Command { std: "docker" "start" "-a" "a9cd39ed181d06838eefd2da4050aeb7ddd0090cc90cc77f4be6d3fb96065c0b", kill_on_drop: false }`
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]     Checking byte-slice-cast v1.2.2
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling expander v2.2.1
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling file-guard v0.2.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling parity-scale-codec v3.7.0
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]    Compiling sp-debug-derive v14.0.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]     Checking sp-std v14.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking hex-conservative v0.1.2
[INFO] [stderr]     Checking allocator-api2 v0.2.20
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking bitcoin_hashes v0.13.0
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking serdect v0.2.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking sp-crypto-hashing v0.1.0
[INFO] [stderr]     Checking ed25519-zebra v4.0.3
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking parity-bip39 v2.0.1
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking substrate-bip39 v0.6.0
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]     Checking array-bytes v6.2.3
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking object v0.36.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking trie-db v0.29.1
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling sp-io v38.0.0
[INFO] [stderr]     Checking schnellru v0.2.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking simple-mermaid v0.1.1
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]     Checking secp256k1 v0.28.2
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]    Compiling ss58-registry v1.51.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]    Compiling frame-support-procedural-tools v13.0.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling proc-macro-warning v1.0.2
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.0
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v18.0.0
[INFO] [stderr]    Compiling docify_macros v0.2.9
[INFO] [stderr]    Compiling sp-api-proc-macro v20.0.0
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]    Compiling sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]    Compiling frame-support-procedural v30.0.4
[INFO] [stderr]     Checking docify v0.2.9
[INFO] [stderr]     Checking sp-panic-handler v13.0.0
[INFO] [stderr]    Compiling sp-version-proc-macro v14.0.0
[INFO] [stderr]     Checking scale-info v2.11.6
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-storage v21.0.0
[INFO] [stderr]     Checking sp-wasm-interface v21.0.1
[INFO] [stderr]     Checking sp-tracing v17.0.1
[INFO] [stderr]     Checking sp-externalities v0.29.0
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking bounded-collections v0.2.2
[INFO] [stderr]     Checking sp-arithmetic v26.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.7.0
[INFO] [stderr]     Checking sp-weights v31.0.0
[INFO] [stderr]     Checking sp-runtime-interface v28.0.0
[INFO] [stderr]     Checking sp-core v34.0.0
[INFO] [stderr]     Checking sp-trie v37.0.0
[INFO] [stderr]     Checking sp-keystore v0.40.0
[INFO] [stderr]     Checking sp-state-machine v0.43.0
[INFO] [stderr]     Checking sp-application-crypto v38.0.0
[INFO] [stderr]     Checking sp-runtime v39.0.2
[INFO] [stderr]     Checking sp-version v37.0.0
[INFO] [stderr]     Checking sp-inherents v34.0.0
[INFO] [stderr]     Checking sp-staking v36.0.0
[INFO] [stderr]     Checking sp-api v34.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.15.1
[INFO] [stderr]     Checking sp-session v36.0.0
[INFO] [stderr]     Checking frame-support v38.0.0
[INFO] [stderr]     Checking sp-timestamp v34.0.0
[INFO] [stderr]     Checking sp-consensus-slots v0.40.1
[INFO] [stderr]     Checking sp-consensus-babe v0.40.0
[INFO] [stderr]     Checking frame-system v38.0.0
[INFO] [stderr]     Checking pallet-timestamp v37.0.0
[INFO] [stderr]     Checking pallet-authorship v38.0.0
[INFO] [stderr]     Checking pallet-session v38.0.0
[INFO] [stderr]     Checking pallet-babe v38.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical`
[INFO] [stdout]    --> src/mock.rs:30:5
[INFO] [stdout]     |
[INFO] [stdout] 30  | use pallet_session::historical as pallet_session_historical;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-38.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `historical` feature
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-38.0.0/src/lib.rs:109:7
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[cfg(feature = "historical")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 149 | #[derive_impl(pallet_staking::config_preludes::TestDefaultConfig)]
[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_reward_curve`
[INFO] [stdout]    --> src/mock.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | pallet_staking_reward_curve::build! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:114:15
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Staking: pallet_staking,
[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:91:40
[INFO] [stdout]     |
[INFO] [stdout] 91  |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                           ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-38.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `historical` feature
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-38.0.0/src/lib.rs:109:7
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[cfg(feature = "historical")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:97:22
[INFO] [stdout]     |
[INFO] [stdout] 97  | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                      ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-38.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `historical` feature
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-38.0.0/src/lib.rs:109:7
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[cfg(feature = "historical")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:167:45
[INFO] [stdout]     |
[INFO] [stdout] 167 |     type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
[INFO] [stdout]     |                                                ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-38.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `historical` feature
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-38.0.0/src/lib.rs:109:7
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[cfg(feature = "historical")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:334:14
[INFO] [stdout]     |
[INFO] [stdout] 334 |         force_era: pallet_staking::Forcing::ForceNew,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:48:47
[INFO] [stdout]    |
[INFO] [stdout] 48 | 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] 48 | 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:66:31
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl frame_system::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:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:308:9
[INFO] [stdout]    |
[INFO] [stdout] 308|             type Self::RuntimeEvent = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/mock.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:310:9
[INFO] [stdout]    |
[INFO] [stdout] 310|             type Self::RuntimeOrigin = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:312:9
[INFO] [stdout]    |
[INFO] [stdout] 312|             type Self::RuntimeCall = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/mock.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:314:9
[INFO] [stdout]    |
[INFO] [stdout] 314|             type Self::PalletInfo = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 20 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope
[INFO] [stdout]   --> src/mock.rs:65:1
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:316:9
[INFO] [stdout]    |
[INFO] [stdout] 316|             type Self::RuntimeTask = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:71:61
[INFO] [stdout]    |
[INFO] [stdout] 71 | 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:73:2
[INFO] [stdout]    |
[INFO] [stdout] 73 |     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:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |     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:76:26
[INFO] [stdout]    |
[INFO] [stdout] 76 |     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] 71 | 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:81:37
[INFO] [stdout]    |
[INFO] [stdout] 81 |         pub babe_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:81:37
[INFO] [stdout]    |
[INFO] [stdout] 81 |         pub babe_authority: super::Pallet<Test>,
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-39.0.2/src/traits.rs:2025:19
[INFO] [stdout]    |
[INFO] [stdout] 202|         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:85:33
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 86 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]   --> src/mock.rs:89:26
[INFO] [stdout]    |
[INFO] [stdout] 89 |     type ShouldEndSession = Babe;
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]   --> src/mock.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |     type NextSessionRotation = Babe;
[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:91:77
[INFO] [stdout]    |
[INFO] [stdout] 91 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]    |                                                                                ^^^^^^^
[INFO] [stdout]   --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362: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] 91 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, String>;
[INFO] [stdout]    |                                                                                ~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 85 | 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:97:45
[INFO] [stdout]    |
[INFO] [stdout] 97 | 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:102:36
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl pallet_authorship::Config for Test {
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]    --> src/mock.rs:103:69
[INFO] [stdout]     |
[INFO] [stdout] 103 |     type FindAuthor = pallet_session::FindAccountFromAuthorIndex<Self, Babe>;
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl<Babe> pallet_authorship::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:107:35
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]    --> src/mock.rs:109:24
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type OnTimestampSet = Babe;
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope
[INFO] [stdout]    --> src/mock.rs:135:62
[INFO] [stdout]     |
[INFO] [stdout] 135 |     pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE;
[INFO] [stdout]     |                                                                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:141:16
[INFO] [stdout]     |
[INFO] [stdout] 141 |     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:143:22
[INFO] [stdout]     |
[INFO] [stdout] 143 |     type DataProvider = Staking;
[INFO] [stdout]     |                         ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362: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:165:34
[INFO] [stdout]     |
[INFO] [stdout] 165 | 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:166:22
[INFO] [stdout]     |
[INFO] [stdout] 166 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:168:26
[INFO] [stdout]     |
[INFO] [stdout] 168 |     type OnOffenceHandler = Staking;
[INFO] [stdout]     |                             ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362: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:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 | impl Config for Test {
[INFO] [stdout]     |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Session` in this scope
[INFO] [stdout]    --> src/mock.rs:181:28
[INFO] [stdout]     |
[INFO] [stdout] 181 |     type DisabledValidators = Session;
[INFO] [stdout]     |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope
[INFO] [stdout]    --> src/mock.rs:185:24
[INFO] [stdout]     |
[INFO] [stdout] 185 |     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:187:41
[INFO] [stdout]     |
[INFO] [stdout] 187 |         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] 177 | 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:187:51
[INFO] [stdout]     |
[INFO] [stdout] 187 |         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] 177 | impl<Historical> Config for Test {
[INFO] [stdout]     |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:193:20
[INFO] [stdout]     |
[INFO] [stdout] 193 |     Babe::on_finalize(System::block_number());
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:194:23
[INFO] [stdout]     |
[INFO] [stdout] 194 |     Session::on_finalize(System::block_number());
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:195:23
[INFO] [stdout]     |
[INFO] [stdout] 195 |     Staking::on_finalize(System::block_number());
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:197:23
[INFO] [stdout]     |
[INFO] [stdout] 197 |     let parent_hash = if System::block_number() > 1 {
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let hdr = System::finalize();
[INFO] [stdout]     |                   ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:201:3
[INFO] [stdout]     |
[INFO] [stdout] 201 |         System::parent_hash()
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:206:2
[INFO] [stdout]     |
[INFO] [stdout] 206 |     System::reset_events();
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:207:2
[INFO] [stdout]     |
[INFO] [stdout] 207 |     System::initialize(&n, &parent_hash, &pre_digest);
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:216:41
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let mut slot = u64::from(CurrentSlot::<Test>::get()) + 1;
[INFO] [stdout]     |                                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 215 | pub fn progress_to_block<Test>(n: u64) {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:217:11
[INFO] [stdout]     |
[INFO] [stdout] 217 |     for i in System::block_number() + 1..=n {
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:226:20
[INFO] [stdout]     |
[INFO] [stdout] 226 |     progress_to_block(System::block_number() + missing as u64 + 1);
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:276:69
[INFO] [stdout]     |
[INFO] [stdout] 276 |         sp_consensus_babe::make_vrf_transcript(&pallet_babe::Randomness::<Test>::get(), slot, 0);
[INFO] [stdout]     |                                                                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 271 | pub fn make_vrf_signature_and_randomness<Test>(
[INFO] [stdout]     |                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:303:44
[INFO] [stdout]     |
[INFO] [stdout] 303 |     let mut t = frame_system::GenesisConfig::<Test>::default().build_storage().unwrap();
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 302 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<AuthorityId>) -> 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:307:35
[INFO] [stdout]     |
[INFO] [stdout] 307 |     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] 302 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<AuthorityId>) -> 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:322:34
[INFO] [stdout]     |
[INFO] [stdout] 322 |     pallet_session::GenesisConfig::<Test> { keys: session_keys, ..Default::default() }
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 302 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<AuthorityId>) -> sp_io::TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:328:41
[INFO] [stdout]     |
[INFO] [stdout] 328 |         .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::<u64>::Validator))
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_staking::StakerStatus;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `StakerStatus`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 328 -         .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::<u64>::Validator))
[INFO] [stdout] 328 +         .map(|i| (i as u64, i as u64, 10_000, StakerStatus::<u64>::Validator))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:331:55
[INFO] [stdout]     |
[INFO] [stdout] 331 |     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] 302 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<AuthorityId>) -> 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:353:22
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let current_block = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:354:35
[INFO] [stdout]     |
[INFO] [stdout] 354 |     let current_slot = CurrentSlot::<Test>::get();
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 346 | pub fn generate_equivocation_proof<Test>(
[INFO] [stdout]     |                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:357:21
[INFO] [stdout]     |
[INFO] [stdout] 357 |         let parent_hash = System::parent_hash();
[INFO] [stdout]     |                           ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:359:3
[INFO] [stdout]     |
[INFO] [stdout] 359 |         System::reset_events();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:360:3
[INFO] [stdout]     |
[INFO] [stdout] 360 |         System::initialize(&current_block, &parent_hash, &pre_digest);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:361:3
[INFO] [stdout]     |
[INFO] [stdout] 361 |         System::set_block_number(current_block);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:362:3
[INFO] [stdout]     |
[INFO] [stdout] 362 |         Timestamp::set_timestamp(*current_slot * Babe::slot_duration());
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Timestamp`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_core::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:363:3
[INFO] [stdout]     |
[INFO] [stdout] 363 |         System::finalize()
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:46:59
[INFO] [stdout]    |
[INFO] [stdout] 46 |     new_test_ext(4).execute_with(|| assert_eq!(Authorities::<Test>::get().len(), 4))
[INFO] [stdout]    |                                                              ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn initial_values<Test>() {
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:71:28
[INFO] [stdout]    |
[INFO] [stdout] 71 |         assert_eq!(GenesisSlot::<Test>::get(), Slot::from(0));
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:72:3
[INFO] [stdout]    |
[INFO] [stdout] 72 |         System::reset_events();
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + 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:73:3
[INFO] [stdout]    |
[INFO] [stdout] 73 |         System::initialize(&1, &Default::default(), &pre_digest);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + 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:78:28
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_eq!(GenesisSlot::<Test>::get(), genesis_slot);
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:79:28
[INFO] [stdout]    |
[INFO] [stdout] 79 |         assert_eq!(CurrentSlot::<Test>::get(), genesis_slot);
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 |         assert_eq!(EpochIndex::<Test>::get(), 0);
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:83:16
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let header = System::finalize();
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 20 + 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:85:36
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), Some(vrf_randomness));
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |         assert_eq!(SegmentIndex::<Test>::get(), 0);
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:87:34
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert_eq!(UnderConstruction::<Test>::get(0), vec![vrf_randomness]);
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:88:27
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert_eq!(Randomness::<Test>::get(), [0; 32]);
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:89:36
[INFO] [stdout]    |
[INFO] [stdout] 89 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), Some(vrf_randomness));
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:90:31
[INFO] [stdout]    |
[INFO] [stdout] 90 |         assert_eq!(NextRandomness::<Test>::get(), [0; 32]);
[INFO] [stdout]    |                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 authorities: Authorities::<Test>::get().into_inner(),
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:99:30
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 randomness: Randomness::<Test>::get(),
[INFO] [stdout]    |                                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn first_block_epoch_zero_start<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 |         System::reset_events();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:120:3
[INFO] [stdout]     |
[INFO] [stdout] 120 |         System::initialize(&1, &Default::default(), &pre_digest);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 |         assert_eq!(CurrentSlot::<Test>::get(), Slot::from(0));
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn current_slot_is_processed_on_initialization<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:122:25
[INFO] [stdout]     |
[INFO] [stdout] 122 |         assert!(Initialized::<Test>::get().is_none());
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn current_slot_is_processed_on_initialization<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:126:28
[INFO] [stdout]     |
[INFO] [stdout] 126 |         assert_eq!(CurrentSlot::<Test>::get(), genesis_slot);
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn current_slot_is_processed_on_initialization<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:127:25
[INFO] [stdout]     |
[INFO] [stdout] 127 |         assert!(Initialized::<Test>::get().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] 110 | fn current_slot_is_processed_on_initialization<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:129:36
[INFO] [stdout]     |
[INFO] [stdout] 129 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), None);
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn current_slot_is_processed_on_initialization<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:133:36
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), Some(vrf_randomness));
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn current_slot_is_processed_on_initialization<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:149:3
[INFO] [stdout]     |
[INFO] [stdout] 149 |         System::reset_events();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:150:3
[INFO] [stdout]     |
[INFO] [stdout] 150 |         System::initialize(&1, &Default::default(), &pre_digest);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:154:36
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), None);
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn test_author_vrf_output<F, Test>(make_pre_digest: F)
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:159:36
[INFO] [stdout]     |
[INFO] [stdout] 159 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), Some(vrf_randomness));
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn test_author_vrf_output<F, Test>(make_pre_digest: F)
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:162:3
[INFO] [stdout]     |
[INFO] [stdout] 162 |         System::finalize();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:163:36
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), Some(vrf_randomness));
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn test_author_vrf_output<F, Test>(make_pre_digest: F)
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:183:3
[INFO] [stdout]     |
[INFO] [stdout] 183 |         System::reset_events();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:184:3
[INFO] [stdout]     |
[INFO] [stdout] 184 |         System::initialize(&1, &Default::default(), &secondary_plain_pre_digest);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:185:36
[INFO] [stdout]     |
[INFO] [stdout] 185 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), None);
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn no_author_vrf_output_for_secondary_plain<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:188:36
[INFO] [stdout]     |
[INFO] [stdout] 188 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), None);
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn no_author_vrf_output_for_secondary_plain<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:191:3
[INFO] [stdout]     |
[INFO] [stdout] 191 |         System::finalize();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:192:36
[INFO] [stdout]     |
[INFO] [stdout] 192 |         assert_eq!(AuthorVrfRandomness::<Test>::get(), None);
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn no_author_vrf_output_for_secondary_plain<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:210:15
[INFO] [stdout]     |
[INFO] [stdout] 210 |         assert_eq!(<Test as Config>::EpochDuration::get(), 3);
[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:213:29
[INFO] [stdout]     |
[INFO] [stdout] 213 |         assert_eq!(*GenesisSlot::<Test>::get(), 6);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn can_predict_next_epoch_change<Test>() {
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:214:29
[INFO] [stdout]     |
[INFO] [stdout] 214 |         assert_eq!(*CurrentSlot::<Test>::get(), 6);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn can_predict_next_epoch_change<Test>() {
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:215:27
[INFO] [stdout]     |
[INFO] [stdout] 215 |         assert_eq!(EpochIndex::<Test>::get(), 0);
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn can_predict_next_epoch_change<Test>() {
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 |         assert_eq!(EpochIndex::<Test>::get(), 5 / 3);
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn can_predict_next_epoch_change<Test>() {
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:220:29
[INFO] [stdout]     |
[INFO] [stdout] 220 |         assert_eq!(*CurrentSlot::<Test>::get(), 10);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn can_predict_next_epoch_change<Test>() {
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:224:47
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert_eq!(Babe::next_expected_epoch_change(System::block_number()), Some(5 + 2));
[INFO] [stdout]     |                                                     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:231:15
[INFO] [stdout]     |
[INFO] [stdout] 231 |         assert_eq!(<Test as Config>::EpochDuration::get(), 3);
[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:266:15
[INFO] [stdout]     |
[INFO] [stdout] 266 |         assert_eq!(<Test as Config>::EpochDuration::get(), 3);
[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:269:29
[INFO] [stdout]     |
[INFO] [stdout] 269 |         assert_eq!(*GenesisSlot::<Test>::get(), 6);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn can_enact_next_config<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:270:29
[INFO] [stdout]     |
[INFO] [stdout] 270 |         assert_eq!(*CurrentSlot::<Test>::get(), 6);
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn can_enact_next_config<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:271:27
[INFO] [stdout]     |
[INFO] [stdout] 271 |         assert_eq!(EpochIndex::<Test>::get(), 0);
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn can_enact_next_config<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |         EpochConfig::<Test>::put(current_config);
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn can_enact_next_config<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |         NextEpochConfig::<Test>::put(next_config.clone());
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn can_enact_next_config<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:292:32
[INFO] [stdout]     |
[INFO] [stdout] 292 |         assert_eq!(NextEpochConfig::<Test>::get(), Some(next_config.clone()));
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn can_enact_next_config<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:305:16
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let header = System::finalize();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:307:28
[INFO] [stdout]     |
[INFO] [stdout] 307 |         assert_eq!(EpochConfig::<Test>::get(), Some(next_config));
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn can_enact_next_config<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:308:32
[INFO] [stdout]     |
[INFO] [stdout] 308 |         assert_eq!(NextEpochConfig::<Test>::get(), Some(next_next_config.clone()));
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn can_enact_next_config<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:346:17
[INFO] [stdout]     |
[INFO] [stdout] 346 |         EpochConfig::<Test>::put(BabeEpochConfiguration {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 344 | fn can_fetch_current_and_next_epoch_data<Test>() {
[INFO] [stdout]     |                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:387:50
[INFO] [stdout]     |
[INFO] [stdout] 387 |         let (last_epoch, current_epoch) = EpochStart::<Test>::get();
[INFO] [stdout]     |                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 378 | fn tracks_block_numbers_when_current_and_previous_epoch_started<Test>() {
[INFO] [stdout]     |                                                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:395:50
[INFO] [stdout]     |
[INFO] [stdout] 395 |         let (last_epoch, current_epoch) = EpochStart::<Test>::get();
[INFO] [stdout]     |                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 378 | fn tracks_block_numbers_when_current_and_previous_epoch_started<Test>() {
[INFO] [stdout]     |                                                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:434:35
[INFO] [stdout]     |
[INFO] [stdout] 434 |         let authorities = Authorities::<Test>::get();
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 428 | fn report_equivocation_current_session_works<Test>() {
[INFO] [stdout]     |                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:461:18
[INFO] [stdout]     |
[INFO] [stdout] 461 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 428 | fn report_equivocation_current_session_works<Test>() {
[INFO] [stdout]     |                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:511:35
[INFO] [stdout]     |
[INFO] [stdout] 511 |         let authorities = Authorities::<Test>::get();
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 505 | fn report_equivocation_old_session_works<Test>() {
[INFO] [stdout]     |                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:525:18
[INFO] [stdout]     |
[INFO] [stdout] 525 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 505 | fn report_equivocation_old_session_works<Test>() {
[INFO] [stdout]     |                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:569:35
[INFO] [stdout]     |
[INFO] [stdout] 569 |         let authorities = Authorities::<Test>::get();
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn report_equivocation_invalid_key_owner_proof<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:582:18
[INFO] [stdout]     |
[INFO] [stdout] 582 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 563 | fn report_equivocation_invalid_key_owner_proof<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:598:12
[INFO] [stdout]     |
[INFO] [stdout] 598 |             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] 563 | fn report_equivocation_invalid_key_owner_proof<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:618:12
[INFO] [stdout]     |
[INFO] [stdout] 618 |             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] 563 | fn report_equivocation_invalid_key_owner_proof<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:632:35
[INFO] [stdout]     |
[INFO] [stdout] 632 |         let authorities = Authorities::<Test>::get();
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 624 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:652:13
[INFO] [stdout]     |
[INFO] [stdout] 652 |                 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] 624 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:660:18
[INFO] [stdout]     |
[INFO] [stdout] 660 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 624 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:669:18
[INFO] [stdout]     |
[INFO] [stdout] 669 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 624 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:678:18
[INFO] [stdout]     |
[INFO] [stdout] 678 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 624 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:687:18
[INFO] [stdout]     |
[INFO] [stdout] 687 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 624 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:697:18
[INFO] [stdout]     |
[INFO] [stdout] 697 |             CurrentSlot::<Test>::get() + 1,
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 624 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:710:18
[INFO] [stdout]     |
[INFO] [stdout] 710 |             CurrentSlot::<Test>::get() + 1,
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 624 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:737:35
[INFO] [stdout]     |
[INFO] [stdout] 737 |         let authorities = Authorities::<Test>::get();
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 726 | fn report_equivocation_validate_unsigned_prevents_duplicates<Test>() {
[INFO] [stdout]     |                                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:749:18
[INFO] [stdout]     |
[INFO] [stdout] 749 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 726 | fn report_equivocation_validate_unsigned_prevents_duplicates<Test>() {
[INFO] [stdout]     |                                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]    --> src/tests.rs:762:5
[INFO] [stdout]     |
[INFO] [stdout] 762 |             <Babe as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[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:770:66
[INFO] [stdout]     |
[INFO] [stdout] 770 |         let tx_tag = (offending_authority_pair.public(), CurrentSlot::<Test>::get());
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 726 | fn report_equivocation_validate_unsigned_prevents_duplicates<Test>() {
[INFO] [stdout]     |                                                             ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]    --> src/tests.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |             <Babe as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]    --> src/tests.rs:786:15
[INFO] [stdout]     |
[INFO] [stdout] 786 |         assert_ok!(<Babe as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&inner));
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]    --> src/tests.rs:799:5
[INFO] [stdout]     |
[INFO] [stdout] 799 |             <Babe as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope
[INFO] [stdout]    --> src/tests.rs:807:5
[INFO] [stdout]     |
[INFO] [stdout] 807 |             <Babe as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&inner),
[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:818:22
[INFO] [stdout]     |
[INFO] [stdout] 818 |         .map(|validators| <Test as Config>::WeightInfo::report_equivocation(validators, 1000))
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:826:22
[INFO] [stdout]     |
[INFO] [stdout] 826 |         .map(|validators| <Test as Config>::WeightInfo::report_equivocation(validators, 1000))
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:837:30
[INFO] [stdout]     |
[INFO] [stdout] 837 |         let epoch_duration: u64 = <Test as Config>::EpochDuration::get();
[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:842:27
[INFO] [stdout]     |
[INFO] [stdout] 842 |         assert_eq!(EpochIndex::<Test>::get(), 0);
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 833 | fn report_equivocation_after_skipped_epochs_works<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:845:15
[INFO] [stdout]     |
[INFO] [stdout] 845 |         go_to_block(System::block_number() + 1, genesis_slot + epoch_duration * 10);
[INFO] [stdout]     |                     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + 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:847:27
[INFO] [stdout]     |
[INFO] [stdout] 847 |         assert_eq!(EpochIndex::<Test>::get(), 10);
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 833 | fn report_equivocation_after_skipped_epochs_works<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:848:30
[INFO] [stdout]     |
[INFO] [stdout] 848 |         assert_eq!(SkippedEpochs::<Test>::get(), vec![(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] 833 | fn report_equivocation_after_skipped_epochs_works<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:851:35
[INFO] [stdout]     |
[INFO] [stdout] 851 |         let authorities = Authorities::<Test>::get();
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 833 | fn report_equivocation_after_skipped_epochs_works<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:861:18
[INFO] [stdout]     |
[INFO] [stdout] 861 |             CurrentSlot::<Test>::get(),
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 833 | fn report_equivocation_after_skipped_epochs_works<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:893:76
[INFO] [stdout]     |
[INFO] [stdout] 893 |             generate_equivocation_proof(0, &offending_authority_pair, CurrentSlot::<Test>::get());
[INFO] [stdout]     |                                                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 883 | fn valid_equivocation_reports_dont_pay_fees<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:901:21
[INFO] [stdout]     |
[INFO] [stdout] 901 |         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] 883 | fn valid_equivocation_reports_dont_pay_fees<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:946:47
[INFO] [stdout]     |
[INFO] [stdout] 946 |     impl crate::migrations::BabePalletPrefix 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/tests.rs:970:48
[INFO] [stdout]     |
[INFO] [stdout] 970 |         crate::migrations::add_epoch_configuration::<Test>(current_epoch.clone());
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 943 | fn add_epoch_configurations_migration_works<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:979:28
[INFO] [stdout]     |
[INFO] [stdout] 979 |         assert_eq!(EpochConfig::<Test>::get(), Some(current_epoch));
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 943 | fn add_epoch_configurations_migration_works<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:980:41
[INFO] [stdout]     |
[INFO] [stdout] 980 |         assert_eq!(PendingEpochConfigChange::<Test>::get(), Some(next_config_descriptor));
[INFO] [stdout]     |                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 943 | fn add_epoch_configurations_migration_works<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:997:18
[INFO] [stdout]     |
[INFO] [stdout] 997 |             CurrentSlot::<Test>::get() + 1,
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 985 | fn generate_equivocation_report_blob<Test>() {
[INFO] [stdout]     |                                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]     --> src/tests.rs:1010:30
[INFO] [stdout]      |
[INFO] [stdout] 1010 |         let epoch_duration: u64 = <Test as Config>::EpochDuration::get();
[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:1020:27
[INFO] [stdout]      |
[INFO] [stdout] 1020 |         assert_eq!(EpochIndex::<Test>::get(), 1);
[INFO] [stdout]      |                                 ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout] 1006 | fn skipping_over_epochs_works<Test>() {
[INFO] [stdout]      |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]     --> src/tests.rs:1023:49
[INFO] [stdout]      |
[INFO] [stdout] 1023 |         let randomness_for_epoch_2 = NextRandomness::<Test>::get();
[INFO] [stdout]      |                                                       ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout] 1006 | fn skipping_over_epochs_works<Test>() {
[INFO] [stdout]      |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]     --> src/tests.rs:1029:15
[INFO] [stdout]      |
[INFO] [stdout] 1029 |         go_to_block(System::block_number() + 1, genesis_slot + epoch_duration * 4);
[INFO] [stdout]      |                     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 20   + 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:1031:27
[INFO] [stdout]      |
[INFO] [stdout] 1031 |         assert_eq!(EpochIndex::<Test>::get(), 4);
[INFO] [stdout]      |                                 ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout] 1006 | fn skipping_over_epochs_works<Test>() {
[INFO] [stdout]      |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]     --> src/tests.rs:1032:27
[INFO] [stdout]      |
[INFO] [stdout] 1032 |         assert_eq!(Randomness::<Test>::get(), randomness_for_epoch_2);
[INFO] [stdout]      |                                 ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout] 1006 | fn skipping_over_epochs_works<Test>() {
[INFO] [stdout]      |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]     --> src/tests.rs:1036:30
[INFO] [stdout]      |
[INFO] [stdout] 1036 |         assert_eq!(SkippedEpochs::<Test>::get(), vec![(4, 2)]);
[INFO] [stdout]      |                                    ^^^^ not found in this scope
[INFO] [stdout]      |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]      |
[INFO] [stdout] 1006 | fn skipping_over_epochs_works<Test>() {
[INFO] [stdout]      |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConstU128` and `OnInitialize`
[INFO] [stdout]   --> src/mock.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     traits::{ConstU128, ConstU32, ConstU64, KeyOwnerProofSystem, OnInitialize},
[INFO] [stdout]    |              ^^^^^^^^^                                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `frame_support::traits::OnFinalize`
[INFO] [stdout]    --> src/mock.rs:191:6
[INFO] [stdout]     |
[INFO] [stdout] 191 |     use frame_support::traits::OnFinalize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Currency`, `EstimateNextSessionRotation`, `KeyOwnerProofSystem`, and `OnFinalize`
[INFO] [stdout]   --> src/tests.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |     traits::{Currency, EstimateNextSessionRotation, KeyOwnerProofSystem, OnFinalize},
[INFO] [stdout]    |              ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pallet_session::ShouldEndSession`
[INFO] [stdout]   --> src/tests.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use pallet_session::ShouldEndSession;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |     type AccountData = pallet_balances::AccountData<u128>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:88:23
[INFO] [stdout]    |
[INFO] [stdout] 88 |     type ValidatorIdOf = pallet_staking::StashOf<Self>;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]   --> src/mock.rs:98:28
[INFO] [stdout]    |
[INFO] [stdout] 98 |     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:99:30
[INFO] [stdout]    |
[INFO] [stdout] 99 |     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_offences`
[INFO] [stdout]    --> src/mock.rs:165:6
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl pallet_offences::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/mock.rs:193:2
[INFO] [stdout]     |
[INFO] [stdout] 193 |     Babe::on_finalize(System::block_number());
[INFO] [stdout]     |     ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:194:2
[INFO] [stdout]     |
[INFO] [stdout] 194 |     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:195:2
[INFO] [stdout]     |
[INFO] [stdout] 195 |     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 `Babe`
[INFO] [stdout]    --> src/mock.rs:209:2
[INFO] [stdout]     |
[INFO] [stdout] 209 |     Babe::on_initialize(n);
[INFO] [stdout]     |     ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:210:2
[INFO] [stdout]     |
[INFO] [stdout] 210 |     Session::on_initialize(n);
[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:211:2
[INFO] [stdout]     |
[INFO] [stdout] 211 |     Staking::on_initialize(n);
[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:225:33
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let missing = (session_index - Session::current_index()) * 3;
[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:227:13
[INFO] [stdout]     |
[INFO] [stdout] 227 |     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:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |     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 crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:307:2
[INFO] [stdout]     |
[INFO] [stdout] 307 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:331:23
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/mock.rs:362:44
[INFO] [stdout]     |
[INFO] [stdout] 362 |         Timestamp::set_timestamp(*current_slot * Babe::slot_duration());
[INFO] [stdout]     |                                                  ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]   --> src/tests.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert!(!Babe::should_end_session(0), "Genesis does not change sessions");
[INFO] [stdout]    |                  ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]   --> src/tests.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |             !Babe::should_end_session(200000),
[INFO] [stdout]    |              ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]   --> src/tests.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert!(!Babe::should_end_session(1));
[INFO] [stdout]    |                  ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]   --> src/tests.rs:82:3
[INFO] [stdout]    |
[INFO] [stdout] 82 |         Babe::on_finalize(1);
[INFO] [stdout]    |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:125:3
[INFO] [stdout]     |
[INFO] [stdout] 125 |         Babe::initialize(1);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:132:3
[INFO] [stdout]     |
[INFO] [stdout] 132 |         Babe::on_finalize(1);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:153:3
[INFO] [stdout]     |
[INFO] [stdout] 153 |         Babe::initialize(1);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:158:3
[INFO] [stdout]     |
[INFO] [stdout] 158 |         Babe::on_finalize(1);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:187:3
[INFO] [stdout]     |
[INFO] [stdout] 187 |         Babe::initialize(1);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:190:3
[INFO] [stdout]     |
[INFO] [stdout] 190 |         Babe::on_finalize(1);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 |             Babe::find_author((&[(BABE_ENGINE_ID, &[][..])]).into_iter().cloned()),
[INFO] [stdout]     |             ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:223:15
[INFO] [stdout]     |
[INFO] [stdout] 223 |         assert_eq!(*Babe::current_epoch_start(), 9); // next change will be 12, 2 slots from now
[INFO] [stdout]     |                     ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:224:14
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert_eq!(Babe::next_expected_epoch_change(System::block_number()), Some(5 + 2));
[INFO] [stdout]     |                    ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:238:15
[INFO] [stdout]     |
[INFO] [stdout] 238 |             assert_eq!(Babe::estimate_next_session_rotation(i).0.unwrap(), 4);
[INFO] [stdout]     |                        ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:241:7
[INFO] [stdout]     |
[INFO] [stdout] 241 |             if Babe::estimate_next_session_rotation(i).0.unwrap() - 1 == i {
[INFO] [stdout]     |                ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:243:6
[INFO] [stdout]     |
[INFO] [stdout] 243 |                     Babe::estimate_current_session_progress(i).0.unwrap(),
[INFO] [stdout]     |                     ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:248:6
[INFO] [stdout]     |
[INFO] [stdout] 248 |                     Babe::estimate_current_session_progress(i).0.unwrap() <
[INFO] [stdout]     |                     ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:257:4
[INFO] [stdout]     |
[INFO] [stdout] 257 |             Babe::estimate_current_session_progress(4).0.unwrap(),
[INFO] [stdout]     |             ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:294:3
[INFO] [stdout]     |
[INFO] [stdout] 294 |         Babe::plan_config_change(
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:295:4
[INFO] [stdout]     |
[INFO] [stdout] 295 |             RuntimeOrigin::root(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:304:3
[INFO] [stdout]     |
[INFO] [stdout] 304 |         Babe::on_finalize(9);
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:329:13
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let res = Babe::plan_config_change(RuntimeOrigin::none(), next_config.clone());
[INFO] [stdout]     |                   ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:329:38
[INFO] [stdout]     |
[INFO] [stdout] 329 |         let res = Babe::plan_config_change(RuntimeOrigin::none(), next_config.clone());
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:333:13
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let res = Babe::plan_config_change(RuntimeOrigin::signed(1), next_config.clone());
[INFO] [stdout]     |                   ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:333:38
[INFO] [stdout]     |
[INFO] [stdout] 333 |         let res = Babe::plan_config_change(RuntimeOrigin::signed(1), next_config.clone());
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:337:13
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let res = Babe::plan_config_change(RuntimeOrigin::root(), next_config);
[INFO] [stdout]     |                   ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:337:38
[INFO] [stdout]     |
[INFO] [stdout] 337 |         let res = Babe::plan_config_change(RuntimeOrigin::root(), next_config);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:352:14
[INFO] [stdout]     |
[INFO] [stdout] 352 |         assert_eq!(Babe::current_epoch().authorities, Babe::next_epoch().authorities);
[INFO] [stdout]     |                    ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:352:49
[INFO] [stdout]     |
[INFO] [stdout] 352 |         assert_eq!(Babe::current_epoch().authorities, Babe::next_epoch().authorities);
[INFO] [stdout]     |                                                       ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:359:23
[INFO] [stdout]     |
[INFO] [stdout] 359 |         let current_epoch = Babe::current_epoch();
[INFO] [stdout]     |                             ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:364:20
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let next_epoch = Babe::next_epoch();
[INFO] [stdout]     |                          ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:411:3
[INFO] [stdout]     |
[INFO] [stdout] 411 |         Session::disable_index(1);
[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/tests.rs:417:14
[INFO] [stdout]     |
[INFO] [stdout] 417 |         assert_eq!(Staking::current_era().unwrap(), 2);
[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:420:3
[INFO] [stdout]     |
[INFO] [stdout] 420 |         Session::disable_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:435:20
[INFO] [stdout]     |
[INFO] [stdout] 435 |         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:439:15
[INFO] [stdout]     |
[INFO] [stdout] 439 |             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:440:15
[INFO] [stdout]     |
[INFO] [stdout] 440 |             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:443:5
[INFO] [stdout]     |
[INFO] [stdout] 443 |                 Staking::eras_stakers(1, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:444:5
[INFO] [stdout]     |
[INFO] [stdout] 444 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:450:32
[INFO] [stdout]     |
[INFO] [stdout] 450 |         let offending_validator_id = Session::validators()[offending_validator_index];
[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:466:25
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let key_owner_proof = Historical::prove(key).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:469:3
[INFO] [stdout]     |
[INFO] [stdout] 469 |         Babe::report_equivocation_unsigned(
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:470:4
[INFO] [stdout]     |
[INFO] [stdout] 470 |             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:481:14
[INFO] [stdout]     |
[INFO] [stdout] 481 |         assert_eq!(Balances::total_balance(&offending_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:482:14
[INFO] [stdout]     |
[INFO] [stdout] 482 |         assert_eq!(Staking::slashable_balance_of(&offending_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:484:4
[INFO] [stdout]     |
[INFO] [stdout] 484 |             Staking::eras_stakers(2, &offending_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:485:4
[INFO] [stdout]     |
[INFO] [stdout] 485 |             pallet_staking::Exposure { total: 0, own: 0, others: vec![] },
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:494:15
[INFO] [stdout]     |
[INFO] [stdout] 494 |             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:495:15
[INFO] [stdout]     |
[INFO] [stdout] 495 |             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:497:5
[INFO] [stdout]     |
[INFO] [stdout] 497 |                 Staking::eras_stakers(2, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:498:5
[INFO] [stdout]     |
[INFO] [stdout] 498 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:515:32
[INFO] [stdout]     |
[INFO] [stdout] 515 |         let offending_validator_id = Session::validators()[offending_validator_index];
[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:530:25
[INFO] [stdout]     |
[INFO] [stdout] 530 |         let key_owner_proof = Historical::prove(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:537:14
[INFO] [stdout]     |
[INFO] [stdout] 537 |         assert_eq!(Balances::total_balance(&offending_validator_id), 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:538:14
[INFO] [stdout]     |
[INFO] [stdout] 538 |         assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 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 `Babe`
[INFO] [stdout]    --> src/tests.rs:541:3
[INFO] [stdout]     |
[INFO] [stdout] 541 |         Babe::report_equivocation_unsigned(
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:542:4
[INFO] [stdout]     |
[INFO] [stdout] 542 |             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:553:14
[INFO] [stdout]     |
[INFO] [stdout] 553 |         assert_eq!(Balances::total_balance(&offending_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:554:14
[INFO] [stdout]     |
[INFO] [stdout] 554 |         assert_eq!(Staking::slashable_balance_of(&offending_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:556:4
[INFO] [stdout]     |
[INFO] [stdout] 556 |             Staking::eras_stakers(3, &offending_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:557:4
[INFO] [stdout]     |
[INFO] [stdout] 557 |             pallet_staking::Exposure { total: 0, own: 0, others: vec![] },
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:587:29
[INFO] [stdout]     |
[INFO] [stdout] 587 |         let mut key_owner_proof = Historical::prove(key).unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:593:4
[INFO] [stdout]     |
[INFO] [stdout] 593 |             Babe::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:594:5
[INFO] [stdout]     |
[INFO] [stdout] 594 |                 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:604:25
[INFO] [stdout]     |
[INFO] [stdout] 604 |         let key_owner_proof = Historical::prove(key).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:613:4
[INFO] [stdout]     |
[INFO] [stdout] 613 |             Babe::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:614:5
[INFO] [stdout]     |
[INFO] [stdout] 614 |                 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:643:25
[INFO] [stdout]     |
[INFO] [stdout] 643 |         let key_owner_proof = Historical::prove(key).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:647:5
[INFO] [stdout]     |
[INFO] [stdout] 647 |                 Babe::report_equivocation_unsigned(
[INFO] [stdout]     |                 ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:648:6
[INFO] [stdout]     |
[INFO] [stdout] 648 |                     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:753:25
[INFO] [stdout]     |
[INFO] [stdout] 753 |         let key_owner_proof = Historical::prove(key).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:789:3
[INFO] [stdout]     |
[INFO] [stdout] 789 |         Babe::report_equivocation_unsigned(
[INFO] [stdout]     |         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:790:4
[INFO] [stdout]     |
[INFO] [stdout] 790 |             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:866:25
[INFO] [stdout]     |
[INFO] [stdout] 866 |         let key_owner_proof = Historical::prove(key).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:873:11
[INFO] [stdout]     |
[INFO] [stdout] 873 |         assert!(Babe::report_equivocation_unsigned(
[INFO] [stdout]     |                 ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:874:4
[INFO] [stdout]     |
[INFO] [stdout] 874 |             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:897:4
[INFO] [stdout]     |
[INFO] [stdout] 897 |             Historical::prove((sp_consensus_babe::KEY_TYPE, &offending_authority_pair.public()))
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:913:19
[INFO] [stdout]     |
[INFO] [stdout] 913 |         let post_info = Babe::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:914:4
[INFO] [stdout]     |
[INFO] [stdout] 914 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]    --> src/tests.rs:927:19
[INFO] [stdout]     |
[INFO] [stdout] 927 |         let post_info = Babe::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:928:4
[INFO] [stdout]     |
[INFO] [stdout] 928 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]     --> src/tests.rs:1039:14
[INFO] [stdout]      |
[INFO] [stdout] 1039 |         assert_eq!(Babe::session_index_for_epoch(0), 0);
[INFO] [stdout]      |                    ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]     --> src/tests.rs:1040:14
[INFO] [stdout]      |
[INFO] [stdout] 1040 |         assert_eq!(Babe::session_index_for_epoch(1), 1);
[INFO] [stdout]      |                    ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]     --> src/tests.rs:1043:14
[INFO] [stdout]      |
[INFO] [stdout] 1043 |         assert_eq!(Babe::session_index_for_epoch(4), 2);
[INFO] [stdout]      |                    ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe`
[INFO] [stdout]     --> src/tests.rs:1044:14
[INFO] [stdout]      |
[INFO] [stdout] 1044 |         assert_eq!(Babe::session_index_for_epoch(5), 3);
[INFO] [stdout]      |                    ^^^^ use of undeclared type `Babe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-babe` (lib test) due to 276 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a9cd39ed181d06838eefd2da4050aeb7ddd0090cc90cc77f4be6d3fb96065c0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9cd39ed181d06838eefd2da4050aeb7ddd0090cc90cc77f4be6d3fb96065c0b", kill_on_drop: false }`
[INFO] [stdout] a9cd39ed181d06838eefd2da4050aeb7ddd0090cc90cc77f4be6d3fb96065c0b
