[INFO] fetching crate pallet-beefy 26.0.0...
[INFO] checking pallet-beefy-26.0.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate pallet-beefy 26.0.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate pallet-beefy 26.0.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-beefy 26.0.0
[INFO] finished tweaking crates.io crate pallet-beefy 26.0.0
[INFO] tweaked toml for crates.io crate pallet-beefy 26.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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 ckb-merkle-mountain-range v0.5.2
[INFO] [stderr]   Downloaded sp-mmr-primitives v24.0.0
[INFO] [stderr]   Downloaded sp-consensus-beefy v11.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a5006a143ba3b29e04d0326e32bf3dee2a67e4a6f01cd881b4132ecf4dfdb56d
[INFO] running `Command { std: "docker" "start" "-a" "a5006a143ba3b29e04d0326e32bf3dee2a67e4a6f01cd881b4132ecf4dfdb56d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5006a143ba3b29e04d0326e32bf3dee2a67e4a6f01cd881b4132ecf4dfdb56d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5006a143ba3b29e04d0326e32bf3dee2a67e4a6f01cd881b4132ecf4dfdb56d", kill_on_drop: false }`
[INFO] [stdout] a5006a143ba3b29e04d0326e32bf3dee2a67e4a6f01cd881b4132ecf4dfdb56d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2d9a2fd6eca52c53cee3698a378dea8ce0e67f4895052bd9c3cf1396cf37361
[INFO] running `Command { std: "docker" "start" "-a" "b2d9a2fd6eca52c53cee3698a378dea8ce0e67f4895052bd9c3cf1396cf37361", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking byte-slice-cast v1.2.2
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling target-lexicon v0.12.14
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]     Checking sp-std v12.0.0
[INFO] [stderr]    Compiling rustix v0.36.17
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking io-lifetimes v1.0.11
[INFO] [stderr]    Compiling wasmtime-runtime v8.0.1
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]    Compiling cpp_demangle v0.3.5
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]     Checking wasmtime-jit-debug v8.0.1
[INFO] [stderr]     Checking wasmtime-asm-macros v8.0.1
[INFO] [stderr]    Compiling ref-cast v1.0.22
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking wasmtime-jit-icache-coherence v8.0.1
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling wasmtime v8.0.1
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking memfd v0.6.4
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking chrono v0.4.37
[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 digest v0.8.1
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking getrandom_or_panic v0.0.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]     Checking array-bytes v6.2.2
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking trie-db v0.28.0
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking schnellru v0.2.1
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling sp-io v28.0.0
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.22
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking thiserror v1.0.58
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]    Compiling sp-debug-derive v12.0.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking pbkdf2 v0.8.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]     Checking ed25519-zebra v3.1.0
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]     Checking sp-core-hashing v13.0.0
[INFO] [stderr]     Checking schnorrkel v0.9.1
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking substrate-bip39 v0.4.6
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling prettier-please v0.2.0
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling constant_time_eq v0.3.0
[INFO] [stderr]     Checking sp-panic-handler v12.0.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling expander v2.1.0
[INFO] [stderr]    Compiling derive-syn-parse v0.1.5
[INFO] [stderr]    Compiling sp-core-hashing-proc-macro v13.0.0
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]     Checking der v0.7.8
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.0
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling macro_magic_core v0.5.0
[INFO] [stderr]     Checking cranelift-entity v0.95.1
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking bip39 v2.0.0
[INFO] [stderr]     Checking wasmparser v0.102.0
[INFO] [stderr]     Checking gimli v0.27.3
[INFO] [stderr]     Checking object v0.30.4
[INFO] [stderr]    Compiling macro_magic_macros v0.5.0
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ss58-registry v1.47.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]     Checking addr2line v0.19.0
[INFO] [stderr]    Compiling proc-macro-crate v2.0.2
[INFO] [stderr]    Compiling toml v0.8.2
[INFO] [stderr]     Checking wasmtime-types v8.0.1
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking wasmtime-environ v8.0.1
[INFO] [stderr]    Compiling async-trait v0.1.79
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v10.0.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.3
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling scale-info-derive v2.11.1
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v15.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v13.0.0
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]    Compiling frame-support-procedural-tools v9.0.0
[INFO] [stderr]    Compiling cfg-expr v0.15.7
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.9
[INFO] [stderr]    Compiling docify_macros v0.2.7
[INFO] [stderr]    Compiling include_dir v0.7.3
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling macro_magic v0.5.0
[INFO] [stderr]     Checking wasmtime-jit v8.0.1
[INFO] [stderr]    Compiling proc-macro-warning v1.0.2
[INFO] [stderr]    Compiling aquamarine v0.3.3
[INFO] [stderr]    Compiling frame-support-procedural v21.0.0
[INFO] [stderr]     Checking k256 v0.13.3
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]     Checking ckb-merkle-mountain-range v0.5.2
[INFO] [stderr]     Checking docify v0.2.7
[INFO] [stderr]     Checking parity-scale-codec v3.6.9
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking scale-info v2.11.1
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-storage v17.0.0
[INFO] [stderr]     Checking sp-tracing v14.0.0
[INFO] [stderr]    Compiling sp-version-proc-macro v12.0.0
[INFO] [stderr]     Checking sp-wasm-interface v18.0.0
[INFO] [stderr]     Checking sp-externalities v0.23.0
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking bounded-collections v0.1.9
[INFO] [stderr]     Checking sp-arithmetic v21.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.4.0
[INFO] [stderr]     Checking sp-runtime-interface v22.0.0
[INFO] [stderr]     Checking sp-core v26.0.0
[INFO] [stderr]     Checking sp-trie v27.0.0
[INFO] [stderr]     Checking sp-keystore v0.32.0
[INFO] [stderr]     Checking sp-weights v25.0.0
[INFO] [stderr]     Checking sp-state-machine v0.33.0
[INFO] [stderr]     Checking sp-application-crypto v28.0.0
[INFO] [stderr]     Checking sp-runtime v29.0.0
[INFO] [stderr]     Checking sp-version v27.0.0
[INFO] [stderr]     Checking sp-staking v24.0.0
[INFO] [stderr]     Checking sp-inherents v24.0.0
[INFO] [stderr]     Checking sp-api v24.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.5.0
[INFO] [stderr]     Checking sp-mmr-primitives v24.0.0
[INFO] [stderr]     Checking sp-session v25.0.0
[INFO] [stderr]     Checking sp-consensus-beefy v11.0.0
[INFO] [stderr]     Checking frame-support v26.0.0
[INFO] [stderr]     Checking sp-timestamp v24.0.0
[INFO] [stderr]     Checking frame-system v26.0.0
[INFO] [stderr]     Checking pallet-timestamp v25.0.0
[INFO] [stderr]     Checking pallet-authorship v26.0.0
[INFO] [stderr]     Checking pallet-session v26.0.0
[INFO] [stderr]     Checking pallet-beefy v26.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Encode` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use codec::{Encode, MaxEncodedLen};
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pallet_prelude::*,
[INFO] [stdout]    |     ----------------- the item `Encode` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Weight` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:26:2
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pallet_prelude::*,
[INFO] [stdout]    |     ----------------- the item `Weight` is already imported here
[INFO] [stdout] 25 |     traits::{Get, OneSessionHandler},
[INFO] [stdout] 26 |     weights::Weight,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `log` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use log;
[INFO] [stdout]    |     ^^^ the item `log` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `codec` is imported redundantly
[INFO] [stdout]   --> src/equivocation.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use codec::{self as codec, Decode, Encode};
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the item `codec` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | 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:28:5
[INFO] [stdout]     |
[INFO] [stdout] 28  | use pallet_session::historical as pallet_session_historical;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core`
[INFO] [stdout]   --> src/mock.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use sp_core::{crypto::KeyTypeId, ConstU128};
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_core`
[INFO] [stdout]   --> src/mock.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use sp_core::{crypto::KeyTypeId, ConstU128};
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_io`
[INFO] [stdout]   --> src/mock.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use sp_io::TestExternalities;
[INFO] [stdout]    |     ^^^^^ use of undeclared crate or module `sp_io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_state_machine`
[INFO] [stdout]   --> src/mock.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use sp_state_machine::BasicExternalities;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_state_machine`
[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:151:1
[INFO] [stdout]     |
[INFO] [stdout] 151 | pallet_staking_reward_curve::build! {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:111:40
[INFO] [stdout]     |
[INFO] [stdout] 111 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                           ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:117:22
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                      ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:212:45
[INFO] [stdout]     |
[INFO] [stdout] 212 |     type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
[INFO] [stdout]     |                                                ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-session-26.0.0/src/lib.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub mod historical;
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     = note: the item is gated behind the `historical` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:269:14
[INFO] [stdout]     |
[INFO] [stdout] 269 |         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:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |         pub dummy: pallet_beefy::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:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |         pub dummy: pallet_beefy::Pallet<Test>,
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-29.0.0/src/traits.rs:1995:19
[INFO] [stdout]    |
[INFO] [stdout] 199|         pub struct $name<Test> {
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:51:47
[INFO] [stdout]    |
[INFO] [stdout] 51 | 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] 51 | 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:69:31
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
[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-26.0.0/src/lib.rs:236:9
[INFO] [stdout]    |
[INFO] [stdout] 236|             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:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
[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-26.0.0/src/lib.rs:238:9
[INFO] [stdout]    |
[INFO] [stdout] 238|             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:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
[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-26.0.0/src/lib.rs:240:9
[INFO] [stdout]    |
[INFO] [stdout] 240|             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:68:1
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
[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-26.0.0/src/lib.rs:242:9
[INFO] [stdout]    |
[INFO] [stdout] 242|             type Self::PalletInfo = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 18 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:74:61
[INFO] [stdout]    |
[INFO] [stdout] 74 | 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:76:2
[INFO] [stdout]    |
[INFO] [stdout] 76 |     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:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |     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:79:26
[INFO] [stdout]    |
[INFO] [stdout] 79 |     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] 74 | 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:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl pallet_beefy::Config for Test {
[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:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |     type KeyOwnerProof = <Historical as KeyOwnerProofSystem<(KeyTypeId, BeefyId)>>::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:98:41
[INFO] [stdout]    |
[INFO] [stdout] 98 |         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] 89 | impl<Offences> pallet_beefy::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:98:51
[INFO] [stdout]    |
[INFO] [stdout] 98 |         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] 89 | impl<Historical> pallet_beefy::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:105:33
[INFO] [stdout]     |
[INFO] [stdout] 105 | 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:106:22
[INFO] [stdout]     |
[INFO] [stdout] 106 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 106 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:111:77
[INFO] [stdout]     |
[INFO] [stdout] 111 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                                                                ^^^^^^^
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 111 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, String>;
[INFO] [stdout]     |                                                                                ~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 105 | 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:117:45
[INFO] [stdout]     |
[INFO] [stdout] 117 | 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:122:36
[INFO] [stdout]     |
[INFO] [stdout] 122 | impl pallet_authorship::Config for Test {
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:127:34
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:133:22
[INFO] [stdout]     |
[INFO] [stdout] 133 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/mock.rs:135:22
[INFO] [stdout]     |
[INFO] [stdout] 135 |     type AccountStore = System;
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:144:35
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope
[INFO] [stdout]    --> src/mock.rs:165:62
[INFO] [stdout]     |
[INFO] [stdout] 165 |     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:172:16
[INFO] [stdout]     |
[INFO] [stdout] 172 |     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:174:22
[INFO] [stdout]     |
[INFO] [stdout] 174 |     type DataProvider = Staking;
[INFO] [stdout]     |                         ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:180:33
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:183:22
[INFO] [stdout]     |
[INFO] [stdout] 183 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 184 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:193:43
[INFO] [stdout]     |
[INFO] [stdout] 193 |     type UnixTime = pallet_timestamp::Pallet<Test>;
[INFO] [stdout]     |                                              ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl<Test> pallet_staking::Config for Test {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Session` in this scope
[INFO] [stdout]    --> src/mock.rs:197:24
[INFO] [stdout]     |
[INFO] [stdout] 197 |     type NextNewSession = Session;
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:210:34
[INFO] [stdout]     |
[INFO] [stdout] 210 | 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:211:22
[INFO] [stdout]     |
[INFO] [stdout] 211 |     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:213:26
[INFO] [stdout]     |
[INFO] [stdout] 213 |     type OnOffenceHandler = Staking;
[INFO] [stdout]     |                             ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:237:44
[INFO] [stdout]     |
[INFO] [stdout] 237 |     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] 236 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:241:35
[INFO] [stdout]     |
[INFO] [stdout] 241 |     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] 236 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:253:27
[INFO] [stdout]     |
[INFO] [stdout] 253 |             frame_system::Pallet::<Test>::inc_providers(id);
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:257:34
[INFO] [stdout]     |
[INFO] [stdout] 257 |     pallet_session::GenesisConfig::<Test> { keys: session_keys }
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> 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:263:41
[INFO] [stdout]     |
[INFO] [stdout] 263 |         .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] 18  + use sp_staking::StakerStatus;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `StakerStatus`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 263 -         .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::<u64>::Validator))
[INFO] [stdout] 263 +         .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:266:55
[INFO] [stdout]     |
[INFO] [stdout] 266 |     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] 236 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:282:3
[INFO] [stdout]     |
[INFO] [stdout] 282 |         System::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:282:23
[INFO] [stdout]     |
[INFO] [stdout] 282 |         System::on_finalize(System::block_number());
[INFO] [stdout]     |                             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:283:24
[INFO] [stdout]     |
[INFO] [stdout] 283 |         Session::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:284:24
[INFO] [stdout]     |
[INFO] [stdout] 284 |         Staking::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 |         Beefy::on_finalize(System::block_number());
[INFO] [stdout]     |                            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:287:24
[INFO] [stdout]     |
[INFO] [stdout] 287 |         let parent_hash = if System::block_number() > 1 {
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:288:14
[INFO] [stdout]     |
[INFO] [stdout] 288 |             let hdr = System::finalize();
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:291:4
[INFO] [stdout]     |
[INFO] [stdout] 291 |             System::parent_hash()
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:294:3
[INFO] [stdout]     |
[INFO] [stdout] 294 |         System::reset_events();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:295:3
[INFO] [stdout]     |
[INFO] [stdout] 295 |         System::initialize(&(i as u64 + 1), &parent_hash, &Default::default());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:296:3
[INFO] [stdout]     |
[INFO] [stdout] 296 |         System::set_block_number((i + 1).into());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:297:3
[INFO] [stdout]     |
[INFO] [stdout] 297 |         Timestamp::set_timestamp(System::block_number() * 6000);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Timestamp`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:297:28
[INFO] [stdout]     |
[INFO] [stdout] 297 |         Timestamp::set_timestamp(System::block_number() * 6000);
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:299:3
[INFO] [stdout]     |
[INFO] [stdout] 299 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:299:25
[INFO] [stdout]     |
[INFO] [stdout] 299 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |                               ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:300:26
[INFO] [stdout]     |
[INFO] [stdout] 300 |         Session::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:301:26
[INFO] [stdout]     |
[INFO] [stdout] 301 |         Staking::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:302:24
[INFO] [stdout]     |
[INFO] [stdout] 302 |         Beefy::on_initialize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:37:2
[INFO] [stdout]    |
[INFO] [stdout] 37 |     System::set_block_number(block);
[INFO] [stdout]    |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + 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:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let log = System::digest().logs[0].clone();
[INFO] [stdout]    |                   ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + 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:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let log = System::digest().logs[1].clone();
[INFO] [stdout]    |                   ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + 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:268:19
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:345:19
[INFO] [stdout]     |
[INFO] [stdout] 345 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:428:19
[INFO] [stdout]     |
[INFO] [stdout] 428 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:454:12
[INFO] [stdout]     |
[INFO] [stdout] 454 |             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] 422 | fn report_equivocation_invalid_set_id<Test>() {
[INFO] [stdout]     |                                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:466:19
[INFO] [stdout]     |
[INFO] [stdout] 466 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:497:12
[INFO] [stdout]     |
[INFO] [stdout] 497 |             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] 460 | fn report_equivocation_invalid_session<Test>() {
[INFO] [stdout]     |                                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:509:19
[INFO] [stdout]     |
[INFO] [stdout] 509 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:545:12
[INFO] [stdout]     |
[INFO] [stdout] 545 |             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] 503 | fn report_equivocation_invalid_key_owner_proof<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:557:19
[INFO] [stdout]     |
[INFO] [stdout] 557 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:576:13
[INFO] [stdout]     |
[INFO] [stdout] 576 |                 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] 551 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:630:19
[INFO] [stdout]     |
[INFO] [stdout] 630 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:656:5
[INFO] [stdout]     |
[INFO] [stdout] 656 |             <Beefy 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 `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:667:5
[INFO] [stdout]     |
[INFO] [stdout] 667 |             <Beefy 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 `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:681:15
[INFO] [stdout]     |
[INFO] [stdout] 681 |         assert_ok!(<Beefy as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&call));
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:694:5
[INFO] [stdout]     |
[INFO] [stdout] 694 |             <Beefy 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 `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:702:5
[INFO] [stdout]     |
[INFO] [stdout] 702 |             <Beefy as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&call),
[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:713:22
[INFO] [stdout]     |
[INFO] [stdout] 713 |         .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:721:22
[INFO] [stdout]     |
[INFO] [stdout] 721 |         .map(|validators| <Test as Config>::WeightInfo::report_equivocation(validators, 1000))
[INFO] [stdout]     |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:734:19
[INFO] [stdout]     |
[INFO] [stdout] 734 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:755:21
[INFO] [stdout]     |
[INFO] [stdout] 755 |         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] 728 | fn valid_equivocation_reports_dont_pay_fees<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:805:18
[INFO] [stdout]     |
[INFO] [stdout] 805 |         let expected = System::block_number() + new_genesis_delay;
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + 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:812:12
[INFO] [stdout]     |
[INFO] [stdout] 812 |             Error::<Test>::InvalidConfiguration,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 796 | fn set_new_genesis_works<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Encode` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use codec::{Encode, MaxEncodedLen};
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pallet_prelude::*,
[INFO] [stdout]    |     ----------------- the item `Encode` is already imported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `log` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use log;
[INFO] [stdout]    |     ^^^ the item `log` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `codec` is imported redundantly
[INFO] [stdout]   --> src/equivocation.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use codec::{self as codec, Decode, Encode};
[INFO] [stdout]    |             ^^^^^^^^^^^^^ the item `codec` is already defined by prelude
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OnFinalize`, `OnInitialize`
[INFO] [stdout]   --> src/mock.rs:26:52
[INFO] [stdout]    |
[INFO] [stdout] 26 |     traits::{ConstU32, ConstU64, KeyOwnerProofSystem, OnFinalize, OnInitialize},
[INFO] [stdout]    |                                                       ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AuthoritySignature as BeefySignature`, `EquivocationProof`
[INFO] [stdout]   --> src/mock.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 |     ecdsa_crypto::{AuthorityId as BeefyId, AuthoritySignature as BeefySignature},
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     ConsensusLog, EquivocationProof, BEEFY_ENGINE_ID,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Currency`, `KeyOwnerProofSystem`, `OnInitialize`
[INFO] [stdout]   --> src/tests.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |     traits::{Currency, KeyOwnerProofSystem, OnInitialize},
[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:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |     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:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 |     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:118:28
[INFO] [stdout]     |
[INFO] [stdout] 118 |     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:119:30
[INFO] [stdout]     |
[INFO] [stdout] 119 |     type FullIdentificationOf = pallet_staking::ExposureOf<Self>;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:127:6
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:144:6
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:180:6
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:185:34
[INFO] [stdout]     |
[INFO] [stdout] 185 |     type CurrencyBalance = <Self as pallet_balances::Config>::Balance;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:193:18
[INFO] [stdout]     |
[INFO] [stdout] 193 |     type UnixTime = pallet_timestamp::Pallet<Test>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:194:19
[INFO] [stdout]     |
[INFO] [stdout] 194 |     type EraPayout = pallet_staking::ConvertCurve<RewardCurve>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:200:19
[INFO] [stdout]     |
[INFO] [stdout] 200 |     type VoterList = pallet_staking::UseNominatorsAndValidatorsMap<Self>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:201:20
[INFO] [stdout]     |
[INFO] [stdout] 201 |     type TargetList = pallet_staking::UseValidatorsMap<Self>;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:202:26
[INFO] [stdout]     |
[INFO] [stdout] 202 |     type NominationsQuota = pallet_staking::FixedNominationsQuota<16>;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:206:28
[INFO] [stdout]     |
[INFO] [stdout] 206 |     type BenchmarkingConfig = pallet_staking::TestBenchmarkingConfig;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_offences`
[INFO] [stdout]    --> src/mock.rs:210:6
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl pallet_offences::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:241:2
[INFO] [stdout]     |
[INFO] [stdout] 241 |     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:266:23
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:281:11
[INFO] [stdout]     |
[INFO] [stdout] 281 |     for i in Session::current_index()..session_index {
[INFO] [stdout]     |              ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:283:3
[INFO] [stdout]     |
[INFO] [stdout] 283 |         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:284:3
[INFO] [stdout]     |
[INFO] [stdout] 284 |         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 `Beefy`
[INFO] [stdout]    --> src/mock.rs:285:3
[INFO] [stdout]     |
[INFO] [stdout] 285 |         Beefy::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:300:3
[INFO] [stdout]     |
[INFO] [stdout] 300 |         Session::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:301:3
[INFO] [stdout]     |
[INFO] [stdout] 301 |         Staking::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         use of undeclared type `Staking`
[INFO] [stdout]     |         help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/mock.rs:302:3
[INFO] [stdout]     |
[INFO] [stdout] 302 |         Beefy::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |     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:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |     assert_eq!(Staking::current_era(), Some(era_index));
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                use of undeclared type `Staking`
[INFO] [stdout]     |                help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]   --> src/tests.rs:38:2
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Session::on_initialize(block);
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let authorities = Beefy::authorities();
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert!(Beefy::validator_set_id() == 0);
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let next_authorities = Beefy::next_authorities();
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |         assert!(0 == Beefy::validator_set_id());
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert!(1 == Beefy::validator_set_id());
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert!(2 == Beefy::validator_set_id());
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:104:26
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let next_authorities = Beefy::next_authorities();
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:114:26
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let next_authorities = Beefy::next_authorities();
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let vs = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                  ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let vs = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                  ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let vs = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                  ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let vs = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                  ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 180 |             assert!(Beefy::session_for_set(i as u64).is_some());
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |             assert!(Beefy::session_for_set(i as u64).is_some());
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:193:12
[INFO] [stdout]     |
[INFO] [stdout] 193 |             assert!(Beefy::session_for_set(i as u64).is_none());
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:263:14
[INFO] [stdout]     |
[INFO] [stdout] 263 |         assert_eq!(Staking::current_era(), Some(0));
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:264:14
[INFO] [stdout]     |
[INFO] [stdout] 264 |         assert_eq!(Session::current_index(), 0);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:269:23
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:272:20
[INFO] [stdout]     |
[INFO] [stdout] 272 |         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:276:15
[INFO] [stdout]     |
[INFO] [stdout] 276 |             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:277:15
[INFO] [stdout]     |
[INFO] [stdout] 277 |             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:280:5
[INFO] [stdout]     |
[INFO] [stdout] 280 |                 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:281:5
[INFO] [stdout]     |
[INFO] [stdout] 281 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:300:25
[INFO] [stdout]     |
[INFO] [stdout] 300 |         let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 |         assert_ok!(Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                    ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:304:4
[INFO] [stdout]     |
[INFO] [stdout] 304 |             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:314:14
[INFO] [stdout]     |
[INFO] [stdout] 314 |         assert_eq!(Balances::total_balance(&equivocation_validator_id), 10_000_000 - 10_000);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 315 |         assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0);
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:317:4
[INFO] [stdout]     |
[INFO] [stdout] 317 |             Staking::eras_stakers(2, &equivocation_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:318:4
[INFO] [stdout]     |
[INFO] [stdout] 318 |             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:327:15
[INFO] [stdout]     |
[INFO] [stdout] 327 |             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:328:15
[INFO] [stdout]     |
[INFO] [stdout] 328 |             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:331:5
[INFO] [stdout]     |
[INFO] [stdout] 331 |                 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:332:5
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 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 `Beefy`
[INFO] [stdout]    --> src/tests.rs:346:23
[INFO] [stdout]     |
[INFO] [stdout] 346 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:348:20
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let validators = Session::validators();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:356:25
[INFO] [stdout]     |
[INFO] [stdout] 356 |         let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:362:15
[INFO] [stdout]     |
[INFO] [stdout] 362 |             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:363:15
[INFO] [stdout]     |
[INFO] [stdout] 363 |             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:366:5
[INFO] [stdout]     |
[INFO] [stdout] 366 |                 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:367:5
[INFO] [stdout]     |
[INFO] [stdout] 367 |                 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 `Beefy`
[INFO] [stdout]    --> src/tests.rs:371:23
[INFO] [stdout]     |
[INFO] [stdout] 371 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:386:14
[INFO] [stdout]     |
[INFO] [stdout] 386 |         assert_ok!(Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                    ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:387:4
[INFO] [stdout]     |
[INFO] [stdout] 387 |             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:397:14
[INFO] [stdout]     |
[INFO] [stdout] 397 |         assert_eq!(Balances::total_balance(&equivocation_validator_id), 10_000_000 - 10_000);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:398:14
[INFO] [stdout]     |
[INFO] [stdout] 398 |         assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0);
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:400:4
[INFO] [stdout]     |
[INFO] [stdout] 400 |             Staking::eras_stakers(3, &equivocation_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:401:4
[INFO] [stdout]     |
[INFO] [stdout] 401 |             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:410:15
[INFO] [stdout]     |
[INFO] [stdout] 410 |             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:411:15
[INFO] [stdout]     |
[INFO] [stdout] 411 |             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:414:5
[INFO] [stdout]     |
[INFO] [stdout] 414 |                 Staking::eras_stakers(3, &validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:415:5
[INFO] [stdout]     |
[INFO] [stdout] 415 |                 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 `Beefy`
[INFO] [stdout]    --> src/tests.rs:429:23
[INFO] [stdout]     |
[INFO] [stdout] 429 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:437:25
[INFO] [stdout]     |
[INFO] [stdout] 437 |         let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:449:4
[INFO] [stdout]     |
[INFO] [stdout] 449 |             Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:467:23
[INFO] [stdout]     |
[INFO] [stdout] 467 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:475:25
[INFO] [stdout]     |
[INFO] [stdout] 475 |         let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:479:16
[INFO] [stdout]     |
[INFO] [stdout] 479 |         let set_id = Beefy::validator_set().unwrap().id();
[INFO] [stdout]     |                      ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:492:4
[INFO] [stdout]     |
[INFO] [stdout] 492 |             Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:510:23
[INFO] [stdout]     |
[INFO] [stdout] 510 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:519:4
[INFO] [stdout]     |
[INFO] [stdout] 519 |             Historical::prove((BEEFY_KEY_TYPE, &invalid_owner_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:540:4
[INFO] [stdout]     |
[INFO] [stdout] 540 |             Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:541:5
[INFO] [stdout]     |
[INFO] [stdout] 541 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:558:23
[INFO] [stdout]     |
[INFO] [stdout] 558 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:567:25
[INFO] [stdout]     |
[INFO] [stdout] 567 |         let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:571:5
[INFO] [stdout]     |
[INFO] [stdout] 571 |                 Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:572:6
[INFO] [stdout]     |
[INFO] [stdout] 572 |                     RuntimeOrigin::none(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:631:23
[INFO] [stdout]     |
[INFO] [stdout] 631 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:647:25
[INFO] [stdout]     |
[INFO] [stdout] 647 |         let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:684:3
[INFO] [stdout]     |
[INFO] [stdout] 684 |         Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:685:4
[INFO] [stdout]     |
[INFO] [stdout] 685 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:735:23
[INFO] [stdout]     |
[INFO] [stdout] 735 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:752:25
[INFO] [stdout]     |
[INFO] [stdout] 752 |         let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:766:19
[INFO] [stdout]     |
[INFO] [stdout] 766 |         let post_info = Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:767:4
[INFO] [stdout]     |
[INFO] [stdout] 767 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:780:19
[INFO] [stdout]     |
[INFO] [stdout] 780 |         let post_info = Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:781:4
[INFO] [stdout]     |
[INFO] [stdout] 781 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:804:14
[INFO] [stdout]     |
[INFO] [stdout] 804 |         assert_ok!(Beefy::set_new_genesis(RuntimeOrigin::root(), new_genesis_delay,));
[INFO] [stdout]     |                    ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:804:37
[INFO] [stdout]     |
[INFO] [stdout] 804 |         assert_ok!(Beefy::set_new_genesis(RuntimeOrigin::root(), new_genesis_delay,));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:807:14
[INFO] [stdout]     |
[INFO] [stdout] 807 |         assert_eq!(Beefy::genesis_block(), Some(expected));
[INFO] [stdout]     |                    ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:811:4
[INFO] [stdout]     |
[INFO] [stdout] 811 |             Beefy::set_new_genesis(RuntimeOrigin::root(), 0u64,),
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:811:27
[INFO] [stdout]     |
[INFO] [stdout] 811 |             Beefy::set_new_genesis(RuntimeOrigin::root(), 0u64,),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 208 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-beefy` (lib test) due to 209 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b2d9a2fd6eca52c53cee3698a378dea8ce0e67f4895052bd9c3cf1396cf37361", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2d9a2fd6eca52c53cee3698a378dea8ce0e67f4895052bd9c3cf1396cf37361", kill_on_drop: false }`
[INFO] [stdout] b2d9a2fd6eca52c53cee3698a378dea8ce0e67f4895052bd9c3cf1396cf37361
