[INFO] fetching crate pallet-delegated-staking 13.0.0...
[INFO] testing pallet-delegated-staking-13.0.0 against 1.95.0 for beta-1.96-2
[INFO] extracting crate pallet-delegated-staking 13.0.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate pallet-delegated-staking 13.0.0
[INFO] finished tweaking crates.io crate pallet-delegated-staking 13.0.0
[INFO] tweaked toml for crates.io crate pallet-delegated-staking 13.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate pallet-delegated-staking 13.0.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate pallet-delegated-staking 13.0.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded include_dir v0.7.3
[INFO] [stderr]   Downloaded frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]   Downloaded include_dir_macros v0.7.3
[INFO] [stderr]   Downloaded proc-macro-warning v1.0.0
[INFO] [stderr]   Downloaded sp-weights v34.0.0
[INFO] [stderr]   Downloaded cc v1.2.35
[INFO] [stderr]   Downloaded sp-debug-derive v15.0.0
[INFO] [stderr]   Downloaded cfg-expr v0.15.5
[INFO] [stderr]   Downloaded sp-arithmetic v28.0.1
[INFO] [stderr]   Downloaded sp-staking v43.0.0
[INFO] [stderr]   Downloaded atomic-waker v1.1.1
[INFO] [stderr]   Downloaded w3f-pcs v0.0.2
[INFO] [stderr]   Downloaded file-guard v0.2.0
[INFO] [stderr]   Downloaded tuplex v0.1.2
[INFO] [stderr]   Downloaded spki v0.7.2
[INFO] [stderr]   Downloaded array-bytes v6.2.2
[INFO] [stderr]   Downloaded impl-num-traits v0.2.0
[INFO] [stderr]   Downloaded substrate-prometheus-endpoint v0.17.7
[INFO] [stderr]   Downloaded ed25519 v2.2.2
[INFO] [stderr]   Downloaded sp-keystore v0.46.0
[INFO] [stderr]   Downloaded tt-call v1.0.9
[INFO] [stderr]   Downloaded macro_magic_core_macros v0.5.1
[INFO] [stderr]   Downloaded sp-version v44.0.0
[INFO] [stderr]   Downloaded const-random-macro v0.1.15
[INFO] [stderr]   Downloaded simple-mermaid v0.1.1
[INFO] [stderr]   Downloaded prettyplease v0.2.12
[INFO] [stderr]   Downloaded macro_magic v0.5.1
[INFO] [stderr]   Downloaded sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]   Downloaded sp-api v41.0.0
[INFO] [stderr]   Downloaded frame-support-procedural-tools v13.0.1
[INFO] [stderr]   Downloaded frame-support-procedural v37.0.0
[INFO] [stderr]   Downloaded h2 v0.4.5
[INFO] [stderr]   Downloaded winnow v0.5.15
[INFO] [stderr]   Downloaded ark-transcript v0.0.3
[INFO] [stderr]   Downloaded ed25519-dalek v2.1.1
[INFO] [stderr]   Downloaded parity-wasm v0.45.0
[INFO] [stderr]   Downloaded polkavm-common v0.31.0
[INFO] [stderr]   Downloaded sp-trie v43.0.0
[INFO] [stderr]   Downloaded sp-io v45.0.0
[INFO] [stderr]   Downloaded ark-bls12-381 v0.4.0
[INFO] [stderr]   Downloaded w3f-plonk-common v0.0.2
[INFO] [stderr]   Downloaded const-oid v0.9.5
[INFO] [stderr]   Downloaded ark-bls12-381 v0.5.0
[INFO] [stderr]   Downloaded fiat-crypto v0.2.5
[INFO] [stderr]   Downloaded ark-vrf v0.1.0
[INFO] [stderr]   Downloaded sp-runtime v46.0.0
[INFO] [stderr]   Downloaded trie-db v0.31.0
[INFO] [stderr]   Downloaded w3f-bls v0.1.9
[INFO] [stderr]   Downloaded aho-corasick v1.0.4
[INFO] [stderr]   Downloaded prometheus v0.13.3
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.0
[INFO] [stderr]   Downloaded frame-metadata v23.0.1
[INFO] [stderr]   Downloaded jam-codec-derive v0.1.0
[INFO] [stderr]   Downloaded jam-codec v0.1.0
[INFO] [stderr]   Downloaded bounded-collections v0.3.2
[INFO] [stderr]   Downloaded derive-syn-parse v0.2.0
[INFO] [stderr]   Downloaded docify_macros v0.2.9
[INFO] [stderr]   Downloaded docify v0.2.9
[INFO] [stderr]   Downloaded sp-inherents v41.0.0
[INFO] [stderr]   Downloaded sp-version-proc-macro v15.0.0
[INFO] [stderr]   Downloaded binary-merkle-tree v16.1.1
[INFO] [stderr]   Downloaded polkavm-derive-impl v0.31.0
[INFO] [stderr]   Downloaded sp-tracing v19.0.0
[INFO] [stderr]   Downloaded const-random v0.1.15
[INFO] [stderr]   Downloaded tokio v1.45.0
[INFO] [stderr]   Downloaded hex-conservative v0.1.1
[INFO] [stderr]   Downloaded sp-std v14.0.0
[INFO] [stderr]   Downloaded sp-externalities v0.32.0
[INFO] [stderr]   Downloaded ark-ed-on-bls12-381-bandersnatch v0.5.0
[INFO] [stderr]   Downloaded impl-codec v0.7.1
[INFO] [stderr]   Downloaded sp-api-proc-macro v27.0.0
[INFO] [stderr]   Downloaded polkavm-derive v0.31.0
[INFO] [stderr]   Downloaded sp-storage v23.0.0
[INFO] [stderr]   Downloaded sp-panic-handler v13.0.2
[INFO] [stderr]   Downloaded w3f-ring-proof v0.0.2
[INFO] [stderr]   Downloaded bip39 v2.2.0
[INFO] [stderr]   Downloaded crypto-bigint v0.5.2
[INFO] [stderr]   Downloaded serdect v0.2.0
[INFO] [stderr]   Downloaded ss58-registry v1.43.0
[INFO] [stderr]   Downloaded substrate-bip39 v0.6.1
[INFO] [stderr]   Downloaded macro_magic_core v0.5.1
[INFO] [stderr]   Downloaded macro_magic_macros v0.5.1
[INFO] [stderr]   Downloaded sp-genesis-builder v0.22.0
[INFO] [stderr]   Downloaded sp-metadata-ir v0.12.3
[INFO] [stderr]   Downloaded frame-system v46.0.0
[INFO] [stderr]   Downloaded picosimd v0.9.2
[INFO] [stderr]   Downloaded fs-err v2.9.0
[INFO] [stderr]   Downloaded sp-runtime-interface-proc-macro v21.0.0
[INFO] [stderr]   Downloaded sp-wasm-interface v24.0.0
[INFO] [stderr]   Downloaded sp-runtime-interface v34.0.0
[INFO] [stderr]   Downloaded sp-state-machine v0.50.0
[INFO] [stderr]   Downloaded memory-db v0.34.0
[INFO] [stderr]   Downloaded signature v2.1.0
[INFO] [stderr]   Downloaded curve25519-dalek-derive v0.1.0
[INFO] [stderr]   Downloaded sp-core v40.0.0
[INFO] [stderr]   Downloaded common-path v1.0.0
[INFO] [stderr]   Downloaded toml_edit v0.21.0
[INFO] [stderr]   Downloaded frame-support v46.0.0
[INFO] [stderr]   Downloaded sp-application-crypto v45.0.0
[INFO] [stderr]   Downloaded polkavm-derive-impl-macro v0.31.0
[INFO] [stderr]   Downloaded expander v2.2.1
[INFO] [stderr]   Downloaded der v0.7.8
[INFO] [stderr]   Downloaded ecdsa v0.16.8
[INFO] [stderr]   Downloaded ark-bls12-377 v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 033c0e06f59fba37e701cfc4fa666e49c59bdefb5ae91f938ebf157416d6ea54
[INFO] running `Command { std: "docker" "start" "-a" "033c0e06f59fba37e701cfc4fa666e49c59bdefb5ae91f938ebf157416d6ea54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "033c0e06f59fba37e701cfc4fa666e49c59bdefb5ae91f938ebf157416d6ea54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "033c0e06f59fba37e701cfc4fa666e49c59bdefb5ae91f938ebf157416d6ea54", kill_on_drop: false }`
[INFO] [stdout] 033c0e06f59fba37e701cfc4fa666e49c59bdefb5ae91f938ebf157416d6ea54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 600f42e2f99f8f77215c22d193436abdad83029c507554303c2b96302f2f680d
[INFO] running `Command { std: "docker" "start" "-a" "600f42e2f99f8f77215c22d193436abdad83029c507554303c2b96302f2f680d", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling winnow v0.5.15
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling const-oid v0.9.5
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling byte-slice-cast v1.2.3
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling aho-corasick v1.0.4
[INFO] [stderr]    Compiling semver v1.0.18
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling proc-macro-warning v1.0.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling const_format v0.2.34
[INFO] [stderr]    Compiling keccak v0.1.4
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling constant_time_eq v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling integer-sqrt v0.1.5
[INFO] [stderr]    Compiling jam-codec v0.1.0
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling prettyplease v0.2.12
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling hash-db v0.16.0
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling winnow v0.6.18
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling uint v0.10.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling signature v2.1.0
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.0
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sp-debug-derive v15.0.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling crypto-bigint v0.5.2
[INFO] [stderr]    Compiling spki v0.7.2
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling ed25519 v2.2.2
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling serdect v0.2.0
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling impl-serde v0.5.0
[INFO] [stderr]    Compiling serde_spanned v0.6.7
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling serde_bytes v0.11.12
[INFO] [stderr]    Compiling environmental v1.1.4
[INFO] [stderr]    Compiling toml_edit v0.21.0
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling atomic-waker v1.1.1
[INFO] [stderr]    Compiling expander v2.2.1
[INFO] [stderr]    Compiling hex-conservative v0.1.1
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling schnorrkel v0.11.4
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling bitcoin_hashes v0.13.0
[INFO] [stderr]    Compiling ecdsa v0.16.8
[INFO] [stderr]    Compiling ss58-registry v1.43.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling impl-num-traits v0.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling blake2b_simd v1.0.2
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling num-format v0.4.4
[INFO] [stderr]    Compiling file-guard v0.2.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling jam-codec-derive v0.1.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]    Compiling prometheus v0.13.3
[INFO] [stderr]    Compiling fs-err v2.9.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling sp-std v14.0.0
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling docify_macros v0.2.9
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling sp-crypto-hashing v0.1.0
[INFO] [stderr]    Compiling ed25519-zebra v4.0.3
[INFO] [stderr]    Compiling bip39 v2.2.0
[INFO] [stderr]    Compiling scale-info v2.11.6
[INFO] [stderr]    Compiling sp-storage v23.0.0
[INFO] [stderr]    Compiling sp-externalities v0.32.0
[INFO] [stderr]    Compiling impl-codec v0.7.1
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling substrate-bip39 v0.6.1
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling gimli v0.28.0
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling array-bytes v6.2.2
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling bounded-collections v0.3.2
[INFO] [stderr]    Compiling primitive-types v0.13.1
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling docify v0.2.9
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling sp-core v40.0.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling schnellru v0.2.3
[INFO] [stderr]    Compiling substrate-prometheus-endpoint v0.17.7
[INFO] [stderr]    Compiling trie-db v0.31.0
[INFO] [stderr]    Compiling memory-db v0.34.0
[INFO] [stderr]    Compiling trie-root v0.18.0
[INFO] [stderr]    Compiling sp-wasm-interface v24.0.0
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v21.0.0
[INFO] [stderr]    Compiling sp-io v45.0.0
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling sp-tracing v19.0.0
[INFO] [stderr]    Compiling sp-trie v43.0.0
[INFO] [stderr]    Compiling sp-keystore v0.46.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling sp-runtime-interface v34.0.0
[INFO] [stderr]    Compiling sp-arithmetic v28.0.1
[INFO] [stderr]    Compiling const-random-macro v0.1.15
[INFO] [stderr]    Compiling binary-merkle-tree v16.1.1
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling tuplex v0.1.2
[INFO] [stderr]    Compiling simple-mermaid v0.1.1
[INFO] [stderr]    Compiling sp-panic-handler v13.0.2
[INFO] [stderr]    Compiling sp-state-machine v0.50.0
[INFO] [stderr]    Compiling const-random v0.1.15
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling sp-weights v34.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling sp-version-proc-macro v15.0.0
[INFO] [stderr]    Compiling frame-metadata v23.0.1
[INFO] [stderr]    Compiling parity-wasm v0.45.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling sp-api-proc-macro v27.0.0
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.3
[INFO] [stderr]    Compiling frame-support-procedural-tools v13.0.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cfg-expr v0.15.5
[INFO] [stderr]    Compiling include_dir v0.7.3
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling sp-metadata-ir v0.12.3
[INFO] [stderr]    Compiling frame-support-procedural v37.0.0
[INFO] [stderr]    Compiling tt-call v1.0.9
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]    Compiling sp-application-crypto v45.0.0
[INFO] [stderr]    Compiling sp-runtime v46.0.0
[INFO] [stderr]    Compiling sp-version v44.0.0
[INFO] [stderr]    Compiling sp-inherents v41.0.0
[INFO] [stderr]    Compiling sp-staking v43.0.0
[INFO] [stderr]    Compiling sp-api v41.0.0
[INFO] [stderr]    Compiling sp-genesis-builder v0.22.0
[INFO] [stderr]    Compiling frame-support v46.0.0
[INFO] [stderr]    Compiling frame-system v46.0.0
[INFO] [stderr]    Compiling pallet-delegated-staking v13.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 50s
[INFO] running `Command { std: "docker" "inspect" "600f42e2f99f8f77215c22d193436abdad83029c507554303c2b96302f2f680d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "600f42e2f99f8f77215c22d193436abdad83029c507554303c2b96302f2f680d", kill_on_drop: false }`
[INFO] [stdout] 600f42e2f99f8f77215c22d193436abdad83029c507554303c2b96302f2f680d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72545d1fa26fb8d60da9c476a047d6700b063108aef5366ea31e092e98d65d11
[INFO] running `Command { std: "docker" "start" "-a" "72545d1fa26fb8d60da9c476a047d6700b063108aef5366ea31e092e98d65d11", kill_on_drop: false }`
[INFO] [stderr]    Compiling pallet-delegated-staking v13.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `frame_election_provider_support` in this scope
[INFO] [stdout]   --> src/mock.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `frame_election_provider_support`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `pallet_staking`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml`
[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::{ConstBool, U256};
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `sp_core`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `pallet_nomination_pools`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `pallet_staking`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_nomination_pools`
[INFO] [stdout]    --> src/tests.rs:825:6
[INFO] [stdout]     |
[INFO] [stdout] 825 |     use pallet_nomination_pools::{BondExtra, BondedPools, PoolState};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_nomination_pools` in this scope
[INFO] [stdout]    --> src/mock.rs:177:10
[INFO] [stdout]     |
[INFO] [stdout] 177 |         Pools: pallet_nomination_pools,
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope
[INFO] [stdout]    --> src/mock.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 | #[derive_impl(pallet_staking::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking_reward_curve` in this scope
[INFO] [stdout]   --> src/mock.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | pallet_staking_reward_curve::build! {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope
[INFO] [stdout]   --> src/mock.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_nomination_pools` in this scope
[INFO] [stdout]    --> src/mock.rs:165:3
[INFO] [stdout]     |
[INFO] [stdout] 165 |         pallet_nomination_pools::adapter::DelegateStake<Self, Staking, DelegatedStaking>;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope
[INFO] [stdout]    --> src/tests.rs:227:3
[INFO] [stdout]     |
[INFO] [stdout] 227 |         pallet_staking::slashing::do_slash::<T>(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope
[INFO] [stdout]    --> src/tests.rs:644:15
[INFO] [stdout]     |
[INFO] [stdout] 644 |             assert_eq!(pallet_staking::asset::total_balance::<T>(&agent), agent_amount);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope
[INFO] [stdout]     --> src/tests.rs:1216:4
[INFO] [stdout]      |
[INFO] [stdout] 1216 |             pallet_staking::slashing::do_slash::<T>(
[INFO] [stdout]      |             ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_nomination_pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1391:3
[INFO] [stdout]      |
[INFO] [stdout] 1391 |         pallet_nomination_pools::LastPoolId::<T>::get()
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |             type Self::RuntimeEvent = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |             type Self::RuntimeOrigin = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |             type Self::RuntimeCall = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-46.0.0/src/lib.rs:142:1
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub struct PalletId(pub [u8; 8]);
[INFO] [stdout]     | ------------------- similarly named struct `PalletId` defined here
[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-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |             type Self::PalletInfo = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 -             type PalletInfo = ();
[INFO] [stdout] 356 +             type PalletId = ();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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-1949cf8c6b5b557f/frame-system-46.0.0/src/lib.rs:358:9
[INFO] [stdout]     |
[INFO] [stdout] 358 |             type Self::RuntimeTask = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: 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[E0425]: 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[E0425]: cannot find type `Staking` in this scope
[INFO] [stdout]   --> src/mock.rs:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |     type DataProvider = Staking;
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/string.rs:353:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 97 -     type DataProvider = Staking;
[INFO] [stdout] 97 +     type DataProvider = String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:124:36
[INFO] [stdout]     |
[INFO] [stdout] 124 | impl delegated_staking::Config for Runtime {
[INFO] [stdout]     |                                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout] 125 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 125 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:127:18
[INFO] [stdout]     |
[INFO] [stdout]  62 | pub type Balance = u128;
[INFO] [stdout]     | ------------------------ similarly named type alias `Balance` defined here
[INFO] [stdout] ...
[INFO] [stdout] 127 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 127 -     type Currency = Balances;
[INFO] [stdout] 127 +     type Currency = Balance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeHoldReason` in this scope
[INFO] [stdout]    --> src/mock.rs:130:27
[INFO] [stdout]     |
[INFO] [stdout] 130 |     type RuntimeHoldReason = RuntimeHoldReason;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 130 |     type RuntimeHoldReason = Self::RuntimeHoldReason;
[INFO] [stdout]     |                              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:131:21
[INFO] [stdout]     |
[INFO] [stdout] 131 |     type CoreStaking = Staking;
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/string.rs:353:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 131 -     type CoreStaking = Staking;
[INFO] [stdout] 131 +     type CoreStaking = String;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:151:42
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl pallet_nomination_pools::Config for Runtime {
[INFO] [stdout]     |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:152:22
[INFO] [stdout]     |
[INFO] [stdout] 152 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout]  62 | pub type Balance = u128;
[INFO] [stdout]     | ------------------------ similarly named type alias `Balance` defined here
[INFO] [stdout] ...
[INFO] [stdout] 154 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 154 -     type Currency = Balances;
[INFO] [stdout] 154 +     type Currency = Balance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RuntimeFreezeReason` in this scope
[INFO] [stdout]    --> src/mock.rs:155:29
[INFO] [stdout]     |
[INFO] [stdout] 155 |     type RuntimeFreezeReason = RuntimeFreezeReason;
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:165:57
[INFO] [stdout]     |
[INFO] [stdout] 165 |         pallet_nomination_pools::adapter::DelegateStake<Self, Staking, DelegatedStaking>;
[INFO] [stdout]     |                                                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/string.rs:353:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 165 -         pallet_nomination_pools::adapter::DelegateStake<Self, Staking, DelegatedStaking>;
[INFO] [stdout] 165 +         pallet_nomination_pools::adapter::DelegateStake<Self, String, DelegatedStaking>;
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl<Staking> pallet_nomination_pools::Config for Runtime {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/mock.rs:165:66
[INFO] [stdout]     |
[INFO] [stdout] 165 |         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] 151 | impl<DelegatedStaking> pallet_nomination_pools::Config for Runtime {
[INFO] [stdout]     |     ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/mock.rs:167:29
[INFO] [stdout]     |
[INFO] [stdout] 167 |     type BlockNumberProvider = System;
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[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[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:168:43
[INFO] [stdout]     |
[INFO] [stdout] 168 |     type Filter = pallet_staking::AllStakers<Runtime>;
[INFO] [stdout]     |                                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl<Runtime> pallet_nomination_pools::Config for Runtime {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:189:34
[INFO] [stdout]     |
[INFO] [stdout] 189 |             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] 185 | impl<Runtime> ExtBuilder {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:239:27
[INFO] [stdout]     |
[INFO] [stdout] 239 |             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] 185 | impl<Runtime> ExtBuilder {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:320:83
[INFO] [stdout]     |
[INFO] [stdout] 320 | 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] 320 | 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]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/mock.rs:321:15
[INFO] [stdout]     |
[INFO] [stdout] 321 |     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[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:321:79
[INFO] [stdout]     |
[INFO] [stdout] 321 |     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] 320 | pub(crate) fn pool_events_since_last_call<Runtime>() -> Vec<pallet_nomination_pools::Event<Runtime>> {
[INFO] [stdout]     |                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:327:60
[INFO] [stdout]     |
[INFO] [stdout] 327 | 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] 327 | pub(crate) fn events_since_last_call<Runtime>() -> Vec<crate::Event<Runtime>> {
[INFO] [stdout]     |                                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/mock.rs:328:15
[INFO] [stdout]     |
[INFO] [stdout] 328 |     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[E0425]: cannot find type `Runtime` in this scope
[INFO] [stdout]    --> src/mock.rs:328:61
[INFO] [stdout]     |
[INFO] [stdout] 328 |     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] 327 | pub(crate) fn events_since_last_call<Runtime>() -> Vec<crate::Event<Runtime>> {
[INFO] [stdout]     |                                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:238:5
[INFO] [stdout]     |
[INFO] [stdout] 238 |             <DelegatedStaking as DelegationInterface>::delegator_slash(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:249:5
[INFO] [stdout]     |
[INFO] [stdout] 249 |             <DelegatedStaking as DelegationInterface>::delegator_slash(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:270:16
[INFO] [stdout]     |
[INFO] [stdout] 270 |             assert_ok!(<DelegatedStaking as DelegationInterface>::delegator_slash(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:290:6
[INFO] [stdout]     |
[INFO] [stdout] 290 |                 <Staking as StakingInterface>::slash_reward_fraction() * slash,
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/string.rs:353:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 290 -                 <Staking as StakingInterface>::slash_reward_fraction() * slash,
[INFO] [stdout] 290 +                 <String as StakingInterface>::slash_reward_fraction() * slash,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:301:5
[INFO] [stdout]     |
[INFO] [stdout] 301 |             <DelegatedStaking as DelegationInterface>::delegator_slash(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:583:6
[INFO] [stdout]     |
[INFO] [stdout] 583 |                 <Staking as StakingInterface>::set_payee(&200, &200),
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/string.rs:353:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 583 -                 <Staking as StakingInterface>::set_payee(&200, &200),
[INFO] [stdout] 583 +                 <String as StakingInterface>::set_payee(&200, &200),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:588:16
[INFO] [stdout]     |
[INFO] [stdout] 588 |             assert_ok!(<Staking as StakingInterface>::set_payee(&200, &201));
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/alloc/src/string.rs:353:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 588 -             assert_ok!(<Staking as StakingInterface>::set_payee(&200, &201));
[INFO] [stdout] 588 +             assert_ok!(<String as StakingInterface>::set_payee(&200, &201));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:638:15
[INFO] [stdout]     |
[INFO] [stdout] 638 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:655:15
[INFO] [stdout]     |
[INFO] [stdout] 655 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:658:15
[INFO] [stdout]     |
[INFO] [stdout] 658 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:681:16
[INFO] [stdout]     |
[INFO] [stdout] 681 |                 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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:689:16
[INFO] [stdout]     |
[INFO] [stdout] 689 |                 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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:720:15
[INFO] [stdout]     |
[INFO] [stdout] 720 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:739:16
[INFO] [stdout]     |
[INFO] [stdout] 739 |                 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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:747:15
[INFO] [stdout]     |
[INFO] [stdout] 747 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:762:15
[INFO] [stdout]     |
[INFO] [stdout] 762 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:771:15
[INFO] [stdout]     |
[INFO] [stdout] 771 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:778:15
[INFO] [stdout]     |
[INFO] [stdout] 778 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:787:15
[INFO] [stdout]     |
[INFO] [stdout] 787 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:811:15
[INFO] [stdout]     |
[INFO] [stdout] 811 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:812:15
[INFO] [stdout]     |
[INFO] [stdout] 812 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:817:15
[INFO] [stdout]     |
[INFO] [stdout] 817 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:818:15
[INFO] [stdout]     |
[INFO] [stdout] 818 |             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] 344 +     use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]     --> src/tests.rs:1021:4
[INFO] [stdout]      |
[INFO] [stdout] 1021 |             System::reset_events();
[INFO] [stdout]      |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout]  824 +     use std::alloc::System;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]     --> src/tests.rs:1154:4
[INFO] [stdout]      |
[INFO] [stdout] 1154 |             System::reset_events();
[INFO] [stdout]      |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout]  824 +     use std::alloc::System;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]     --> src/tests.rs:1173:13
[INFO] [stdout]      |
[INFO] [stdout] 1173 |             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]  824 +     use std::alloc::System;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]     --> src/tests.rs:1204:4
[INFO] [stdout]      |
[INFO] [stdout] 1204 |             System::reset_events();
[INFO] [stdout]      |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout]  824 +     use std::alloc::System;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `System` in this scope
[INFO] [stdout]     --> src/tests.rs:1255:4
[INFO] [stdout]      |
[INFO] [stdout] 1255 |             System::reset_events();
[INFO] [stdout]      |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]      |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]      |
[INFO] [stdout]  824 +     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)]` (part of `#[warn(unused)]`) 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]: cannot find module or crate `pallet_balances` in this scope
[INFO] [stdout]   --> src/mock.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |     type AccountData = pallet_balances::AccountData<Balance>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_timestamp` in this scope
[INFO] [stdout]   --> src/mock.rs:55:6
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl pallet_timestamp::Config for Runtime {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_timestamp`, use `cargo add pallet_timestamp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_nomination_pools` in this scope
[INFO] [stdout]    --> src/mock.rs:151:6
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl pallet_nomination_pools::Config for Runtime {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope
[INFO] [stdout]    --> src/mock.rs:168:16
[INFO] [stdout]     |
[INFO] [stdout] 168 |     type Filter = pallet_staking::AllStakers<Runtime>;
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `sp_tracing` in this scope
[INFO] [stdout]    --> src/mock.rs:187:3
[INFO] [stdout]     |
[INFO] [stdout] 187 |         sp_tracing::try_init_simple();
[INFO] [stdout]     |         ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 187 -         sp_tracing::try_init_simple();
[INFO] [stdout] 187 +         sp_staking::try_init_simple();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_balances` in this scope
[INFO] [stdout]    --> src/mock.rs:191:11
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let _ = pallet_balances::GenesisConfig::<T> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope
[INFO] [stdout]    --> src/mock.rs:222:11
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let _ = pallet_staking::GenesisConfig::<T> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `sp_tracing` in this scope
[INFO] [stdout]    --> src/mock.rs:247:3
[INFO] [stdout]     |
[INFO] [stdout] 247 |         sp_tracing::try_init_simple();
[INFO] [stdout]     |         ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 247 -         sp_tracing::try_init_simple();
[INFO] [stdout] 247 +         sp_staking::try_init_simple();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/mock.rs:258:4
[INFO] [stdout]     |
[INFO] [stdout] 258 |             DelegatedStaking::do_try_state().unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:265:10
[INFO] [stdout]     |
[INFO] [stdout] 265 |     let _ = Balances::deposit_creating(who, amount);
[INFO] [stdout]     |             ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 265 -     let _ = Balances::deposit_creating(who, amount);
[INFO] [stdout] 265 +     let _ = Balance::deposit_creating(who, amount);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/mock.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |     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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/mock.rs:287:14
[INFO] [stdout]     |
[INFO] [stdout] 287 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/mock.rs:295:13
[INFO] [stdout]     |
[INFO] [stdout] 295 |     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]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:307:2
[INFO] [stdout]     |
[INFO] [stdout] 307 |     Staking::stake(&who).unwrap() == Stake { total, active } &&
[INFO] [stdout]     |     ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 307 -     Staking::stake(&who).unwrap() == Stake { total, active } &&
[INFO] [stdout] 307 +     String::stake(&who).unwrap() == Stake { total, active } &&
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_nomination_pools` in this scope
[INFO] [stdout]    --> src/mock.rs:320:52
[INFO] [stdout]     |
[INFO] [stdout] 320 | pub(crate) fn pool_events_since_last_call() -> Vec<pallet_nomination_pools::Event<Runtime>> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `pallet_nomination_pools` in this scope
[INFO] [stdout]    --> src/mock.rs:321:48
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let events = System::read_events_for_pallet::<pallet_nomination_pools::Event<Runtime>>();
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[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]: cannot find type `DelegatedStaking` in this scope
[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]: cannot find type `DelegatedStaking` in this scope
[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]: cannot find type `DelegatedStaking` in this scope
[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]: cannot find type `Balances` in this scope
[INFO] [stdout]   --> src/tests.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]    |             ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 53 -             Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout] 53 +             Balance::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[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]: cannot find type `DelegatedStaking` in this scope
[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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]   --> src/tests.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |         assert!(!DelegatedStaking::is_agent(&agent));
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]   --> src/tests.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 |         assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 0);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]   --> src/tests.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]   --> src/tests.rs:91:15
[INFO] [stdout]    |
[INFO] [stdout] 91 |             assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]   --> src/tests.rs:97:15
[INFO] [stdout]    |
[INFO] [stdout] 97 |             assert_eq!(Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &i), 100);
[INFO] [stdout]    |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 97 -             assert_eq!(Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &i), 100);
[INFO] [stdout] 97 +             assert_eq!(Balance::balance_on_hold(&HoldReason::StakingDelegation.into(), &i), 100);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:101:11
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert!(DelegatedStaking::is_agent(&agent));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |         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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:127:14
[INFO] [stdout]     |
[INFO] [stdout] 127 |         assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:132:14
[INFO] [stdout]     |
[INFO] [stdout] 132 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 |             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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:154:4
[INFO] [stdout]     |
[INFO] [stdout] 154 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:165:4
[INFO] [stdout]     |
[INFO] [stdout] 165 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:198:4
[INFO] [stdout]     |
[INFO] [stdout] 198 |             DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:208:4
[INFO] [stdout]     |
[INFO] [stdout] 208 |             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]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:260:34
[INFO] [stdout]     |
[INFO] [stdout] 260 |         let mut old_reporter_balance = Balances::free_balance(reporter);
[INFO] [stdout]     |                                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 260 -         let mut old_reporter_balance = Balances::free_balance(reporter);
[INFO] [stdout] 260 +         let mut old_reporter_balance = Balance::free_balance(reporter);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:267:28
[INFO] [stdout]     |
[INFO] [stdout] 267 |             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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:279:5
[INFO] [stdout]     |
[INFO] [stdout] 279 |                 DelegatedStaking::held_balance_of(Delegator::from(i)),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 |                 Balances::free_balance(reporter) - old_reporter_balance,
[INFO] [stdout]     |                 ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 289 -                 Balances::free_balance(reporter) - old_reporter_balance,
[INFO] [stdout] 289 +                 Balance::free_balance(reporter) - old_reporter_balance,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:293:27
[INFO] [stdout]     |
[INFO] [stdout] 293 |             old_reporter_balance = Balances::free_balance(reporter);
[INFO] [stdout]     |                                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 293 -             old_reporter_balance = Balances::free_balance(reporter);
[INFO] [stdout] 293 +             old_reporter_balance = Balance::free_balance(reporter);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:321:14
[INFO] [stdout]     |
[INFO] [stdout] 321 |         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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:325:14
[INFO] [stdout]     |
[INFO] [stdout] 325 |         assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:332:11
[INFO] [stdout]     |
[INFO] [stdout] 332 |         assert!(DelegatedStaking::is_agent(&agent));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:333:14
[INFO] [stdout]     |
[INFO] [stdout] 333 |         assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 1000);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:335:4
[INFO] [stdout]     |
[INFO] [stdout] 335 |             Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |             ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 335 -             Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout] 335 +             Balance::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:338:14
[INFO] [stdout]     |
[INFO] [stdout] 338 |         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]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:352:15
[INFO] [stdout]     |
[INFO] [stdout] 352 |             assert_eq!(Staking::status(&agent), Err(StakingError::<T>::NotStash.into()));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 352 -             assert_eq!(Staking::status(&agent), Err(StakingError::<T>::NotStash.into()));
[INFO] [stdout] 352 +             assert_eq!(String::status(&agent), Err(StakingError::<T>::NotStash.into()));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:356:15
[INFO] [stdout]     |
[INFO] [stdout] 356 |             assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:360:15
[INFO] [stdout]     |
[INFO] [stdout] 360 |             assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 0);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:367:16
[INFO] [stdout]     |
[INFO] [stdout] 367 |                 assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:374:6
[INFO] [stdout]     |
[INFO] [stdout] 374 |                     Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |                     ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 374 -                     Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout] 374 +                     Balance::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:378:6
[INFO] [stdout]     |
[INFO] [stdout] 378 |                     DelegatedStaking::delegator_balance(Delegator::from(delegator)).unwrap(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:388:15
[INFO] [stdout]     |
[INFO] [stdout] 388 |             assert_eq!(Staking::stake(&agent).unwrap(), Stake { total: 50 * 100, active: 50 * 100 })
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 388 -             assert_eq!(Staking::stake(&agent).unwrap(), Stake { total: 50 * 100, active: 50 * 100 })
[INFO] [stdout] 388 +             assert_eq!(String::stake(&agent).unwrap(), Stake { total: 50 * 100, active: 50 * 100 })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:409:5
[INFO] [stdout]     |
[INFO] [stdout] 409 |                 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]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:414:15
[INFO] [stdout]     |
[INFO] [stdout] 414 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 50));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 414 -             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 50));
[INFO] [stdout] 414 +             assert_ok!(String::unbond(RawOrigin::Signed(agent).into(), 50));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:418:15
[INFO] [stdout]     |
[INFO] [stdout] 418 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 100));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 418 -             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 100));
[INFO] [stdout] 418 +             assert_ok!(String::unbond(RawOrigin::Signed(agent).into(), 100));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:422:15
[INFO] [stdout]     |
[INFO] [stdout] 422 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 200));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 422 -             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 200));
[INFO] [stdout] 422 +             assert_ok!(String::unbond(RawOrigin::Signed(agent).into(), 200));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:430:5
[INFO] [stdout]     |
[INFO] [stdout] 430 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:441:5
[INFO] [stdout]     |
[INFO] [stdout] 441 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:445:15
[INFO] [stdout]     |
[INFO] [stdout] 445 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:451:15
[INFO] [stdout]     |
[INFO] [stdout] 451 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:462:5
[INFO] [stdout]     |
[INFO] [stdout] 462 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:468:5
[INFO] [stdout]     |
[INFO] [stdout] 468 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:473:5
[INFO] [stdout]     |
[INFO] [stdout] 473 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:477:15
[INFO] [stdout]     |
[INFO] [stdout] 477 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:484:15
[INFO] [stdout]     |
[INFO] [stdout] 484 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:497:5
[INFO] [stdout]     |
[INFO] [stdout] 497 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:512:5
[INFO] [stdout]     |
[INFO] [stdout] 512 |                 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]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:520:16
[INFO] [stdout]     |
[INFO] [stdout] 520 |                 assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 10));
[INFO] [stdout]     |                            ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 520 -                 assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 10));
[INFO] [stdout] 520 +                 assert_ok!(String::unbond(RawOrigin::Signed(agent).into(), 10));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:527:15
[INFO] [stdout]     |
[INFO] [stdout] 527 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 10));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 527 -             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 10));
[INFO] [stdout] 527 +             assert_ok!(String::unbond(RawOrigin::Signed(agent).into(), 10));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:534:15
[INFO] [stdout]     |
[INFO] [stdout] 534 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:544:5
[INFO] [stdout]     |
[INFO] [stdout] 544 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:547:15
[INFO] [stdout]     |
[INFO] [stdout] 547 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:554:15
[INFO] [stdout]     |
[INFO] [stdout] 554 |             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]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:563:22
[INFO] [stdout]     |
[INFO] [stdout] 563 |             let balance_200 = Balances::free_balance(200);
[INFO] [stdout]     |                               ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 563 -             let balance_200 = Balances::free_balance(200);
[INFO] [stdout] 563 +             let balance_200 = Balance::free_balance(200);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:567:5
[INFO] [stdout]     |
[INFO] [stdout] 567 |                 DelegatedStaking::register_agent(RawOrigin::Signed(200).into(), 200),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:572:15
[INFO] [stdout]     |
[INFO] [stdout] 572 |             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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:575:15
[INFO] [stdout]     |
[INFO] [stdout] 575 |             assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:596:15
[INFO] [stdout]     |
[INFO] [stdout] 596 |             assert_eq!(Balances::free_balance(200), balance_200);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 596 -             assert_eq!(Balances::free_balance(200), balance_200);
[INFO] [stdout] 596 +             assert_eq!(Balance::free_balance(200), balance_200);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:607:5
[INFO] [stdout]     |
[INFO] [stdout] 607 |                 DelegatedStaking::register_agent(RawOrigin::Signed(200).into(), 201),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:612:5
[INFO] [stdout]     |
[INFO] [stdout] 612 |                 DelegatedStaking::register_agent(RawOrigin::Signed(202).into(), 203),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:630:15
[INFO] [stdout]     |
[INFO] [stdout] 630 |             assert_ok!(Staking::bond(
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 630 -             assert_ok!(Staking::bond(
[INFO] [stdout] 630 +             assert_ok!(String::bond(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:631:5
[INFO] [stdout]     |
[INFO] [stdout] 631 |                 RuntimeOrigin::signed(agent),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:635:15
[INFO] [stdout]     |
[INFO] [stdout] 635 |             assert_ok!(Staking::nominate(RuntimeOrigin::signed(agent), vec![GENESIS_VALIDATOR],));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 635 -             assert_ok!(Staking::nominate(RuntimeOrigin::signed(agent), vec![GENESIS_VALIDATOR],));
[INFO] [stdout] 635 +             assert_ok!(String::nominate(RuntimeOrigin::signed(agent), vec![GENESIS_VALIDATOR],));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:635:33
[INFO] [stdout]     |
[INFO] [stdout] 635 |             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]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:636:21
[INFO] [stdout]     |
[INFO] [stdout] 636 |             let init_stake = Staking::stake(&agent).unwrap();
[INFO] [stdout]     |                              ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 636 -             let init_stake = Staking::stake(&agent).unwrap();
[INFO] [stdout] 636 +             let init_stake = String::stake(&agent).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:650:5
[INFO] [stdout]     |
[INFO] [stdout] 650 |                 DelegatedStaking::generate_proxy_delegator(Agent::from(agent)).get();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:652:15
[INFO] [stdout]     |
[INFO] [stdout] 652 |             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]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:656:15
[INFO] [stdout]     |
[INFO] [stdout] 656 |             assert_eq!(Balances::free_balance(agent), 0);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 656 -             assert_eq!(Balances::free_balance(agent), 0);
[INFO] [stdout] 656 +             assert_eq!(Balance::free_balance(agent), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:659:15
[INFO] [stdout]     |
[INFO] [stdout] 659 |             assert_eq!(Balances::free_balance(proxy_delegator), 0);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 659 -             assert_eq!(Balances::free_balance(proxy_delegator), 0);
[INFO] [stdout] 659 +             assert_eq!(Balance::free_balance(proxy_delegator), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:664:5
[INFO] [stdout]     |
[INFO] [stdout] 664 |                 Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &proxy_delegator),
[INFO] [stdout]     |                 ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 664 -                 Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &proxy_delegator),
[INFO] [stdout] 664 +                 Balance::balance_on_hold(&HoldReason::StakingDelegation.into(), &proxy_delegator),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:668:15
[INFO] [stdout]     |
[INFO] [stdout] 668 |             assert_eq!(Balances::free_balance(agent), 0);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 668 -             assert_eq!(Balances::free_balance(agent), 0);
[INFO] [stdout] 668 +             assert_eq!(Balance::free_balance(agent), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:669:15
[INFO] [stdout]     |
[INFO] [stdout] 669 |             assert_eq!(Staking::stake(&agent).unwrap(), init_stake);
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 669 -             assert_eq!(Staking::stake(&agent).unwrap(), init_stake);
[INFO] [stdout] 669 +             assert_eq!(String::stake(&agent).unwrap(), init_stake);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:680:16
[INFO] [stdout]     |
[INFO] [stdout] 680 |                 assert_eq!(Balances::free_balance(delegator), 0);
[INFO] [stdout]     |                            ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 680 -                 assert_eq!(Balances::free_balance(delegator), 0);
[INFO] [stdout] 680 +                 assert_eq!(Balance::free_balance(delegator), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:684:16
[INFO] [stdout]     |
[INFO] [stdout] 684 |                 assert_ok!(DelegatedStaking::migrate_delegation(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:691:6
[INFO] [stdout]     |
[INFO] [stdout] 691 |                     Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |                     ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 691 -                     Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout] 691 +                     Balance::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:696:6
[INFO] [stdout]     |
[INFO] [stdout] 696 |                     Balances::balance_on_hold(
[INFO] [stdout]     |                     ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 696 -                     Balances::balance_on_hold(
[INFO] [stdout] 696 +                     Balance::balance_on_hold(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:704:16
[INFO] [stdout]     |
[INFO] [stdout] 704 |                 assert_eq!(Staking::stake(&agent).unwrap(), init_stake);
[INFO] [stdout]     |                            ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 704 -                 assert_eq!(Staking::stake(&agent).unwrap(), init_stake);
[INFO] [stdout] 704 +                 assert_eq!(String::stake(&agent).unwrap(), init_stake);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:715:5
[INFO] [stdout]     |
[INFO] [stdout] 715 |                 DelegatedStaking::migrate_delegation(RawOrigin::Signed(agent).into(), 305, 1),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:723:15
[INFO] [stdout]     |
[INFO] [stdout] 723 |             assert_ok!(Staking::chill(RuntimeOrigin::signed(agent)));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 723 -             assert_ok!(Staking::chill(RuntimeOrigin::signed(agent)));
[INFO] [stdout] 723 +             assert_ok!(String::chill(RuntimeOrigin::signed(agent)));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:723:30
[INFO] [stdout]     |
[INFO] [stdout] 723 |             assert_ok!(Staking::chill(RuntimeOrigin::signed(agent)));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:724:15
[INFO] [stdout]     |
[INFO] [stdout] 724 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), staked_amount));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 724 -             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), staked_amount));
[INFO] [stdout] 724 +             assert_ok!(String::unbond(RawOrigin::Signed(agent).into(), staked_amount));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:726:15
[INFO] [stdout]     |
[INFO] [stdout] 726 |             assert_ok!(Staking::withdraw_unbonded(RawOrigin::Signed(agent).into(), 0));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 726 -             assert_ok!(Staking::withdraw_unbonded(RawOrigin::Signed(agent).into(), 0));
[INFO] [stdout] 726 +             assert_ok!(String::withdraw_unbonded(RawOrigin::Signed(agent).into(), 0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:728:16
[INFO] [stdout]     |
[INFO] [stdout] 728 |                 assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:737:16
[INFO] [stdout]     |
[INFO] [stdout] 737 |                 assert_eq!(Balances::free_balance(delegator), delegator_share);
[INFO] [stdout]     |                            ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 737 -                 assert_eq!(Balances::free_balance(delegator), delegator_share);
[INFO] [stdout] 737 +                 assert_eq!(Balance::free_balance(delegator), delegator_share);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:743:15
[INFO] [stdout]     |
[INFO] [stdout] 743 |             assert_ok!(DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into()));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:763:15
[INFO] [stdout]     |
[INFO] [stdout] 763 |             assert_ok!(DelegatedStaking::register_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:772:15
[INFO] [stdout]     |
[INFO] [stdout] 772 |             assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:780:15
[INFO] [stdout]     |
[INFO] [stdout] 780 |             assert_ok!(DelegatedStaking::delegate_to_agent(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:790:15
[INFO] [stdout]     |
[INFO] [stdout] 790 |             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 1000));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 790 -             assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 1000));
[INFO] [stdout] 790 +             assert_ok!(String::unbond(RawOrigin::Signed(agent).into(), 1000));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:792:15
[INFO] [stdout]     |
[INFO] [stdout] 792 |             assert_ok!(Staking::withdraw_unbonded(RawOrigin::Signed(agent).into(), 0));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 792 -             assert_ok!(Staking::withdraw_unbonded(RawOrigin::Signed(agent).into(), 0));
[INFO] [stdout] 792 +             assert_ok!(String::withdraw_unbonded(RawOrigin::Signed(agent).into(), 0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:796:5
[INFO] [stdout]     |
[INFO] [stdout] 796 |                 DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into()),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:800:15
[INFO] [stdout]     |
[INFO] [stdout] 800 |             assert_ok!(DelegatedStaking::release_delegation(
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:808:15
[INFO] [stdout]     |
[INFO] [stdout] 808 |             assert_ok!(DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into()));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:815:15
[INFO] [stdout]     |
[INFO] [stdout] 815 |             assert_ok!(Balances::transfer_all(RawOrigin::Signed(delegator).into(), 1337, false));
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 815 -             assert_ok!(Balances::transfer_all(RawOrigin::Signed(delegator).into(), 1337, false));
[INFO] [stdout] 815 +             assert_ok!(Balance::transfer_all(RawOrigin::Signed(delegator).into(), 1337, false));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:816:15
[INFO] [stdout]     |
[INFO] [stdout] 816 |             assert_ok!(Balances::transfer_all(RawOrigin::Signed(agent).into(), 1337, false));
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 816 -             assert_ok!(Balances::transfer_all(RawOrigin::Signed(agent).into(), 1337, false));
[INFO] [stdout] 816 +             assert_ok!(Balance::transfer_all(RawOrigin::Signed(agent).into(), 1337, false));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:835:15
[INFO] [stdout]     |
[INFO] [stdout] 835 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:838:15
[INFO] [stdout]     |
[INFO] [stdout] 838 |             assert_ok!(Pools::create(
[INFO] [stdout]     |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:848:5
[INFO] [stdout]     |
[INFO] [stdout] 848 |                 DelegatedStaking::held_balance_of(Delegator::from(creator)),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:852:23
[INFO] [stdout]     |
[INFO] [stdout] 852 |             let pool_account = Pools::generate_bonded_account(1);
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:874:15
[INFO] [stdout]     |
[INFO] [stdout] 874 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:877:15
[INFO] [stdout]     |
[INFO] [stdout] 877 |             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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:881:15
[INFO] [stdout]     |
[INFO] [stdout] 881 |             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]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:884:15
[INFO] [stdout]     |
[INFO] [stdout] 884 |             assert_eq!(Staking::status(&delegator), Err(StakingError::<T>::NotStash.into()));
[INFO] [stdout]     |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 884 -             assert_eq!(Staking::status(&delegator), Err(StakingError::<T>::NotStash.into()));
[INFO] [stdout] 884 +             assert_eq!(String::status(&delegator), Err(StakingError::<T>::NotStash.into()));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:886:39
[INFO] [stdout]     |
[INFO] [stdout] 886 |             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]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/tests.rs:895:5
[INFO] [stdout]     |
[INFO] [stdout] 895 |                 Staking::reap_stash(RuntimeOrigin::signed(100), pool_agent.key, 0),
[INFO] [stdout]     |                 ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 895 -                 Staking::reap_stash(RuntimeOrigin::signed(100), pool_agent.key, 0),
[INFO] [stdout] 895 +                 String::reap_stash(RuntimeOrigin::signed(100), pool_agent.key, 0),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:895:25
[INFO] [stdout]     |
[INFO] [stdout] 895 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:902:16
[INFO] [stdout]     |
[INFO] [stdout] 902 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:904:16
[INFO] [stdout]     |
[INFO] [stdout] 904 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:925:16
[INFO] [stdout]     |
[INFO] [stdout] 925 |                 assert_ok!(Pools::bond_extra(
[INFO] [stdout]     |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:946:21
[INFO] [stdout]     |
[INFO] [stdout] 946 |             let reward_acc = Pools::generate_reward_account(pool_id);
[INFO] [stdout]     |                              ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:952:23
[INFO] [stdout]     |
[INFO] [stdout] 952 |                 let pre_balance = Balances::free_balance(i);
[INFO] [stdout]     |                                   ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 952 -                 let pre_balance = Balances::free_balance(i);
[INFO] [stdout] 952 +                 let pre_balance = Balance::free_balance(i);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]    --> src/tests.rs:954:6
[INFO] [stdout]     |
[INFO] [stdout] 954 |                     DelegatedStaking::held_balance_of(Delegator::from(i));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:956:16
[INFO] [stdout]     |
[INFO] [stdout] 956 |                 assert_ok!(Pools::claim_payout(RawOrigin::Signed(i).into()));
[INFO] [stdout]     |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:958:18
[INFO] [stdout]     |
[INFO] [stdout] 958 |                 let reward = Balances::free_balance(i) - pre_balance;
[INFO] [stdout]     |                              ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 958 -                 let reward = Balances::free_balance(i) - pre_balance;
[INFO] [stdout] 958 +                 let reward = Balance::free_balance(i) - pre_balance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:963:22
[INFO] [stdout]     |
[INFO] [stdout] 963 |             let pre_balance = Balances::free_balance(creator);
[INFO] [stdout]     |                               ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 963 -             let pre_balance = Balances::free_balance(creator);
[INFO] [stdout] 963 +             let pre_balance = Balance::free_balance(creator);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:964:15
[INFO] [stdout]     |
[INFO] [stdout] 964 |             assert_ok!(Pools::claim_payout(RawOrigin::Signed(creator).into()));
[INFO] [stdout]     |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:966:17
[INFO] [stdout]     |
[INFO] [stdout] 966 |             let reward = Balances::free_balance(creator) - pre_balance;
[INFO] [stdout]     |                          ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 966 -             let reward = Balances::free_balance(creator) - pre_balance;
[INFO] [stdout] 966 +             let reward = Balance::free_balance(creator) - pre_balance;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:970:15
[INFO] [stdout]     |
[INFO] [stdout] 970 |             assert_eq!(Balances::free_balance(reward_acc), ExistentialDeposit::get());
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 970 -             assert_eq!(Balances::free_balance(reward_acc), ExistentialDeposit::get());
[INFO] [stdout] 970 +             assert_eq!(Balance::free_balance(reward_acc), ExistentialDeposit::get());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:984:19
[INFO] [stdout]     |
[INFO] [stdout] 984 |             let pool_acc = Pools::generate_bonded_account(pool_id);
[INFO] [stdout]     |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:989:5
[INFO] [stdout]     |
[INFO] [stdout] 989 |                 Pools::withdraw_unbonded(RawOrigin::Signed(301).into(), 301, 0),
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:994:15
[INFO] [stdout]     |
[INFO] [stdout] 994 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]    --> src/tests.rs:998:15
[INFO] [stdout]     |
[INFO] [stdout] 998 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1002:15
[INFO] [stdout]      |
[INFO] [stdout] 1002 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1011:6
[INFO] [stdout]      |
[INFO] [stdout] 1011 |                     Pools::withdraw_unbonded(RawOrigin::Signed(i).into(), i, 0),
[INFO] [stdout]      |                     ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]     --> src/tests.rs:1022:19
[INFO] [stdout]      |
[INFO] [stdout] 1022 |             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]: cannot find type `Balances` in this scope
[INFO] [stdout]     --> src/tests.rs:1023:19
[INFO] [stdout]      |
[INFO] [stdout] 1023 |             let free_301 = Balances::free_balance(301);
[INFO] [stdout]      |                            ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]      |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1023 -             let free_301 = Balances::free_balance(301);
[INFO] [stdout] 1023 +             let free_301 = Balance::free_balance(301);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1025:15
[INFO] [stdout]      |
[INFO] [stdout] 1025 |             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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]     --> src/tests.rs:1034:15
[INFO] [stdout]      |
[INFO] [stdout] 1034 |             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]: cannot find type `Balances` in this scope
[INFO] [stdout]     --> src/tests.rs:1035:15
[INFO] [stdout]      |
[INFO] [stdout] 1035 |             assert_eq!(Balances::free_balance(301), free_301 + 50);
[INFO] [stdout]      |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]      |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1035 -             assert_eq!(Balances::free_balance(301), free_301 + 50);
[INFO] [stdout] 1035 +             assert_eq!(Balance::free_balance(301), free_301 + 50);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1039:15
[INFO] [stdout]      |
[INFO] [stdout] 1039 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1040:15
[INFO] [stdout]      |
[INFO] [stdout] 1040 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1074:16
[INFO] [stdout]      |
[INFO] [stdout] 1074 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1080:16
[INFO] [stdout]      |
[INFO] [stdout] 1080 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1085:15
[INFO] [stdout]      |
[INFO] [stdout] 1085 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1090:15
[INFO] [stdout]      |
[INFO] [stdout] 1090 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1095:15
[INFO] [stdout]      |
[INFO] [stdout] 1095 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1106:5
[INFO] [stdout]      |
[INFO] [stdout] 1106 |                 Pools::nominate(RawOrigin::Signed(100).into(), 1, vec![99]),
[INFO] [stdout]      |                 ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1111:19
[INFO] [stdout]      |
[INFO] [stdout] 1111 |             let pool_acc = Pools::generate_bonded_account(pool_id);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1112:15
[INFO] [stdout]      |
[INFO] [stdout] 1112 |             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]: cannot find type `Staking` in this scope
[INFO] [stdout]     --> src/tests.rs:1113:12
[INFO] [stdout]      |
[INFO] [stdout] 1113 |             assert!(Staking::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![20, 21, 22])));
[INFO] [stdout]      |                     ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]      |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1113 -             assert!(Staking::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![20, 21, 22])));
[INFO] [stdout] 1113 +             assert!(String::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![20, 21, 22])));
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1116:15
[INFO] [stdout]      |
[INFO] [stdout] 1116 |             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]: cannot find type `Staking` in this scope
[INFO] [stdout]     --> src/tests.rs:1117:12
[INFO] [stdout]      |
[INFO] [stdout] 1117 |             assert!(Staking::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![18, 19, 22])));
[INFO] [stdout]      |                     ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]      |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1117 -             assert!(Staking::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![18, 19, 22])));
[INFO] [stdout] 1117 +             assert!(String::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![18, 19, 22])));
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1132:15
[INFO] [stdout]      |
[INFO] [stdout] 1132 |             assert_ok!(Pools::set_state(
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1137:15
[INFO] [stdout]      |
[INFO] [stdout] 1137 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1141:16
[INFO] [stdout]      |
[INFO] [stdout] 1141 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1147:16
[INFO] [stdout]      |
[INFO] [stdout] 1147 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1151:15
[INFO] [stdout]      |
[INFO] [stdout] 1151 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1156:15
[INFO] [stdout]      |
[INFO] [stdout] 1156 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1172:39
[INFO] [stdout]      |
[INFO] [stdout] 1172 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1173:37
[INFO] [stdout]      |
[INFO] [stdout] 1173 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1190:19
[INFO] [stdout]      |
[INFO] [stdout] 1190 |             let pool_acc = Pools::generate_bonded_account(pool_id);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]     --> src/tests.rs:1193:15
[INFO] [stdout]      |
[INFO] [stdout] 1193 |             assert_eq!(Staking::stake(&pool_acc).unwrap().total, total_staked);
[INFO] [stdout]      |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]      |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1193 -             assert_eq!(Staking::stake(&pool_acc).unwrap().total, total_staked);
[INFO] [stdout] 1193 +             assert_eq!(String::stake(&pool_acc).unwrap().total, total_staked);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1197:15
[INFO] [stdout]      |
[INFO] [stdout] 1197 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1200:15
[INFO] [stdout]      |
[INFO] [stdout] 1200 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1203:15
[INFO] [stdout]      |
[INFO] [stdout] 1203 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1213:15
[INFO] [stdout]      |
[INFO] [stdout] 1213 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1225:15
[INFO] [stdout]      |
[INFO] [stdout] 1225 |             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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]     --> src/tests.rs:1241:15
[INFO] [stdout]      |
[INFO] [stdout] 1241 |             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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]     --> src/tests.rs:1243:16
[INFO] [stdout]      |
[INFO] [stdout] 1243 |                 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]: cannot find type `Staking` in this scope
[INFO] [stdout]     --> src/tests.rs:1247:5
[INFO] [stdout]      |
[INFO] [stdout] 1247 |                 Staking::total_stake(&pool_acc).unwrap()
[INFO] [stdout]      |                 ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]      |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1247 -                 Staking::total_stake(&pool_acc).unwrap()
[INFO] [stdout] 1247 +                 String::total_stake(&pool_acc).unwrap()
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1258:15
[INFO] [stdout]      |
[INFO] [stdout] 1258 |             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]: cannot find type `Balances` in this scope
[INFO] [stdout]     --> src/tests.rs:1267:23
[INFO] [stdout]      |
[INFO] [stdout] 1267 |                 let pre_balance = Balances::free_balance(i);
[INFO] [stdout]      |                                   ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]      |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1267 -                 let pre_balance = Balances::free_balance(i);
[INFO] [stdout] 1267 +                 let pre_balance = Balance::free_balance(i);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1269:16
[INFO] [stdout]      |
[INFO] [stdout] 1269 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]     --> src/tests.rs:1278:16
[INFO] [stdout]      |
[INFO] [stdout] 1278 |                 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]: cannot find type `Balances` in this scope
[INFO] [stdout]     --> src/tests.rs:1279:16
[INFO] [stdout]      |
[INFO] [stdout] 1279 |                 assert_eq!(Balances::free_balance(i) - pre_balance, 50);
[INFO] [stdout]      |                            ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]      |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1279 -                 assert_eq!(Balances::free_balance(i) - pre_balance, 50);
[INFO] [stdout] 1279 +                 assert_eq!(Balance::free_balance(i) - pre_balance, 50);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1290:16
[INFO] [stdout]      |
[INFO] [stdout] 1290 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1292:16
[INFO] [stdout]      |
[INFO] [stdout] 1292 |                 assert_eq!(Pools::api_member_pending_slash(i), 50);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1294:16
[INFO] [stdout]      |
[INFO] [stdout] 1294 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1296:16
[INFO] [stdout]      |
[INFO] [stdout] 1296 |                 assert_eq!(Pools::api_member_pending_slash(i), 0);
[INFO] [stdout]      |                            ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1301:16
[INFO] [stdout]      |
[INFO] [stdout] 1301 |                 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]: cannot find type `DelegatedStaking` in this scope
[INFO] [stdout]     --> src/tests.rs:1303:16
[INFO] [stdout]      |
[INFO] [stdout] 1303 |                 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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1307:15
[INFO] [stdout]      |
[INFO] [stdout] 1307 |             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]: cannot find type `Balances` in this scope
[INFO] [stdout]     --> src/tests.rs:1310:15
[INFO] [stdout]      |
[INFO] [stdout] 1310 |             assert_eq!(Balances::free_balance(slash_reporter), 100 + 5 * 3);
[INFO] [stdout]      |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]      |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1310 -             assert_eq!(Balances::free_balance(slash_reporter), 100 + 5 * 3);
[INFO] [stdout] 1310 +             assert_eq!(Balance::free_balance(slash_reporter), 100 + 5 * 3);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1312:15
[INFO] [stdout]      |
[INFO] [stdout] 1312 |             assert_eq!(Pools::api_member_pending_slash(creator), 250);
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1314:15
[INFO] [stdout]      |
[INFO] [stdout] 1314 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1316:15
[INFO] [stdout]      |
[INFO] [stdout] 1316 |             assert_eq!(Pools::api_member_pending_slash(creator), 0);
[INFO] [stdout]      |                        ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1320:15
[INFO] [stdout]      |
[INFO] [stdout] 1320 |             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]: cannot find type `Balances` in this scope
[INFO] [stdout]     --> src/tests.rs:1323:15
[INFO] [stdout]      |
[INFO] [stdout] 1323 |             assert_eq!(Balances::free_balance(slash_reporter), 115 + 25);
[INFO] [stdout]      |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout]      |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1323 -             assert_eq!(Balances::free_balance(slash_reporter), 115 + 25);
[INFO] [stdout] 1323 +             assert_eq!(Balance::free_balance(slash_reporter), 115 + 25);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1340:15
[INFO] [stdout]      |
[INFO] [stdout] 1340 |             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]: cannot find type `Staking` in this scope
[INFO] [stdout]     --> src/tests.rs:1344:5
[INFO] [stdout]      |
[INFO] [stdout] 1344 |                 Staking::bond(
[INFO] [stdout]      |                 ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]      |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1344 -                 Staking::bond(
[INFO] [stdout] 1344 +                 String::bond(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]     --> src/tests.rs:1345:6
[INFO] [stdout]      |
[INFO] [stdout] 1345 |                     RuntimeOrigin::signed(delegator),
[INFO] [stdout]      |                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]     --> src/tests.rs:1366:15
[INFO] [stdout]      |
[INFO] [stdout] 1366 |             assert_ok!(Staking::bond(
[INFO] [stdout]      |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]      |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1366 -             assert_ok!(Staking::bond(
[INFO] [stdout] 1366 +             assert_ok!(String::bond(
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]     --> src/tests.rs:1367:5
[INFO] [stdout]      |
[INFO] [stdout] 1367 |                 RuntimeOrigin::signed(staker),
[INFO] [stdout]      |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope
[INFO] [stdout]     --> src/tests.rs:1371:15
[INFO] [stdout]      |
[INFO] [stdout] 1371 |             assert_ok!(Staking::nominate(RuntimeOrigin::signed(staker), vec![GENESIS_VALIDATOR]));
[INFO] [stdout]      |                        ^^^^^^^ use of undeclared type `Staking`
[INFO] [stdout]      |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout] 1371 -             assert_ok!(Staking::nominate(RuntimeOrigin::signed(staker), vec![GENESIS_VALIDATOR]));
[INFO] [stdout] 1371 +             assert_ok!(String::nominate(RuntimeOrigin::signed(staker), vec![GENESIS_VALIDATOR]));
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]     --> src/tests.rs:1371:33
[INFO] [stdout]      |
[INFO] [stdout] 1371 |             assert_ok!(Staking::nominate(RuntimeOrigin::signed(staker), vec![GENESIS_VALIDATOR]));
[INFO] [stdout]      |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1375:5
[INFO] [stdout]      |
[INFO] [stdout] 1375 |                 Pools::join(RawOrigin::Signed(staker).into(), 200, pool_id),
[INFO] [stdout]      |                 ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1383:14
[INFO] [stdout]      |
[INFO] [stdout] 1383 |         assert_ok!(Pools::create(
[INFO] [stdout]      |                    ^^^^^ use of undeclared type `Pools`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1397:15
[INFO] [stdout]      |
[INFO] [stdout] 1397 |             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]: cannot find type `Pools` in this scope
[INFO] [stdout]     --> src/tests.rs:1402:21
[INFO] [stdout]      |
[INFO] [stdout] 1402 |         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: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-delegated-staking` (lib test) due to 295 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "72545d1fa26fb8d60da9c476a047d6700b063108aef5366ea31e092e98d65d11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72545d1fa26fb8d60da9c476a047d6700b063108aef5366ea31e092e98d65d11", kill_on_drop: false }`
[INFO] [stdout] 72545d1fa26fb8d60da9c476a047d6700b063108aef5366ea31e092e98d65d11
