[INFO] fetching crate pallet-delegated-staking 5.0.0...
[INFO] checking pallet-delegated-staking-5.0.0 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate pallet-delegated-staking 5.0.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate pallet-delegated-staking 5.0.0 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-delegated-staking 5.0.0
[INFO] finished tweaking crates.io crate pallet-delegated-staking 5.0.0
[INFO] tweaked toml for crates.io crate pallet-delegated-staking 5.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 316 packages to latest compatible versions
[INFO] [stderr]       Adding unicode-normalization v0.1.22 (available: v0.1.24)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5fb91be097cb866aae89b6b2e49917b481706d05cab869efbc8623e87d39e59
[INFO] running `Command { std: "docker" "start" "-a" "e5fb91be097cb866aae89b6b2e49917b481706d05cab869efbc8623e87d39e59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5fb91be097cb866aae89b6b2e49917b481706d05cab869efbc8623e87d39e59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5fb91be097cb866aae89b6b2e49917b481706d05cab869efbc8623e87d39e59", kill_on_drop: false }`
[INFO] [stdout] e5fb91be097cb866aae89b6b2e49917b481706d05cab869efbc8623e87d39e59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2952504a11aa1b3a926663173e9fdb6c89e4a8711c664b66e79cd308ca511d62
[INFO] running `Command { std: "docker" "start" "-a" "2952504a11aa1b3a926663173e9fdb6c89e4a8711c664b66e79cd308ca511d62", kill_on_drop: false }`
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling expander v2.2.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling parity-scale-codec v3.7.0
[INFO] [stderr]    Compiling file-guard v0.2.0
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking sp-std v14.0.0
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking hex-conservative v0.1.2
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking allocator-api2 v0.2.20
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking bitcoin_hashes v0.13.0
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]     Checking array-bytes v6.2.3
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking object v0.36.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking trie-db v0.29.1
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling sp-io v38.0.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]     Checking simple-mermaid v0.1.1
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]     Checking secp256k1 v0.28.2
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling proc-macro-warning v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling sp-debug-derive v14.0.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking sp-panic-handler v13.0.0
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking schnellru v0.2.3
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking getrandom_or_panic v0.0.3
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking ed25519-zebra v4.0.3
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking sp-crypto-hashing v0.1.0
[INFO] [stderr]    Compiling sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking serdect v0.2.0
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking parity-bip39 v2.0.1
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking substrate-bip39 v0.6.0
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]    Compiling ss58-registry v1.51.0
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling frame-support-procedural-tools v13.0.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.0
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v18.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v20.0.0
[INFO] [stderr]    Compiling frame-support-procedural v30.0.4
[INFO] [stderr]    Compiling docify_macros v0.2.9
[INFO] [stderr]     Checking docify v0.2.9
[INFO] [stderr]     Checking scale-info v2.11.6
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-storage v21.0.0
[INFO] [stderr]     Checking sp-wasm-interface v21.0.1
[INFO] [stderr]     Checking sp-tracing v17.0.1
[INFO] [stderr]    Compiling sp-version-proc-macro v14.0.0
[INFO] [stderr]     Checking sp-externalities v0.29.0
[INFO] [stderr]     Checking bounded-collections v0.2.2
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking sp-arithmetic v26.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.7.0
[INFO] [stderr]     Checking sp-weights v31.0.0
[INFO] [stderr]     Checking sp-runtime-interface v28.0.0
[INFO] [stderr]     Checking sp-core v34.0.0
[INFO] [stderr]     Checking sp-trie v37.0.0
[INFO] [stderr]     Checking sp-keystore v0.40.0
[INFO] [stderr]     Checking sp-state-machine v0.43.0
[INFO] [stderr]     Checking sp-application-crypto v38.0.0
[INFO] [stderr]     Checking sp-runtime v39.0.2
[INFO] [stderr]     Checking sp-version v37.0.0
[INFO] [stderr]     Checking sp-staking v36.0.0
[INFO] [stderr]     Checking sp-inherents v34.0.0
[INFO] [stderr]     Checking sp-api v34.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.15.1
[INFO] [stderr]     Checking frame-support v38.0.0
[INFO] [stderr]     Checking frame-system v38.0.0
[INFO] [stderr]     Checking pallet-delegated-staking v5.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | 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 `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | 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_staking`
[INFO] [stdout]   --> src/mock.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use pallet_staking::{ActiveEra, ActiveEraInfo, CurrentEra};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sp_core`
[INFO] [stdout]   --> src/mock.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use sp_core::U256;
[INFO] [stdout]    |     ^^^^^^^ use of undeclared crate or module `sp_core`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_nomination_pools`
[INFO] [stdout]   --> src/tests.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use pallet_nomination_pools::{Error as PoolsError, Event as PoolsEvent};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_staking`
[INFO] [stdout]   --> src/tests.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use pallet_staking::{Error as StakingError, RewardDestination};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_nomination_pools`
[INFO] [stdout]    --> src/tests.rs:861:6
[INFO] [stdout]     |
[INFO] [stdout] 861 |     use pallet_nomination_pools::{BondExtra, BondedPools, PoolState};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout]    --> src/mock.rs:171:10
[INFO] [stdout]     |
[INFO] [stdout] 171 |         Pools: pallet_nomination_pools,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:103:15
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[derive_impl(pallet_staking::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout]   --> src/mock.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | pallet_staking_reward_curve::build! {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout]    --> src/mock.rs:161:3
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pallet_nomination_pools::adapter::DelegateStake<Self, Staking, DelegatedStaking>;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:252:3
[INFO] [stdout]     |
[INFO] [stdout] 252 |         pallet_staking::slashing::do_slash::<T>(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]     --> src/tests.rs:1252:4
[INFO] [stdout]      |
[INFO] [stdout] 1252 |             pallet_staking::slashing::do_slash::<T>(
[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_nomination_pools`
[INFO] [stdout]     --> src/tests.rs:1413:3
[INFO] [stdout]      |
[INFO] [stdout] 1413 |         pallet_nomination_pools::LastPoolId::<T>::get()
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]   --> src/mock.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub type T = Runtime;
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]   --> src/mock.rs:40:47
[INFO] [stdout]    |
[INFO] [stdout] 40 | type Block = frame_system::mocking::MockBlock<Runtime>;
[INFO] [stdout]    |                                               ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 40 | type Block<Runtime> = frame_system::mocking::MockBlock<Runtime>;
[INFO] [stdout]    |           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]   --> src/mock.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl frame_system::Config for Runtime {
[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:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:308:9
[INFO] [stdout]    |
[INFO] [stdout] 308|             type Self::RuntimeEvent = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/mock.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:310:9
[INFO] [stdout]    |
[INFO] [stdout] 310|             type Self::RuntimeOrigin = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:312:9
[INFO] [stdout]    |
[INFO] [stdout] 312|             type Self::RuntimeCall = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/mock.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:314:9
[INFO] [stdout]    |
[INFO] [stdout] 314|             type Self::PalletInfo = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 18 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope
[INFO] [stdout]   --> src/mock.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:316:9
[INFO] [stdout]    |
[INFO] [stdout] 316|             type Self::RuntimeTask = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]   --> src/mock.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl pallet_timestamp::Config for Runtime {
[INFO] [stdout]    |                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope
[INFO] [stdout]   --> src/mock.rs:90:81
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub const RewardCurve: &'static sp_runtime::curve::PiecewiseLinear<'static> = &I_NPOS;
[INFO] [stdout]    |                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]   --> src/mock.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 |     type System = Runtime;
[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:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |     type DataProvider = Staking;
[INFO] [stdout]    |                         ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]   --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:120:36
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl delegated_staking::Config for Runtime {
[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:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 121 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:123:18
[INFO] [stdout]     |
[INFO] [stdout] 62  | pub type Balance = u128;
[INFO] [stdout]     | ------------------------ similarly named type alias `Balance` defined here
[INFO] [stdout] ...
[INFO] [stdout] 123 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^ help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope
[INFO] [stdout]    --> src/mock.rs:126:27
[INFO] [stdout]     |
[INFO] [stdout] 126 |     type RuntimeHoldReason = RuntimeHoldReason;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 126 |     type RuntimeHoldReason = Self::RuntimeHoldReason;
[INFO] [stdout]     |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:127:21
[INFO] [stdout]     |
[INFO] [stdout] 127 |     type CoreStaking = Staking;
[INFO] [stdout]     |                        ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:147:42
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl pallet_nomination_pools::Config for Runtime {
[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:148:22
[INFO] [stdout]     |
[INFO] [stdout] 148 |     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:150:18
[INFO] [stdout]     |
[INFO] [stdout] 62  | pub type Balance = u128;
[INFO] [stdout]     | ------------------------ similarly named type alias `Balance` defined here
[INFO] [stdout] ...
[INFO] [stdout] 150 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^ help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope
[INFO] [stdout]    --> src/mock.rs:151:29
[INFO] [stdout]     |
[INFO] [stdout] 151 |     type RuntimeFreezeReason = RuntimeFreezeReason;
[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:161:57
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pallet_nomination_pools::adapter::DelegateStake<Self, Staking, DelegatedStaking>;
[INFO] [stdout]     |                                                               ^^^^^^^
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pallet_nomination_pools::adapter::DelegateStake<Self, String, DelegatedStaking>;
[INFO] [stdout]     |                                                               ~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl<Staking> pallet_nomination_pools::Config for Runtime {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/mock.rs:161:66
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pallet_nomination_pools::adapter::DelegateStake<Self, Staking, DelegatedStaking>;
[INFO] [stdout]     |                                                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl<DelegatedStaking> pallet_nomination_pools::Config for Runtime {
[INFO] [stdout]     |     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing`
[INFO] [stdout]    --> src/mock.rs:181:3
[INFO] [stdout]     |
[INFO] [stdout] 181 |         sp_tracing::try_init_simple();
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `sp_tracing`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 181 |         sp_staking::try_init_simple();
[INFO] [stdout]     |         ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:183:34
[INFO] [stdout]     |
[INFO] [stdout] 183 |             frame_system::GenesisConfig::<Runtime>::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] 179 | impl<Runtime> ExtBuilder {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:232:27
[INFO] [stdout]     |
[INFO] [stdout] 232 |             frame_system::Pallet::<Runtime>::set_block_number(1);
[INFO] [stdout]     |                                    ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 179 | impl<Runtime> ExtBuilder {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing`
[INFO] [stdout]    --> src/mock.rs:240:3
[INFO] [stdout]     |
[INFO] [stdout] 240 |         sp_tracing::try_init_simple();
[INFO] [stdout]     |         ^^^^^^^^^^ use of undeclared crate or module `sp_tracing`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 240 |         sp_staking::try_init_simple();
[INFO] [stdout]     |         ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:313:83
[INFO] [stdout]     |
[INFO] [stdout] 313 | pub(crate) fn pool_events_since_last_call() -> Vec<pallet_nomination_pools::Event<Runtime>> {
[INFO] [stdout]     |                                                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 313 | pub(crate) fn pool_events_since_last_call<Runtime>() -> Vec<pallet_nomination_pools::Event<Runtime>> {
[INFO] [stdout]     |                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:314:15
[INFO] [stdout]     |
[INFO] [stdout] 314 |     let events = System::read_events_for_pallet::<pallet_nomination_pools::Event<Runtime>>();
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:314:79
[INFO] [stdout]     |
[INFO] [stdout] 314 |     let events = System::read_events_for_pallet::<pallet_nomination_pools::Event<Runtime>>();
[INFO] [stdout]     |                                                                                  ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 313 | pub(crate) fn pool_events_since_last_call<Runtime>() -> Vec<pallet_nomination_pools::Event<Runtime>> {
[INFO] [stdout]     |                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:320:60
[INFO] [stdout]     |
[INFO] [stdout] 320 | pub(crate) fn events_since_last_call() -> Vec<crate::Event<Runtime>> {
[INFO] [stdout]     |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 320 | pub(crate) fn events_since_last_call<Runtime>() -> Vec<crate::Event<Runtime>> {
[INFO] [stdout]     |                                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:321:15
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let events = System::read_events_for_pallet::<crate::Event<Runtime>>();
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:321:61
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let events = System::read_events_for_pallet::<crate::Event<Runtime>>();
[INFO] [stdout]     |                                                                ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 320 | pub(crate) fn events_since_last_call<Runtime>() -> Vec<crate::Event<Runtime>> {
[INFO] [stdout]     |                                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:263:5
[INFO] [stdout]     |
[INFO] [stdout] 263 |             <DelegatedStaking as DelegationInterface>::delegator_slash(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:274:5
[INFO] [stdout]     |
[INFO] [stdout] 274 |             <DelegatedStaking as DelegationInterface>::delegator_slash(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:295:16
[INFO] [stdout]     |
[INFO] [stdout] 295 |             assert_ok!(<DelegatedStaking as DelegationInterface>::delegator_slash(
[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/tests.rs:315:6
[INFO] [stdout]     |
[INFO] [stdout] 315 |                 <Staking as StakingInterface>::slash_reward_fraction() * slash,
[INFO] [stdout]     |                  ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:326:5
[INFO] [stdout]     |
[INFO] [stdout] 326 |             <DelegatedStaking as DelegationInterface>::delegator_slash(
[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/tests.rs:608:6
[INFO] [stdout]     |
[INFO] [stdout] 608 |                 <Staking as StakingInterface>::set_payee(&200, &200),
[INFO] [stdout]     |                  ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:613:16
[INFO] [stdout]     |
[INFO] [stdout] 613 |             assert_ok!(<Staking as StakingInterface>::set_payee(&200, &201));
[INFO] [stdout]     |                         ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/alloc/src/string.rs:362:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:689:15
[INFO] [stdout]     |
[INFO] [stdout] 689 |             assert_eq!(System::providers(&agent), 1);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:692:15
[INFO] [stdout]     |
[INFO] [stdout] 692 |             assert_eq!(System::providers(&proxy_delegator), 1);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:715:16
[INFO] [stdout]     |
[INFO] [stdout] 715 |                 assert_eq!(System::providers(&delegator), 0);
[INFO] [stdout]     |                            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:723:16
[INFO] [stdout]     |
[INFO] [stdout] 723 |                 assert_eq!(System::providers(&delegator), 1);
[INFO] [stdout]     |                            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:754:15
[INFO] [stdout]     |
[INFO] [stdout] 754 |             assert_eq!(System::providers(&proxy_delegator), 0);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:773:16
[INFO] [stdout]     |
[INFO] [stdout] 773 |                 assert_eq!(System::providers(&delegator), 1);
[INFO] [stdout]     |                            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:781:15
[INFO] [stdout]     |
[INFO] [stdout] 781 |             assert_eq!(System::providers(&agent), 0);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:796:15
[INFO] [stdout]     |
[INFO] [stdout] 796 |             assert_eq!(System::providers(&agent), 1);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:802:15
[INFO] [stdout]     |
[INFO] [stdout] 802 |             assert_eq!(System::providers(&agent), 2);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:807:15
[INFO] [stdout]     |
[INFO] [stdout] 807 |             assert_eq!(System::providers(&delegator), 1);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:814:15
[INFO] [stdout]     |
[INFO] [stdout] 814 |             assert_eq!(System::providers(&delegator), 2);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:823:15
[INFO] [stdout]     |
[INFO] [stdout] 823 |             assert_eq!(System::providers(&delegator), 1);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:847:15
[INFO] [stdout]     |
[INFO] [stdout] 847 |             assert_eq!(System::providers(&delegator), 1);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:848:15
[INFO] [stdout]     |
[INFO] [stdout] 848 |             assert_eq!(System::providers(&agent), 1);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:853:15
[INFO] [stdout]     |
[INFO] [stdout] 853 |             assert_eq!(System::providers(&delegator), 0);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:854:15
[INFO] [stdout]     |
[INFO] [stdout] 854 |             assert_eq!(System::providers(&agent), 0);
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 369 +     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:1057:4
[INFO] [stdout]      |
[INFO] [stdout] 1057 |             System::reset_events();
[INFO] [stdout]      |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 860  +     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:1190:4
[INFO] [stdout]      |
[INFO] [stdout] 1190 |             System::reset_events();
[INFO] [stdout]      |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 860  +     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:1209:13
[INFO] [stdout]      |
[INFO] [stdout] 1209 |             assert!(!System::account_exists(&Pools::generate_bonded_account(pool_id)));
[INFO] [stdout]      |                      ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 860  +     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:1240:4
[INFO] [stdout]      |
[INFO] [stdout] 1240 |             System::reset_events();
[INFO] [stdout]      |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 860  +     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:1291:4
[INFO] [stdout]      |
[INFO] [stdout] 1291 |             System::reset_events();
[INFO] [stdout]      |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout] 860  +     use std::alloc::System;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Currency` and `VariantCountOf`
[INFO] [stdout]   --> src/mock.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |     traits::{ConstU64, Currency, VariantCountOf},
[INFO] [stdout]    |                        ^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StakingInterface`
[INFO] [stdout]   --> src/mock.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 | use sp_staking::{Agent, Stake, StakingInterface};
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `traits::fungible::InspectHold`
[INFO] [stdout]   --> src/tests.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_support::{assert_noop, assert_ok, traits::fungible::InspectHold};
[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:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |     type AccountData = pallet_balances::AccountData<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:55:6
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl pallet_timestamp::Config for Runtime {
[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_nomination_pools`
[INFO] [stdout]    --> src/mock.rs:147:6
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl pallet_nomination_pools::Config for Runtime {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_nomination_pools`
[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:11
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let _ = pallet_balances::GenesisConfig::<T> {
[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:215:11
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let _ = pallet_staking::GenesisConfig::<T> {
[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 `DelegatedStaking`
[INFO] [stdout]    --> src/mock.rs:251:4
[INFO] [stdout]     |
[INFO] [stdout] 251 |             DelegatedStaking::do_try_state().unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/mock.rs:258:10
[INFO] [stdout]     |
[INFO] [stdout] 258 |     let _ = Balances::deposit_creating(who, amount);
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Balances`
[INFO] [stdout]     |             help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/mock.rs:273:13
[INFO] [stdout]     |
[INFO] [stdout] 273 |     assert_ok!(DelegatedStaking::register_agent(RawOrigin::Signed(agent).into(), reward_acc));
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/mock.rs:280:14
[INFO] [stdout]     |
[INFO] [stdout] 280 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/mock.rs:288:13
[INFO] [stdout]     |
[INFO] [stdout] 288 |     assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), delegated_amount);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:300:2
[INFO] [stdout]     |
[INFO] [stdout] 300 |     Staking::stake(&who).unwrap() == Stake { total, active } &&
[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_nomination_pools`
[INFO] [stdout]    --> src/mock.rs:313:52
[INFO] [stdout]     |
[INFO] [stdout] 313 | pub(crate) fn pool_events_since_last_call() -> Vec<pallet_nomination_pools::Event<Runtime>> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout]    --> src/mock.rs:314:48
[INFO] [stdout]     |
[INFO] [stdout] 314 |     let events = System::read_events_for_pallet::<pallet_nomination_pools::Event<Runtime>>();
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_nomination_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert!(DelegatedStaking::is_agent(&agent));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |         assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 100);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             use of undeclared type `Balances`
[INFO] [stdout]    |             help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |         assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(delegator)), 100);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 |             DelegatedStaking::register_agent(RawOrigin::Signed(100).into(), 100),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 |             DelegatedStaking::register_agent(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 |             DelegatedStaking::register_agent(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]   --> src/tests.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 |             DelegatedStaking::register_agent(
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert!(!DelegatedStaking::is_agent(&agent));
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 |         assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 |         assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 116 |             assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 |             assert_eq!(Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &i), 100);
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Balances`
[INFO] [stdout]     |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:126:11
[INFO] [stdout]     |
[INFO] [stdout] 126 |         assert!(DelegatedStaking::is_agent(&agent));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:127:14
[INFO] [stdout]     |
[INFO] [stdout] 127 |         assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 100 * 100);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 |         assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:143:14
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 |         assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:165:4
[INFO] [stdout]     |
[INFO] [stdout] 165 |             DelegatedStaking::delegate_to_agent(RawOrigin::Signed(agent_one).into(), agent_two, 10),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:190:4
[INFO] [stdout]     |
[INFO] [stdout] 190 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:203:4
[INFO] [stdout]     |
[INFO] [stdout] 203 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:213:4
[INFO] [stdout]     |
[INFO] [stdout] 213 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:223:4
[INFO] [stdout]     |
[INFO] [stdout] 223 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:233:4
[INFO] [stdout]     |
[INFO] [stdout] 233 |             DelegatedStaking::delegate_to_agent(RawOrigin::Signed(agent_one).into(), agent_one, 10),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:285:34
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let mut old_reporter_balance = Balances::free_balance(reporter);
[INFO] [stdout]     |                                        ^^^^^^^^
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        use of undeclared type `Balances`
[INFO] [stdout]     |                                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:292:28
[INFO] [stdout]     |
[INFO] [stdout] 292 |             let unslashed_balance = DelegatedStaking::held_balance_of(Delegator::from(i));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:304:5
[INFO] [stdout]     |
[INFO] [stdout] 304 |                 DelegatedStaking::held_balance_of(Delegator::from(i)),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:314:5
[INFO] [stdout]     |
[INFO] [stdout] 314 |                 Balances::free_balance(reporter) - old_reporter_balance,
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:318:27
[INFO] [stdout]     |
[INFO] [stdout] 318 |             old_reporter_balance = Balances::free_balance(reporter);
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    use of undeclared type `Balances`
[INFO] [stdout]     |                                    help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:346:14
[INFO] [stdout]     |
[INFO] [stdout] 346 |         assert_ok!(DelegatedStaking::register_agent(RawOrigin::Signed(agent).into(), reward_acc));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:350:14
[INFO] [stdout]     |
[INFO] [stdout] 350 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:357:11
[INFO] [stdout]     |
[INFO] [stdout] 357 |         assert!(DelegatedStaking::is_agent(&agent));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:358:14
[INFO] [stdout]     |
[INFO] [stdout] 358 |         assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 1000);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:360:4
[INFO] [stdout]     |
[INFO] [stdout] 360 |             Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Balances`
[INFO] [stdout]     |             help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:363:14
[INFO] [stdout]     |
[INFO] [stdout] 363 |         assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(delegator)), 1000);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:377:15
[INFO] [stdout]     |
[INFO] [stdout] 377 |             assert_eq!(Staking::status(&agent), Err(StakingError::<T>::NotStash.into()));
[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 `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:381:15
[INFO] [stdout]     |
[INFO] [stdout] 381 |             assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:385:15
[INFO] [stdout]     |
[INFO] [stdout] 385 |             assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 0);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:392:16
[INFO] [stdout]     |
[INFO] [stdout] 392 |                 assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:399:6
[INFO] [stdout]     |
[INFO] [stdout] 399 |                     Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     use of undeclared type `Balances`
[INFO] [stdout]     |                     help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:403:6
[INFO] [stdout]     |
[INFO] [stdout] 403 |                     DelegatedStaking::delegator_balance(Delegator::from(delegator)).unwrap(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:413:15
[INFO] [stdout]     |
[INFO] [stdout] 413 |             assert_eq!(Staking::stake(&agent).unwrap(), Stake { total: 50 * 100, active: 50 * 100 })
[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 `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:434:5
[INFO] [stdout]     |
[INFO] [stdout] 434 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 301, 50, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:439:15
[INFO] [stdout]     |
[INFO] [stdout] 439 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 50));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:443:15
[INFO] [stdout]     |
[INFO] [stdout] 443 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 100));
[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:447:15
[INFO] [stdout]     |
[INFO] [stdout] 447 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 200));
[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 `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:455:5
[INFO] [stdout]     |
[INFO] [stdout] 455 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 305, 50, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:466:5
[INFO] [stdout]     |
[INFO] [stdout] 466 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 305, 51, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:470:15
[INFO] [stdout]     |
[INFO] [stdout] 470 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:476:15
[INFO] [stdout]     |
[INFO] [stdout] 476 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:487:5
[INFO] [stdout]     |
[INFO] [stdout] 487 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 305, 5, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 309, 91, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:498:5
[INFO] [stdout]     |
[INFO] [stdout] 498 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 310, 101, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:502:15
[INFO] [stdout]     |
[INFO] [stdout] 502 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:509:15
[INFO] [stdout]     |
[INFO] [stdout] 509 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:518:5
[INFO] [stdout]     |
[INFO] [stdout] 518 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 301, 1, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:522:5
[INFO] [stdout]     |
[INFO] [stdout] 522 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 350, 1, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:537:5
[INFO] [stdout]     |
[INFO] [stdout] 537 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 300, 320, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:545:16
[INFO] [stdout]     |
[INFO] [stdout] 545 |                 assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 10));
[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:552:15
[INFO] [stdout]     |
[INFO] [stdout] 552 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 10));
[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 `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:559:15
[INFO] [stdout]     |
[INFO] [stdout] 559 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:569:5
[INFO] [stdout]     |
[INFO] [stdout] 569 |                 DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 300, 141, 0),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:572:15
[INFO] [stdout]     |
[INFO] [stdout] 572 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:579:15
[INFO] [stdout]     |
[INFO] [stdout] 579 |             assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(300)), 320 - 300);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:588:22
[INFO] [stdout]     |
[INFO] [stdout] 588 |             let balance_200 = Balances::free_balance(200);
[INFO] [stdout]     |                               ^^^^^^^^
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               use of undeclared type `Balances`
[INFO] [stdout]     |                               help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:592:5
[INFO] [stdout]     |
[INFO] [stdout] 592 |                 DelegatedStaking::register_agent(RawOrigin::Signed(200).into(), 200),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:597:15
[INFO] [stdout]     |
[INFO] [stdout] 597 |             assert_ok!(DelegatedStaking::register_agent(RawOrigin::Signed(200).into(), 201));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:600:15
[INFO] [stdout]     |
[INFO] [stdout] 600 |             assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:621:15
[INFO] [stdout]     |
[INFO] [stdout] 621 |             assert_eq!(Balances::free_balance(200), balance_200);
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Balances`
[INFO] [stdout]     |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:632:5
[INFO] [stdout]     |
[INFO] [stdout] 632 |                 DelegatedStaking::register_agent(RawOrigin::Signed(200).into(), 201),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:637:5
[INFO] [stdout]     |
[INFO] [stdout] 637 |                 DelegatedStaking::register_agent(RawOrigin::Signed(202).into(), 203),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:642:5
[INFO] [stdout]     |
[INFO] [stdout] 642 |                 DelegatedStaking::register_agent(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:649:5
[INFO] [stdout]     |
[INFO] [stdout] 649 |                 DelegatedStaking::register_agent(RawOrigin::Signed(GENESIS_VALIDATOR).into(), 201),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:667:15
[INFO] [stdout]     |
[INFO] [stdout] 667 |             assert_ok!(Staking::bond(
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:668:5
[INFO] [stdout]     |
[INFO] [stdout] 668 |                 RuntimeOrigin::signed(agent),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:672:15
[INFO] [stdout]     |
[INFO] [stdout] 672 |             assert_ok!(Staking::nominate(RuntimeOrigin::signed(agent), vec![GENESIS_VALIDATOR],));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:672:33
[INFO] [stdout]     |
[INFO] [stdout] 672 |             assert_ok!(Staking::nominate(RuntimeOrigin::signed(agent), vec![GENESIS_VALIDATOR],));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:673:21
[INFO] [stdout]     |
[INFO] [stdout] 673 |             let init_stake = Staking::stake(&agent).unwrap();
[INFO] [stdout]     |                              ^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              use of undeclared type `Staking`
[INFO] [stdout]     |                              help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:679:15
[INFO] [stdout]     |
[INFO] [stdout] 679 |             assert_eq!(Balances::free_balance(agent), agent_amount);
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Balances`
[INFO] [stdout]     |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:685:5
[INFO] [stdout]     |
[INFO] [stdout] 685 |                 DelegatedStaking::generate_proxy_delegator(Agent::from(agent)).get();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:687:15
[INFO] [stdout]     |
[INFO] [stdout] 687 |             assert_ok!(DelegatedStaking::migrate_to_agent(RawOrigin::Signed(agent).into(), 201));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:690:15
[INFO] [stdout]     |
[INFO] [stdout] 690 |             assert_eq!(Balances::free_balance(agent), 0);
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Balances`
[INFO] [stdout]     |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:693:15
[INFO] [stdout]     |
[INFO] [stdout] 693 |             assert_eq!(Balances::free_balance(proxy_delegator), 0);
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Balances`
[INFO] [stdout]     |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:698:5
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &proxy_delegator),
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:702:15
[INFO] [stdout]     |
[INFO] [stdout] 702 |             assert_eq!(Balances::free_balance(agent), 0);
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Balances`
[INFO] [stdout]     |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:703:15
[INFO] [stdout]     |
[INFO] [stdout] 703 |             assert_eq!(Staking::stake(&agent).unwrap(), init_stake);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:714:16
[INFO] [stdout]     |
[INFO] [stdout] 714 |                 assert_eq!(Balances::free_balance(delegator), 0);
[INFO] [stdout]     |                            ^^^^^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            use of undeclared type `Balances`
[INFO] [stdout]     |                            help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:718:16
[INFO] [stdout]     |
[INFO] [stdout] 718 |                 assert_ok!(DelegatedStaking::migrate_delegation(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:725:6
[INFO] [stdout]     |
[INFO] [stdout] 725 |                     Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     use of undeclared type `Balances`
[INFO] [stdout]     |                     help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:730:6
[INFO] [stdout]     |
[INFO] [stdout] 730 |                     Balances::balance_on_hold(
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     use of undeclared type `Balances`
[INFO] [stdout]     |                     help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:738:16
[INFO] [stdout]     |
[INFO] [stdout] 738 |                 assert_eq!(Staking::stake(&agent).unwrap(), init_stake);
[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 `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:749:5
[INFO] [stdout]     |
[INFO] [stdout] 749 |                 DelegatedStaking::migrate_delegation(RawOrigin::Signed(agent).into(), 305, 1),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:757:15
[INFO] [stdout]     |
[INFO] [stdout] 757 |             assert_ok!(Staking::chill(RuntimeOrigin::signed(agent)));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:757:30
[INFO] [stdout]     |
[INFO] [stdout] 757 |             assert_ok!(Staking::chill(RuntimeOrigin::signed(agent)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:758:15
[INFO] [stdout]     |
[INFO] [stdout] 758 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), staked_amount));
[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:760:15
[INFO] [stdout]     |
[INFO] [stdout] 760 |             assert_ok!(Staking::withdraw_unbonded(RawOrigin::Signed(agent).into(), 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 `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:762:16
[INFO] [stdout]     |
[INFO] [stdout] 762 |                 assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:771:16
[INFO] [stdout]     |
[INFO] [stdout] 771 |                 assert_eq!(Balances::free_balance(delegator), delegator_share);
[INFO] [stdout]     |                            ^^^^^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            use of undeclared type `Balances`
[INFO] [stdout]     |                            help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:777:15
[INFO] [stdout]     |
[INFO] [stdout] 777 |             assert_ok!(DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into()));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:797:15
[INFO] [stdout]     |
[INFO] [stdout] 797 |             assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:808:15
[INFO] [stdout]     |
[INFO] [stdout] 808 |             assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:816:15
[INFO] [stdout]     |
[INFO] [stdout] 816 |             assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:826:15
[INFO] [stdout]     |
[INFO] [stdout] 826 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 1000));
[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:828:15
[INFO] [stdout]     |
[INFO] [stdout] 828 |             assert_ok!(Staking::withdraw_unbonded(RawOrigin::Signed(agent).into(), 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 `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:832:5
[INFO] [stdout]     |
[INFO] [stdout] 832 |                 DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into()),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:836:15
[INFO] [stdout]     |
[INFO] [stdout] 836 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:844:15
[INFO] [stdout]     |
[INFO] [stdout] 844 |             assert_ok!(DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into()));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:851:15
[INFO] [stdout]     |
[INFO] [stdout] 851 |             assert_ok!(Balances::transfer_all(RawOrigin::Signed(delegator).into(), 1337, false));
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Balances`
[INFO] [stdout]     |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:852:15
[INFO] [stdout]     |
[INFO] [stdout] 852 |             assert_ok!(Balances::transfer_all(RawOrigin::Signed(agent).into(), 1337, false));
[INFO] [stdout]     |                        ^^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Balances`
[INFO] [stdout]     |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:871:15
[INFO] [stdout]     |
[INFO] [stdout] 871 |             assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(creator)), 0);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]    --> src/tests.rs:874:15
[INFO] [stdout]     |
[INFO] [stdout] 874 |             assert_ok!(Pools::create(
[INFO] [stdout]     |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:884:5
[INFO] [stdout]     |
[INFO] [stdout] 884 |                 DelegatedStaking::held_balance_of(Delegator::from(creator)),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]    --> src/tests.rs:888:23
[INFO] [stdout]     |
[INFO] [stdout] 888 |             let pool_account = Pools::generate_bonded_account(1);
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:910:15
[INFO] [stdout]     |
[INFO] [stdout] 910 |             assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(delegator)), 0);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]    --> src/tests.rs:913:15
[INFO] [stdout]     |
[INFO] [stdout] 913 |             assert_ok!(Pools::join(RawOrigin::Signed(delegator).into(), 100, pool_id));
[INFO] [stdout]     |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:917:15
[INFO] [stdout]     |
[INFO] [stdout] 917 |             assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(delegator)), 100);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:920:15
[INFO] [stdout]     |
[INFO] [stdout] 920 |             assert_eq!(Staking::status(&delegator), Err(StakingError::<T>::NotStash.into()));
[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 `Pools`
[INFO] [stdout]    --> src/tests.rs:922:39
[INFO] [stdout]     |
[INFO] [stdout] 922 |             let pool_agent = get_agent_ledger(&Pools::generate_bonded_account(1));
[INFO] [stdout]     |                                                ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:931:5
[INFO] [stdout]     |
[INFO] [stdout] 931 |                 Staking::reap_stash(RuntimeOrigin::signed(100), pool_agent.key, 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 `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:931:25
[INFO] [stdout]     |
[INFO] [stdout] 931 |                 Staking::reap_stash(RuntimeOrigin::signed(100), pool_agent.key, 0),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]    --> src/tests.rs:938:16
[INFO] [stdout]     |
[INFO] [stdout] 938 |                 assert_ok!(Pools::join(RawOrigin::Signed(i).into(), 100 + i, pool_id));
[INFO] [stdout]     |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:940:16
[INFO] [stdout]     |
[INFO] [stdout] 940 |                 assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(i)), 100 + i);
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]    --> src/tests.rs:961:16
[INFO] [stdout]     |
[INFO] [stdout] 961 |                 assert_ok!(Pools::bond_extra(
[INFO] [stdout]     |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]    --> src/tests.rs:982:21
[INFO] [stdout]     |
[INFO] [stdout] 982 |             let reward_acc = Pools::generate_reward_account(pool_id);
[INFO] [stdout]     |                              ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:988:23
[INFO] [stdout]     |
[INFO] [stdout] 988 |                 let pre_balance = Balances::free_balance(i);
[INFO] [stdout]     |                                   ^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   use of undeclared type `Balances`
[INFO] [stdout]     |                                   help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]    --> src/tests.rs:990:6
[INFO] [stdout]     |
[INFO] [stdout] 990 |                     DelegatedStaking::held_balance_of(Delegator::from(i));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]    --> src/tests.rs:992:16
[INFO] [stdout]     |
[INFO] [stdout] 992 |                 assert_ok!(Pools::claim_payout(RawOrigin::Signed(i).into()));
[INFO] [stdout]     |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:994:18
[INFO] [stdout]     |
[INFO] [stdout] 994 |                 let reward = Balances::free_balance(i) - pre_balance;
[INFO] [stdout]     |                              ^^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              use of undeclared type `Balances`
[INFO] [stdout]     |                              help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:999:22
[INFO] [stdout]     |
[INFO] [stdout] 999 |             let pre_balance = Balances::free_balance(creator);
[INFO] [stdout]     |                               ^^^^^^^^
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               use of undeclared type `Balances`
[INFO] [stdout]     |                               help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1000:15
[INFO] [stdout]      |
[INFO] [stdout] 1000 |             assert_ok!(Pools::claim_payout(RawOrigin::Signed(creator).into()));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]     --> src/tests.rs:1002:17
[INFO] [stdout]      |
[INFO] [stdout] 1002 |             let reward = Balances::free_balance(creator) - pre_balance;
[INFO] [stdout]      |                          ^^^^^^^^
[INFO] [stdout]      |                          |
[INFO] [stdout]      |                          use of undeclared type `Balances`
[INFO] [stdout]      |                          help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]     --> src/tests.rs:1006:15
[INFO] [stdout]      |
[INFO] [stdout] 1006 |             assert_eq!(Balances::free_balance(reward_acc), ExistentialDeposit::get());
[INFO] [stdout]      |                        ^^^^^^^^
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        use of undeclared type `Balances`
[INFO] [stdout]      |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1020:19
[INFO] [stdout]      |
[INFO] [stdout] 1020 |             let pool_acc = Pools::generate_bonded_account(pool_id);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1025:5
[INFO] [stdout]      |
[INFO] [stdout] 1025 |                 Pools::withdraw_unbonded(RawOrigin::Signed(301).into(), 301, 0),
[INFO] [stdout]      |                 ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1030:15
[INFO] [stdout]      |
[INFO] [stdout] 1030 |             assert_ok!(Pools::unbond(RawOrigin::Signed(301).into(), 301, 50));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1034:15
[INFO] [stdout]      |
[INFO] [stdout] 1034 |             assert_ok!(Pools::unbond(RawOrigin::Signed(302).into(), 302, 100));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1038:15
[INFO] [stdout]      |
[INFO] [stdout] 1038 |             assert_ok!(Pools::unbond(RawOrigin::Signed(303).into(), 303, 200));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1047:6
[INFO] [stdout]      |
[INFO] [stdout] 1047 |                     Pools::withdraw_unbonded(RawOrigin::Signed(i).into(), i, 0),
[INFO] [stdout]      |                     ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]     --> src/tests.rs:1058:19
[INFO] [stdout]      |
[INFO] [stdout] 1058 |             let held_301 = DelegatedStaking::held_balance_of(Delegator::from(301));
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]     --> src/tests.rs:1059:19
[INFO] [stdout]      |
[INFO] [stdout] 1059 |             let free_301 = Balances::free_balance(301);
[INFO] [stdout]      |                            ^^^^^^^^
[INFO] [stdout]      |                            |
[INFO] [stdout]      |                            use of undeclared type `Balances`
[INFO] [stdout]      |                            help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1061:15
[INFO] [stdout]      |
[INFO] [stdout] 1061 |             assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(301).into(), 301, 0));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]     --> src/tests.rs:1070:15
[INFO] [stdout]      |
[INFO] [stdout] 1070 |             assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(301)), held_301 - 50);
[INFO] [stdout]      |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]     --> src/tests.rs:1071:15
[INFO] [stdout]      |
[INFO] [stdout] 1071 |             assert_eq!(Balances::free_balance(301), free_301 + 50);
[INFO] [stdout]      |                        ^^^^^^^^
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        use of undeclared type `Balances`
[INFO] [stdout]      |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1075:15
[INFO] [stdout]      |
[INFO] [stdout] 1075 |             assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(302).into(), 302, 0));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1076:15
[INFO] [stdout]      |
[INFO] [stdout] 1076 |             assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(303).into(), 303, 0));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1110:16
[INFO] [stdout]      |
[INFO] [stdout] 1110 |                 assert_ok!(Pools::unbond(RawOrigin::Signed(i).into(), i, 100));
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1116:16
[INFO] [stdout]      |
[INFO] [stdout] 1116 |                 assert_ok!(Pools::unbond(RawOrigin::Signed(i).into(), i, 50));
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1121:15
[INFO] [stdout]      |
[INFO] [stdout] 1121 |             assert_ok!(Pools::pool_withdraw_unbonded(RawOrigin::Signed(100).into(), pool_id, 0));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1126:15
[INFO] [stdout]      |
[INFO] [stdout] 1126 |             assert_ok!(Pools::pool_withdraw_unbonded(RawOrigin::Signed(100).into(), pool_id, 0));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1131:15
[INFO] [stdout]      |
[INFO] [stdout] 1131 |             assert_ok!(Pools::pool_withdraw_unbonded(RawOrigin::Signed(100).into(), pool_id, 0));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1142:5
[INFO] [stdout]      |
[INFO] [stdout] 1142 |                 Pools::nominate(RawOrigin::Signed(100).into(), 1, vec![99]),
[INFO] [stdout]      |                 ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1147:19
[INFO] [stdout]      |
[INFO] [stdout] 1147 |             let pool_acc = Pools::generate_bonded_account(pool_id);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1148:15
[INFO] [stdout]      |
[INFO] [stdout] 1148 |             assert_ok!(Pools::nominate(RawOrigin::Signed(100).into(), 1, vec![20, 21, 22]));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]     --> src/tests.rs:1149:12
[INFO] [stdout]      |
[INFO] [stdout] 1149 |             assert!(Staking::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![20, 21, 22])));
[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 `Pools`
[INFO] [stdout]     --> src/tests.rs:1152:15
[INFO] [stdout]      |
[INFO] [stdout] 1152 |             assert_ok!(Pools::nominate(RawOrigin::Signed(100).into(), 1, vec![18, 19, 22]));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]     --> src/tests.rs:1153:12
[INFO] [stdout]      |
[INFO] [stdout] 1153 |             assert!(Staking::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![18, 19, 22])));
[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 `Pools`
[INFO] [stdout]     --> src/tests.rs:1168:15
[INFO] [stdout]      |
[INFO] [stdout] 1168 |             assert_ok!(Pools::set_state(
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1173:15
[INFO] [stdout]      |
[INFO] [stdout] 1173 |             assert_ok!(Pools::chill(RawOrigin::Signed(creator).into(), pool_id));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1177:16
[INFO] [stdout]      |
[INFO] [stdout] 1177 |                 assert_ok!(Pools::unbond(RawOrigin::Signed(creator).into(), i, 200));
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1183:16
[INFO] [stdout]      |
[INFO] [stdout] 1183 |                 assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(creator).into(), i, 0));
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1187:15
[INFO] [stdout]      |
[INFO] [stdout] 1187 |             assert_ok!(Pools::unbond(RawOrigin::Signed(creator).into(), creator, creator_stake));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1192:15
[INFO] [stdout]      |
[INFO] [stdout] 1192 |             assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(creator).into(), creator, 0));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1208:39
[INFO] [stdout]      |
[INFO] [stdout] 1208 |             assert!(!Agents::<T>::contains_key(Pools::generate_bonded_account(pool_id)));
[INFO] [stdout]      |                                                ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1209:37
[INFO] [stdout]      |
[INFO] [stdout] 1209 |             assert!(!System::account_exists(&Pools::generate_bonded_account(pool_id)));
[INFO] [stdout]      |                                              ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1226:19
[INFO] [stdout]      |
[INFO] [stdout] 1226 |             let pool_acc = Pools::generate_bonded_account(pool_id);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]     --> src/tests.rs:1229:15
[INFO] [stdout]      |
[INFO] [stdout] 1229 |             assert_eq!(Staking::stake(&pool_acc).unwrap().total, total_staked);
[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 `Pools`
[INFO] [stdout]     --> src/tests.rs:1233:15
[INFO] [stdout]      |
[INFO] [stdout] 1233 |             assert_ok!(Pools::unbond(RawOrigin::Signed(300).into(), 300, delegator_stake));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1236:15
[INFO] [stdout]      |
[INFO] [stdout] 1236 |             assert_ok!(Pools::unbond(RawOrigin::Signed(301).into(), 301, delegator_stake));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1239:15
[INFO] [stdout]      |
[INFO] [stdout] 1239 |             assert_ok!(Pools::unbond(RawOrigin::Signed(302).into(), 302, delegator_stake));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1249:15
[INFO] [stdout]      |
[INFO] [stdout] 1249 |             assert_eq!(Pools::api_pool_pending_slash(pool_id), 0);
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1261:15
[INFO] [stdout]      |
[INFO] [stdout] 1261 |             assert_eq!(Pools::api_pool_pending_slash(pool_id), 500);
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]     --> src/tests.rs:1277:15
[INFO] [stdout]      |
[INFO] [stdout] 1277 |             assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(creator)), creator_stake);
[INFO] [stdout]      |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]     --> src/tests.rs:1279:16
[INFO] [stdout]      |
[INFO] [stdout] 1279 |                 assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(i)), delegator_stake);
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]     --> src/tests.rs:1283:5
[INFO] [stdout]      |
[INFO] [stdout] 1283 |                 Staking::total_stake(&pool_acc).unwrap()
[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 `Pools`
[INFO] [stdout]     --> src/tests.rs:1294:15
[INFO] [stdout]      |
[INFO] [stdout] 1294 |             assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(300).into(), 300, 1));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]     --> src/tests.rs:1303:23
[INFO] [stdout]      |
[INFO] [stdout] 1303 |                 let pre_balance = Balances::free_balance(i);
[INFO] [stdout]      |                                   ^^^^^^^^
[INFO] [stdout]      |                                   |
[INFO] [stdout]      |                                   use of undeclared type `Balances`
[INFO] [stdout]      |                                   help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1305:16
[INFO] [stdout]      |
[INFO] [stdout] 1305 |                 assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(i).into(), i, 0));
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]     --> src/tests.rs:1314:16
[INFO] [stdout]      |
[INFO] [stdout] 1314 |                 assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(i)), 0);
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]     --> src/tests.rs:1315:16
[INFO] [stdout]      |
[INFO] [stdout] 1315 |                 assert_eq!(Balances::free_balance(i) - pre_balance, 50);
[INFO] [stdout]      |                            ^^^^^^^^
[INFO] [stdout]      |                            |
[INFO] [stdout]      |                            use of undeclared type `Balances`
[INFO] [stdout]      |                            help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1326:16
[INFO] [stdout]      |
[INFO] [stdout] 1326 |                 assert_eq!(Pools::api_pool_pending_slash(pool_id), pre_pending_slash);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1328:16
[INFO] [stdout]      |
[INFO] [stdout] 1328 |                 assert_eq!(Pools::api_member_pending_slash(i), 50);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1330:16
[INFO] [stdout]      |
[INFO] [stdout] 1330 |                 assert_ok!(Pools::apply_slash(RawOrigin::Signed(slash_reporter).into(), i));
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1332:16
[INFO] [stdout]      |
[INFO] [stdout] 1332 |                 assert_eq!(Pools::api_member_pending_slash(i), 0);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1337:16
[INFO] [stdout]      |
[INFO] [stdout] 1337 |                 assert_eq!(Pools::api_pool_pending_slash(pool_id), pre_pending_slash - 50);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking`
[INFO] [stdout]     --> src/tests.rs:1339:16
[INFO] [stdout]      |
[INFO] [stdout] 1339 |                 assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(i)), 50);
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1343:15
[INFO] [stdout]      |
[INFO] [stdout] 1343 |             assert_eq!(Pools::api_pool_pending_slash(pool_id), 250);
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]     --> src/tests.rs:1346:15
[INFO] [stdout]      |
[INFO] [stdout] 1346 |             assert_eq!(Balances::free_balance(slash_reporter), 100 + 5 * 3);
[INFO] [stdout]      |                        ^^^^^^^^
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        use of undeclared type `Balances`
[INFO] [stdout]      |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1348:15
[INFO] [stdout]      |
[INFO] [stdout] 1348 |             assert_eq!(Pools::api_member_pending_slash(creator), 250);
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1350:15
[INFO] [stdout]      |
[INFO] [stdout] 1350 |             assert_ok!(Pools::apply_slash(RawOrigin::Signed(slash_reporter).into(), creator));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1352:15
[INFO] [stdout]      |
[INFO] [stdout] 1352 |             assert_eq!(Pools::api_member_pending_slash(creator), 0);
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1356:15
[INFO] [stdout]      |
[INFO] [stdout] 1356 |             assert_eq!(Pools::api_pool_pending_slash(pool_id), 0);
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]     --> src/tests.rs:1359:15
[INFO] [stdout]      |
[INFO] [stdout] 1359 |             assert_eq!(Balances::free_balance(slash_reporter), 115 + 25);
[INFO] [stdout]      |                        ^^^^^^^^
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        use of undeclared type `Balances`
[INFO] [stdout]      |                        help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1376:15
[INFO] [stdout]      |
[INFO] [stdout] 1376 |             assert_ok!(Pools::join(RawOrigin::Signed(delegator).into(), 200, pool_id));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]     --> src/tests.rs:1379:15
[INFO] [stdout]      |
[INFO] [stdout] 1379 |             assert_ok!(Staking::bond(
[INFO] [stdout]      |                        ^^^^^^^
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        use of undeclared type `Staking`
[INFO] [stdout]      |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]     --> src/tests.rs:1380:5
[INFO] [stdout]      |
[INFO] [stdout] 1380 |                 RuntimeOrigin::signed(delegator),
[INFO] [stdout]      |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]     --> src/tests.rs:1384:15
[INFO] [stdout]      |
[INFO] [stdout] 1384 |             assert_ok!(Staking::nominate(
[INFO] [stdout]      |                        ^^^^^^^
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        use of undeclared type `Staking`
[INFO] [stdout]      |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]     --> src/tests.rs:1385:5
[INFO] [stdout]      |
[INFO] [stdout] 1385 |                 RuntimeOrigin::signed(delegator),
[INFO] [stdout]      |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1391:5
[INFO] [stdout]      |
[INFO] [stdout] 1391 |                 Pools::bond_extra(RawOrigin::Signed(delegator).into(), BondExtra::FreeBalance(100)),
[INFO] [stdout]      |                 ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1396:15
[INFO] [stdout]      |
[INFO] [stdout] 1396 |             assert_ok!(Pools::unbond(RawOrigin::Signed(delegator).into(), delegator, 50));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1399:15
[INFO] [stdout]      |
[INFO] [stdout] 1399 |             assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(delegator).into(), delegator, 0));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1405:14
[INFO] [stdout]      |
[INFO] [stdout] 1405 |         assert_ok!(Pools::create(
[INFO] [stdout]      |                    ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1419:15
[INFO] [stdout]      |
[INFO] [stdout] 1419 |             assert_ok!(Pools::join(RawOrigin::Signed(delegator).into(), amount, pool_id));
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools`
[INFO] [stdout]     --> src/tests.rs:1424:21
[INFO] [stdout]      |
[INFO] [stdout] 1424 |         get_agent_ledger(&Pools::generate_bonded_account(pool_id))
[INFO] [stdout]      |                           ^^^^^ use of undeclared type `Pools`
[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-delegated-staking` (lib test) due to 297 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2952504a11aa1b3a926663173e9fdb6c89e4a8711c664b66e79cd308ca511d62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2952504a11aa1b3a926663173e9fdb6c89e4a8711c664b66e79cd308ca511d62", kill_on_drop: false }`
[INFO] [stdout] 2952504a11aa1b3a926663173e9fdb6c89e4a8711c664b66e79cd308ca511d62
