[INFO] fetching crate pallet-staking-async 0.3.0... [INFO] checking pallet-staking-async-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pallet-staking-async 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pallet-staking-async 0.3.0 [INFO] finished tweaking crates.io crate pallet-staking-async 0.3.0 [INFO] tweaked toml for crates.io crate pallet-staking-async 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-staking-async 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-staking-async 0.3.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad30384bda4e48b43ddb5a96896e85f191f37f75d6f3f0f5759584cbe1bd15ec [INFO] running `Command { std: "docker" "start" "-a" "ad30384bda4e48b43ddb5a96896e85f191f37f75d6f3f0f5759584cbe1bd15ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad30384bda4e48b43ddb5a96896e85f191f37f75d6f3f0f5759584cbe1bd15ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad30384bda4e48b43ddb5a96896e85f191f37f75d6f3f0f5759584cbe1bd15ec", kill_on_drop: false }` [INFO] [stdout] ad30384bda4e48b43ddb5a96896e85f191f37f75d6f3f0f5759584cbe1bd15ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7070c28571cd45bb8b2731aae89fad3c5c8bf7f821bf1826bf1b8695ac7e41f [INFO] running `Command { std: "docker" "start" "-a" "b7070c28571cd45bb8b2731aae89fad3c5c8bf7f821bf1826bf1b8695ac7e41f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling xcm-procedural v11.0.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [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 sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling frame-election-provider-solution-type v16.1.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-npos-elections v38.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking staging-xcm v18.0.0 [INFO] [stderr] Checking frame-election-provider-support v42.0.0 [INFO] [stderr] Checking pallet-staking-async-rc-client v0.3.0 [INFO] [stderr] Checking pallet-staking-async v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `frame_benchmarking` [INFO] [stdout] --> src/testing_utils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use frame_benchmarking::account; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_benchmarking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_benchmarking`, use `cargo add frame_benchmarking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use sp_npos_elections::BalancingConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_npos_elections`, use `cargo add sp_npos_elections` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `substrate_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `substrate_test_utils`, use `cargo add substrate_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_npos_elections` [INFO] [stdout] --> src/tests/election_provider.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use sp_npos_elections::Support; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_npos_elections`, use `cargo add sp_npos_elections` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests/election_provider.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `substrate_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `substrate_test_utils`, use `cargo add substrate_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::mock::Staking`, `crate::mock::Test` [INFO] [stdout] --> src/election_size_tracker.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | mock::{AccountId, Staking, Test}, [INFO] [stdout] | ^^^^^^^ ^^^^ no `Test` in `mock` [INFO] [stdout] | | [INFO] [stdout] | no `Staking` in `mock` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] crate::HoldReason::Staking [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | VoterBagsList: pallet_bags_list::, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | #[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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:758:3 [INFO] [stdout] | [INFO] [stdout] 758 | pallet_balances::TotalIssuance::::get(), [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:768:3 [INFO] [stdout] | [INFO] [stdout] 768 | pallet_balances::TotalIssuance::::get(), [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/bonding.rs:923:15 [INFO] [stdout] | [INFO] [stdout] 923 | assert_eq!(pallet_balances::Holds::::get(&1)[0].amount, 5); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/bonding.rs:943:15 [INFO] [stdout] | [INFO] [stdout] 943 | assert_eq!(pallet_balances::Holds::::get(&1)[0].amount, 5); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/bonding.rs:950:15 [INFO] [stdout] | [INFO] [stdout] 950 | assert_eq!(pallet_balances::Holds::::get(&1).len(), 0); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:738:16 [INFO] [stdout] | [INFO] [stdout] 738 | assert_eq!(pallet_bags_list::Lock::::get(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:748:16 [INFO] [stdout] | [INFO] [stdout] 748 | assert_eq!(pallet_bags_list::Lock::::get(), Some(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:761:16 [INFO] [stdout] | [INFO] [stdout] 761 | assert_eq!(pallet_bags_list::Lock::::get(), Some(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:772:16 [INFO] [stdout] | [INFO] [stdout] 772 | assert_eq!(pallet_bags_list::Lock::::get(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:780:16 [INFO] [stdout] | [INFO] [stdout] 780 | assert_eq!(pallet_bags_list::Lock::::get(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:804:6 [INFO] [stdout] | [INFO] [stdout] 804 | pallet_bags_list::ListNodes::::get(51) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:812:6 [INFO] [stdout] | [INFO] [stdout] 812 | pallet_bags_list::ListNodes::::get(11) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | assert_eq!(pallet_bags_list::Lock::::get(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:829:16 [INFO] [stdout] | [INFO] [stdout] 829 | assert_eq!(pallet_bags_list::Lock::::get(), Some(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:837:7 [INFO] [stdout] | [INFO] [stdout] 837 | pallet_bags_list::ListNodes::::get(51) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:851:7 [INFO] [stdout] | [INFO] [stdout] 851 | pallet_bags_list::ListNodes::::get(11) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:897:35 [INFO] [stdout] | [INFO] [stdout] 897 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:921:11 [INFO] [stdout] | [INFO] [stdout] 921 | assert!(pallet_balances::TotalIssuance::::get() > pre_payout_total_issuance); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:922:11 [INFO] [stdout] | [INFO] [stdout] 922 | assert!(pallet_balances::TotalIssuance::::get() < pre_payout_total_issuance + payout); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:947:4 [INFO] [stdout] | [INFO] [stdout] 947 | pallet_balances::TotalIssuance::::get(), [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:969:36 [INFO] [stdout] | [INFO] [stdout] 969 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:975:5 [INFO] [stdout] | [INFO] [stdout] 975 | pallet_balances::TotalIssuance::::get(), [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1093:35 [INFO] [stdout] | [INFO] [stdout] 1093 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1108:11 [INFO] [stdout] | [INFO] [stdout] 1108 | assert!(pallet_balances::TotalIssuance::::get() > pre_payout_total_issuance); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1109:11 [INFO] [stdout] | [INFO] [stdout] 1109 | assert!(pallet_balances::TotalIssuance::::get() < pre_payout_total_issuance + payout); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1128:4 [INFO] [stdout] | [INFO] [stdout] 1128 | pallet_balances::TotalIssuance::::get(), [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1151:36 [INFO] [stdout] | [INFO] [stdout] 1151 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1157:5 [INFO] [stdout] | [INFO] [stdout] 1157 | pallet_balances::TotalIssuance::::get(), [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[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) type T = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) type Runtime = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 100 | impl frame_system::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[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-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[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-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[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-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[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-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[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-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | impl OnUnbalanced> for RewardRemainderMock { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 117 | impl OnUnbalanced> for RewardRemainderMock { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | fn on_nonzero_unbalanced(amount: NegativeImbalanceOf) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 117 | impl OnUnbalanced> for RewardRemainderMock { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 134 | impl pallet_bags_list::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | type ScoreProvider = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 138 - type ScoreProvider = Staking; [INFO] [stdout] 138 + type ScoreProvider = crate::HoldReason; [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 138 - type ScoreProvider = Staking; [INFO] [stdout] 138 + type ScoreProvider = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | type System = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 165 - type DataProvider = Staking; [INFO] [stdout] 165 + type DataProvider = crate::HoldReason; [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 165 - type DataProvider = Staking; [INFO] [stdout] 165 + type DataProvider = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 181 - type DataProvider = Staking; [INFO] [stdout] 181 + type DataProvider = crate::HoldReason; [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 181 - type DataProvider = Staking; [INFO] [stdout] 181 + type DataProvider = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | StartReceived::set(Some(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let now = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:207:39 [INFO] [stdout] | [INFO] [stdout] 207 | impl OnUnbalanced> for MockReward { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 207 | impl OnUnbalanced> for MockReward { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | fn on_unbalanced(_: PositiveImbalanceOf) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 207 | impl OnUnbalanced> for MockReward { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | (BalanceOf, BTreeMap>) = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:215:50 [INFO] [stdout] | [INFO] [stdout] 215 | (BalanceOf, BTreeMap>) = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:217:58 [INFO] [stdout] | [INFO] [stdout] 217 | pub static SlashObserver: BTreeMap> = BTreeMap::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | while System::block_number() < block { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | let now = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | System::run_to_block::(now + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AllPalletsWithSystem` in this scope [INFO] [stdout] --> src/mock.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | System::run_to_block::(now + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 250 | impl Session { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | let now = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:317:7 [INFO] [stdout] | [INFO] [stdout] 317 | ::on_relay_session_report( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 317 - ::on_relay_session_report( [INFO] [stdout] 317 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 317 - ::on_relay_session_report( [INFO] [stdout] 317 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:331:7 [INFO] [stdout] | [INFO] [stdout] 331 | ::on_relay_session_report( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 331 - ::on_relay_session_report( [INFO] [stdout] 331 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 331 - ::on_relay_session_report( [INFO] [stdout] 331 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:337:6 [INFO] [stdout] | [INFO] [stdout] 337 | ::on_relay_session_report( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 337 - ::on_relay_session_report( [INFO] [stdout] 337 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 337 - ::on_relay_session_report( [INFO] [stdout] 337 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | let now = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:419:40 [INFO] [stdout] | [INFO] [stdout] 419 | impl crate::pallet::pallet::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 420 | type RuntimeHoldReason = Self::RuntimeHoldReason; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:421:21 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) type Balance = ::Balance; [INFO] [stdout] | ------------------------------------------------------------------------ similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 421 | type OldCurrency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:422:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) type Balance = ::Balance; [INFO] [stdout] | ------------------------------------------------------------------------ similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 422 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterBagsList` in this scope [INFO] [stdout] --> src/mock.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 432 | type VoterList = VoterBagsList; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:478:40 [INFO] [stdout] | [INFO] [stdout] 478 | invulnerables: BoundedVec::MaxInvulnerables>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 475 | pub struct ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/mock.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 624 | 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] 624 - sp_tracing::try_init_simple(); [INFO] [stdout] 624 + sp_staking::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:625:51 [INFO] [stdout] | [INFO] [stdout] 625 | let mut storage = frame_system::GenesisConfig::::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] 508 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:682:44 [INFO] [stdout] | [INFO] [stdout] 682 | let _ = pallet_balances::GenesisConfig:: { balances, ..Default::default() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 508 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:685:49 [INFO] [stdout] | [INFO] [stdout] 685 | let _ = pallet_staking_async::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 508 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/mock.rs:710:3 [INFO] [stdout] | [INFO] [stdout] 710 | 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] 710 - sp_tracing::try_init_simple(); [INFO] [stdout] 710 + sp_staking::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:715:27 [INFO] [stdout] | [INFO] [stdout] 715 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:722:36 [INFO] [stdout] | [INFO] [stdout] 722 | pallet_staking_async::ActiveEra::::get().unwrap().index [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 721 | pub(crate) fn active_era() -> EraIndex { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:726:37 [INFO] [stdout] | [INFO] [stdout] 726 | pallet_staking_async::CurrentEra::::get().unwrap() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 725 | pub(crate) fn current_era() -> EraIndex { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:730:41 [INFO] [stdout] | [INFO] [stdout] 730 | let _ = asset::set_stakeable_balance::(&who, val); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 729 | pub(crate) fn bond(who: AccountId, val: Balance) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:751:14 [INFO] [stdout] | [INFO] [stdout] 751 | assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 751 - assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] 751 + assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 751 - assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] 751 + assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:756:25 [INFO] [stdout] | [INFO] [stdout] 756 | let (payout, _rest) = ::EraPayout::era_payout( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:757:42 [INFO] [stdout] | [INFO] [stdout] 757 | pallet_staking_async::ErasTotalStake::::get(active_era()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 755 | pub(crate) fn validator_payout_for(duration: u64) -> Balance { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:758:36 [INFO] [stdout] | [INFO] [stdout] 758 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 755 | pub(crate) fn validator_payout_for(duration: u64) -> Balance { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:766:24 [INFO] [stdout] | [INFO] [stdout] 766 | let (payout, rest) = ::EraPayout::era_payout( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:767:42 [INFO] [stdout] | [INFO] [stdout] 767 | pallet_staking_async::ErasTotalStake::::get(active_era()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 765 | pub(crate) fn total_payout_for(duration: u64) -> Balance { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:768:36 [INFO] [stdout] | [INFO] [stdout] 768 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 765 | pub(crate) fn total_payout_for(duration: u64) -> Balance { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:789:10 [INFO] [stdout] | [INFO] [stdout] 789 | >::reward_by_ids(rewards) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 787 | pub(crate) fn reward_all_elected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:804:11 [INFO] [stdout] | [INFO] [stdout] 804 | let _ = ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 804 - let _ = ::on_new_offences( [INFO] [stdout] 804 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 804 - let _ = ::on_new_offences( [INFO] [stdout] 804 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:815:11 [INFO] [stdout] | [INFO] [stdout] 815 | let _ = ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 815 - let _ = ::on_new_offences( [INFO] [stdout] 815 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 815 - let _ = ::on_new_offences( [INFO] [stdout] 815 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:822:11 [INFO] [stdout] | [INFO] [stdout] 822 | let _ = ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 822 - let _ = ::on_new_offences( [INFO] [stdout] 822 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 822 - let _ = ::on_new_offences( [INFO] [stdout] 822 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:834:50 [INFO] [stdout] | [INFO] [stdout] 834 | let validators_with_reward = ErasRewardPoints::::get(era) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 833 | pub(crate) fn make_all_reward_payment(era: EraIndex) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:842:24 [INFO] [stdout] | [INFO] [stdout] 842 | let ledger = >::get(&validator_controller).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 833 | pub(crate) fn make_all_reward_payment(era: EraIndex) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:843:25 [INFO] [stdout] | [INFO] [stdout] 843 | for page in 0..Eras::::exposure_page_count(era, &ledger.stash) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 833 | pub(crate) fn make_all_reward_payment(era: EraIndex) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:855:10 [INFO] [stdout] | [INFO] [stdout] 855 | >::get(&stash).map_or(Ok(()), |_| Err("stash already bonded"))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 854 | pub(crate) fn bond_controller_stash(controller: AccountId, stash: AccountId) -> Result<(), String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:856:10 [INFO] [stdout] | [INFO] [stdout] 856 | >::get(&controller).map_or(Ok(()), |_| Err("controller already bonded"))?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 854 | pub(crate) fn bond_controller_stash(controller: AccountId, stash: AccountId) -> Result<(), String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:858:10 [INFO] [stdout] | [INFO] [stdout] 858 | >::insert(stash, controller); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 854 | pub(crate) fn bond_controller_stash(controller: AccountId, stash: AccountId) -> Result<(), String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:859:10 [INFO] [stdout] | [INFO] [stdout] 859 | >::insert(controller, StakingLedger::::default_from(stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 854 | pub(crate) fn bond_controller_stash(controller: AccountId, stash: AccountId) -> Result<(), String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:859:53 [INFO] [stdout] | [INFO] [stdout] 859 | >::insert(controller, StakingLedger::::default_from(stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 854 | pub(crate) fn bond_controller_stash(controller: AccountId, stash: AccountId) -> Result<(), String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:860:9 [INFO] [stdout] | [INFO] [stdout] 860 | >::insert(stash, RewardDestination::Staked); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 854 | pub(crate) fn bond_controller_stash(controller: AccountId, stash: AccountId) -> Result<(), String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:867:28 [INFO] [stdout] | [INFO] [stdout] 867 | let controller = Bonded::::get(stash).expect("testing stash should be bonded"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 866 | pub(crate) fn set_controller_no_checks(stash: &AccountId) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:868:24 [INFO] [stdout] | [INFO] [stdout] 868 | let ledger = Ledger::::get(&controller).expect("testing ledger should exist"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 866 | pub(crate) fn set_controller_no_checks(stash: &AccountId) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:870:11 [INFO] [stdout] | [INFO] [stdout] 870 | Ledger::::remove(&controller); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 866 | pub(crate) fn set_controller_no_checks(stash: &AccountId) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:871:11 [INFO] [stdout] | [INFO] [stdout] 871 | Ledger::::insert(stash, ledger); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 866 | pub(crate) fn set_controller_no_checks(stash: &AccountId) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:872:11 [INFO] [stdout] | [INFO] [stdout] 872 | Bonded::::insert(stash, stash); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 866 | pub(crate) fn set_controller_no_checks(stash: &AccountId) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:877:28 [INFO] [stdout] | [INFO] [stdout] 877 | let controller = Bonded::::get(stash).expect("bond must exist to bond_extra"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 876 | pub(crate) fn bond_extra_no_checks(stash: &AccountId, amount: Balance) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:878:28 [INFO] [stdout] | [INFO] [stdout] 878 | let mut ledger = Ledger::::get(&controller).expect("ledger must exist to bond_extra"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 876 | pub(crate) fn bond_extra_no_checks(stash: &AccountId, amount: Balance) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:881:32 [INFO] [stdout] | [INFO] [stdout] 881 | let _ = asset::update_stake::(stash, new_total); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 876 | pub(crate) fn bond_extra_no_checks(stash: &AccountId, amount: Balance) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:884:11 [INFO] [stdout] | [INFO] [stdout] 884 | Ledger::::insert(controller, ledger); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 876 | pub(crate) fn bond_extra_no_checks(stash: &AccountId, amount: Balance) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:888:30 [INFO] [stdout] | [INFO] [stdout] 888 | let init_ledgers = Ledger::::iter().count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:890:41 [INFO] [stdout] | [INFO] [stdout] 890 | let _ = asset::set_stakeable_balance::(&333, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:891:41 [INFO] [stdout] | [INFO] [stdout] 891 | let _ = asset::set_stakeable_balance::(&444, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:892:41 [INFO] [stdout] | [INFO] [stdout] 892 | let _ = asset::set_stakeable_balance::(&555, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:893:41 [INFO] [stdout] | [INFO] [stdout] 893 | let _ = asset::set_stakeable_balance::(&777, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:901:25 [INFO] [stdout] | [INFO] [stdout] 901 | .for_each(|s| Payee::::insert(s, RewardDestination::Staked)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 908 | let ledger_333 = Ledger::::get(333).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:909:28 [INFO] [stdout] | [INFO] [stdout] 909 | let ledger_444 = Ledger::::get(444).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:910:28 [INFO] [stdout] | [INFO] [stdout] 910 | let ledger_555 = Ledger::::get(555).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:913:11 [INFO] [stdout] | [INFO] [stdout] 913 | Bonded::::mutate(555, |controller| *controller = Some(777)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:914:11 [INFO] [stdout] | [INFO] [stdout] 914 | Ledger::::insert(777, ledger_555); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:917:11 [INFO] [stdout] | [INFO] [stdout] 917 | Bonded::::mutate(444, |controller| *controller = Some(555)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:918:11 [INFO] [stdout] | [INFO] [stdout] 918 | Ledger::::insert(555, ledger_444); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:921:11 [INFO] [stdout] | [INFO] [stdout] 921 | Bonded::::mutate(333, |controller| *controller = Some(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:922:11 [INFO] [stdout] | [INFO] [stdout] 922 | Ledger::::insert(444, ledger_333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:925:11 [INFO] [stdout] | [INFO] [stdout] 925 | Ledger::::remove(333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:929:22 [INFO] [stdout] | [INFO] [stdout] 929 | assert_eq!(Ledger::::iter().count(), 3 + init_ledgers); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:932:22 [INFO] [stdout] | [INFO] [stdout] 932 | assert_eq!(Bonded::::get(333), Some(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:933:29 [INFO] [stdout] | [INFO] [stdout] 933 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(333)), Some(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:934:22 [INFO] [stdout] | [INFO] [stdout] 934 | assert_eq!(Ledger::::get(444).unwrap().stash, 333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:937:22 [INFO] [stdout] | [INFO] [stdout] 937 | assert_eq!(Bonded::::get(444), Some(555)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:938:29 [INFO] [stdout] | [INFO] [stdout] 938 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(444)), Some(555)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:939:22 [INFO] [stdout] | [INFO] [stdout] 939 | assert_eq!(Ledger::::get(555).unwrap().stash, 444); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:942:22 [INFO] [stdout] | [INFO] [stdout] 942 | assert_eq!(Bonded::::get(555), Some(777)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:943:29 [INFO] [stdout] | [INFO] [stdout] 943 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(555)), Some(777)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:944:22 [INFO] [stdout] | [INFO] [stdout] 944 | assert_eq!(Ledger::::get(777).unwrap().stash, 555); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 887 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:967:52 [INFO] [stdout] | [INFO] [stdout] 967 | pub(crate) fn staking_events() -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 967 | pub(crate) fn staking_events() -> Vec> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:968:2 [INFO] [stdout] | [INFO] [stdout] 968 | System::events() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:979:68 [INFO] [stdout] | [INFO] [stdout] 979 | pub(crate) fn staking_events_since_last_call() -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 979 | pub(crate) fn staking_events_since_last_call() -> Vec> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:980:20 [INFO] [stdout] | [INFO] [stdout] 980 | let all: Vec<_> = System::events() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:993:4 [INFO] [stdout] | [INFO] [stdout] 993 | <::ElectionProvider as ElectionProvider>::MaxWinnersPerPage, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 989 | pub(crate) fn to_bounded_supports( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:994:4 [INFO] [stdout] | [INFO] [stdout] 994 | <::ElectionProvider as ElectionProvider>::MaxBackersPerWinner, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 989 | pub(crate) fn to_bounded_supports( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/bonding.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | pallet_balances::Error::::InsufficientBalance [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 20 + use crate::tests::alloc::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 20 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 20 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 14 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 85 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | Error::::InsufficientBond, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 292 | fn cannot_bond_extra_to_lower_than_ed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:840:71 [INFO] [stdout] | [INFO] [stdout] 840 | assert_noop!(Staking::unbond(RuntimeOrigin::signed(3), 20), Error::::NoMoreChunks); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 799 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:846:71 [INFO] [stdout] | [INFO] [stdout] 846 | assert_noop!(Staking::unbond(RuntimeOrigin::signed(3), 20), Error::::NotController); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 799 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:847:72 [INFO] [stdout] | [INFO] [stdout] 847 | assert_noop!(Staking::rebond(RuntimeOrigin::signed(3), 100), Error::::NotController); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 799 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 919 | Error::::InsufficientBond, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:923:40 [INFO] [stdout] | [INFO] [stdout] 923 | assert_eq!(pallet_balances::Holds::::get(&1)[0].amount, 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:943:40 [INFO] [stdout] | [INFO] [stdout] 943 | assert_eq!(pallet_balances::Holds::::get(&1)[0].amount, 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:950:40 [INFO] [stdout] | [INFO] [stdout] 950 | assert_eq!(pallet_balances::Holds::::get(&1).len(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1027:12 [INFO] [stdout] | [INFO] [stdout] 1027 | Error::::Restricted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn restricted_accounts_can_only_withdraw() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1035:12 [INFO] [stdout] | [INFO] [stdout] 1035 | Error::::Restricted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn restricted_accounts_can_only_withdraw() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1043:75 [INFO] [stdout] | [INFO] [stdout] 1043 | assert_noop!(Staking::rebond(RuntimeOrigin::signed(alice), 50), Error::::Restricted); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn restricted_accounts_can_only_withdraw() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1054:12 [INFO] [stdout] | [INFO] [stdout] 1054 | Error::::Restricted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn restricted_accounts_can_only_withdraw() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1097:13 [INFO] [stdout] | [INFO] [stdout] 1097 | Error::::NoUnlockChunk [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1081 | fn rebond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1272:43 [INFO] [stdout] | [INFO] [stdout] 1272 | let _ = asset::set_stakeable_balance::(&11, 1000000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1267 | fn rebond_emits_right_value_in_event() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1358:14 [INFO] [stdout] | [INFO] [stdout] 1358 | Error::::InsufficientBond [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1325 | fn cannot_rebond_to_lower_than_ed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1376:32 [INFO] [stdout] | [INFO] [stdout] 1376 | assert_eq!(asset::staked::(&11), 10 * 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1379:21 [INFO] [stdout] | [INFO] [stdout] 1379 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1380:21 [INFO] [stdout] | [INFO] [stdout] 1380 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1381:25 [INFO] [stdout] | [INFO] [stdout] 1381 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1382:20 [INFO] [stdout] | [INFO] [stdout] 1382 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1387:14 [INFO] [stdout] | [INFO] [stdout] 1387 | Error::::FundedTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1396:14 [INFO] [stdout] | [INFO] [stdout] 1396 | Ledger::::insert(11, StakingLedger::::new(11, 1499)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1396:48 [INFO] [stdout] | [INFO] [stdout] 1396 | Ledger::::insert(11, StakingLedger::::new(11, 1499)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1401:14 [INFO] [stdout] | [INFO] [stdout] 1401 | Error::::FundedTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1405:14 [INFO] [stdout] | [INFO] [stdout] 1405 | Ledger::::insert(11, StakingLedger::::new(11, 999)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1405:48 [INFO] [stdout] | [INFO] [stdout] 1405 | Ledger::::insert(11, StakingLedger::::new(11, 999)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1411:22 [INFO] [stdout] | [INFO] [stdout] 1411 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1412:22 [INFO] [stdout] | [INFO] [stdout] 1412 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1413:26 [INFO] [stdout] | [INFO] [stdout] 1413 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1414:21 [INFO] [stdout] | [INFO] [stdout] 1414 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1416:32 [INFO] [stdout] | [INFO] [stdout] 1416 | assert_eq!(asset::staked::(&11), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1427:32 [INFO] [stdout] | [INFO] [stdout] 1427 | assert_eq!(asset::staked::(&11), 10 * 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1430:21 [INFO] [stdout] | [INFO] [stdout] 1430 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1431:21 [INFO] [stdout] | [INFO] [stdout] 1431 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1432:25 [INFO] [stdout] | [INFO] [stdout] 1432 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1433:20 [INFO] [stdout] | [INFO] [stdout] 1433 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1438:14 [INFO] [stdout] | [INFO] [stdout] 1438 | Error::::FundedTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1443:14 [INFO] [stdout] | [INFO] [stdout] 1443 | Ledger::::insert(11, StakingLedger::::new(11, 0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1443:48 [INFO] [stdout] | [INFO] [stdout] 1443 | Ledger::::insert(11, StakingLedger::::new(11, 0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1449:22 [INFO] [stdout] | [INFO] [stdout] 1449 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1450:22 [INFO] [stdout] | [INFO] [stdout] 1450 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1451:26 [INFO] [stdout] | [INFO] [stdout] 1451 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1452:21 [INFO] [stdout] | [INFO] [stdout] 1452 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | assert_eq!(asset::staked::(&11), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1466:17 [INFO] [stdout] | [INFO] [stdout] 1466 | >::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1462 | fn duplicate_nominations_stripped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1492:17 [INFO] [stdout] | [INFO] [stdout] 1492 | >::iter().map(|(v, _)| v).collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1488 | fn nominating_non_validators_is_not_ok() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1504:13 [INFO] [stdout] | [INFO] [stdout] 1504 | Error::::BadTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1488 | fn nominating_non_validators_is_not_ok() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1508:13 [INFO] [stdout] | [INFO] [stdout] 1508 | Error::::BadTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1488 | fn nominating_non_validators_is_not_ok() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1526:28 [INFO] [stdout] | [INFO] [stdout] 1526 | assert_eq!(Nominators::::get(&101).unwrap().targets, vec![11]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1514 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1532:25 [INFO] [stdout] | [INFO] [stdout] 1532 | assert!(Nominators::::get(&101).unwrap().targets.is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1514 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1537:13 [INFO] [stdout] | [INFO] [stdout] 1537 | Error::::BadTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1514 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1557:14 [INFO] [stdout] | [INFO] [stdout] 1557 | Error::::InsufficientBond [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1563:14 [INFO] [stdout] | [INFO] [stdout] 1563 | Error::::InsufficientBond, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1575:14 [INFO] [stdout] | [INFO] [stdout] 1575 | Error::::InsufficientBond [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1583:14 [INFO] [stdout] | [INFO] [stdout] 1583 | Error::::InsufficientBond [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1600:43 [INFO] [stdout] | [INFO] [stdout] 1600 | let initial_validators = Validators::::count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1601:43 [INFO] [stdout] | [INFO] [stdout] 1601 | let initial_nominators = Nominators::::count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1605:37 [INFO] [stdout] | [INFO] [stdout] 1605 | asset::set_stakeable_balance::(&a, 100_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1606:37 [INFO] [stdout] | [INFO] [stdout] 1606 | asset::set_stakeable_balance::(&b, 100_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1665:14 [INFO] [stdout] | [INFO] [stdout] 1665 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1669:14 [INFO] [stdout] | [INFO] [stdout] 1669 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1687:14 [INFO] [stdout] | [INFO] [stdout] 1687 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1691:14 [INFO] [stdout] | [INFO] [stdout] 1691 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1709:14 [INFO] [stdout] | [INFO] [stdout] 1709 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1713:14 [INFO] [stdout] | [INFO] [stdout] 1713 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1731:14 [INFO] [stdout] | [INFO] [stdout] 1731 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1735:14 [INFO] [stdout] | [INFO] [stdout] 1735 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1753:14 [INFO] [stdout] | [INFO] [stdout] 1753 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1757:14 [INFO] [stdout] | [INFO] [stdout] 1757 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1775:14 [INFO] [stdout] | [INFO] [stdout] 1775 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1779:14 [INFO] [stdout] | [INFO] [stdout] 1779 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1797:14 [INFO] [stdout] | [INFO] [stdout] 1797 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1801:14 [INFO] [stdout] | [INFO] [stdout] 1801 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1817:29 [INFO] [stdout] | [INFO] [stdout] 1817 | assert_eq!(Nominators::::count(), 15 + initial_nominators); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1818:29 [INFO] [stdout] | [INFO] [stdout] 1818 | assert_eq!(Validators::::count(), 15 + initial_validators); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1832:29 [INFO] [stdout] | [INFO] [stdout] 1832 | assert_eq!(Nominators::::count(), 7); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1835:14 [INFO] [stdout] | [INFO] [stdout] 1835 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1838:29 [INFO] [stdout] | [INFO] [stdout] 1838 | assert_eq!(Validators::::count(), 9); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1846:39 [INFO] [stdout] | [INFO] [stdout] 1846 | let validator_count = Validators::::count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1848:39 [INFO] [stdout] | [INFO] [stdout] 1848 | let nominator_count = Nominators::::count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1867:68 [INFO] [stdout] | [INFO] [stdout] 1867 | let (_, controller) = testing_utils::create_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1882:46 [INFO] [stdout] | [INFO] [stdout] 1882 | testing_utils::create_stash_controller::(1337, 100, RewardDestination::Stash) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1887:13 [INFO] [stdout] | [INFO] [stdout] 1887 | Error::::TooManyValidators, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1893:68 [INFO] [stdout] | [INFO] [stdout] 1893 | let (_, controller) = testing_utils::create_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1904:71 [INFO] [stdout] | [INFO] [stdout] 1904 | let (_, last_nominator) = testing_utils::create_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1912:13 [INFO] [stdout] | [INFO] [stdout] 1912 | Error::::TooManyNominators [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(MinNominatorBond::::get(), 1_500); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(MinValidatorBond::::get(), 2_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(MaxNominatorsCount::::get(), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(MaxValidatorsCount::::get(), Some(20)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(ChillThreshold::::get(), Some(Percent::from_percent(75))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(MinCommission::::get(), Perbill::from_percent(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(MaxStakedRewards::::get(), Some(Percent::from_percent(0))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(MinNominatorBond::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(MinValidatorBond::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(MaxNominatorsCount::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(MaxValidatorsCount::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(ChillThreshold::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(MinCommission::::get(), Perbill::from_percent(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(MaxStakedRewards::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | let (stash, controller) = testing_utils::create_unique_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn change_controller_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let raw_ledger = >::get(&stash).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn change_controller_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Error::::NotController, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn change_controller_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | Error::::AlreadyPaired [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 65 | fn change_controller_already_paired_once_stash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | Error::::NotController, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 65 | fn change_controller_already_paired_once_stash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | assert_ok!(::electing_voters( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 30 - assert_ok!(::electing_voters( [INFO] [stdout] 30 + assert_ok!(::electing_voters( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 - assert_ok!(::electing_voters( [INFO] [stdout] 30 + assert_ok!(::electing_voters( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(MinimumActiveStake::::get(), 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | fn set_minimum_active_stake_is_correct() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 39 - assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] 39 + assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 - assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] 39 + assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(MinimumActiveStake::::get(), 50); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | fn set_minimum_active_stake_is_correct() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(MinNominatorBond::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(::VoterList::count(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 57 - ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] 57 + ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 57 - ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] 57 + ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(MinimumActiveStake::::get(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | MinNominatorBond::::set(10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(MinNominatorBond::::get(), 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 69 - ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] 69 + ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 69 - ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] 69 + ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(MinimumActiveStake::::get(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let voters = ::electing_voters( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 86 - let voters = ::electing_voters( [INFO] [stdout] 86 + let voters = ::electing_voters( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 86 - let voters = ::electing_voters( [INFO] [stdout] 86 + let voters = ::electing_voters( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(MinimumActiveStake::::get(), 500); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 79 | fn set_minimum_active_bond_corrupt_state() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let voters = ::electing_voters( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 102 - let voters = ::electing_voters( [INFO] [stdout] 102 + let voters = ::electing_voters( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 102 - let voters = ::electing_voters( [INFO] [stdout] 102 + let voters = ::electing_voters( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(MinimumActiveStake::::get(), 2_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 79 | fn set_minimum_active_bond_corrupt_state() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | assert!(>::iter().map(|(x, _)| x).all(|v| Staking::electing_voters( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 123 | fn voters_include_self_vote() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 151 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | Error::::TooManyTargets [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 274 | fn nomination_quota_checks_at_nominate_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:330:26 [INFO] [stdout] | [INFO] [stdout] 330 | for k in Nominators::::iter_keys() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:333:14 [INFO] [stdout] | [INFO] [stdout] 333 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 349 | for k in Nominators::::iter_keys() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:361:18 [INFO] [stdout] | [INFO] [stdout] 361 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | assert!(Nominators::::contains_key(71)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | assert!(Nominators::::get(71).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:381:25 [INFO] [stdout] | [INFO] [stdout] 381 | assert!(Nominators::::contains_key(101)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:388:18 [INFO] [stdout] | [INFO] [stdout] 388 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:400:25 [INFO] [stdout] | [INFO] [stdout] 400 | assert!(Nominators::::contains_key(71)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | assert!(Nominators::::contains_key(61)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:402:25 [INFO] [stdout] | [INFO] [stdout] 402 | assert!(Nominators::::get(71).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | assert!(Nominators::::get(61).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | assert!(Nominators::::contains_key(101)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | assert!(Nominators::::get(101).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:420:26 [INFO] [stdout] | [INFO] [stdout] 420 | assert!(!Nominators::::contains_key(101)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | assert!(Nominators::::get(101).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:438:34 [INFO] [stdout] | [INFO] [stdout] 438 | assert_eq!(MaxNominationsOf::::get(), 16); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 426 | fn nomination_quota_max_changes_decoding() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:443:18 [INFO] [stdout] | [INFO] [stdout] 443 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 426 | fn nomination_quota_max_changes_decoding() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:457:69 [INFO] [stdout] | [INFO] [stdout] 457 | assert_eq!(Staking::api_nominations_quota(10), MaxNominationsOf::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 455 | fn api_nominations_quota_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:458:70 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(Staking::api_nominations_quota(333), MaxNominationsOf::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 455 | fn api_nominations_quota_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:543:19 [INFO] [stdout] | [INFO] [stdout] 543 | (Nominators::::count() + Validators::::count()) as u32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 539 | fn re_nominate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:543:49 [INFO] [stdout] | [INFO] [stdout] 543 | (Nominators::::count() + Validators::::count()) as u32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 539 | fn re_nominate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:544:16 [INFO] [stdout] | [INFO] [stdout] 544 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:547:6 [INFO] [stdout] | [INFO] [stdout] 547 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:555:16 [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:558:6 [INFO] [stdout] | [INFO] [stdout] 558 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:569:19 [INFO] [stdout] | [INFO] [stdout] 569 | (Nominators::::count() + Validators::::count()) as u32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 565 | fn re_validate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:569:49 [INFO] [stdout] | [INFO] [stdout] 569 | (Nominators::::count() + Validators::::count()) as u32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 565 | fn re_validate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:570:16 [INFO] [stdout] | [INFO] [stdout] 570 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:572:16 [INFO] [stdout] | [INFO] [stdout] 572 | assert_eq!(::VoterList::iter().collect::>(), vec![11, 21, 31]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:578:16 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:580:16 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(::VoterList::iter().collect::>(), vec![11, 21, 31]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:608:7 [INFO] [stdout] | [INFO] [stdout] 608 | ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 608 - ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] 608 + ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 608 - ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] 608 + ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:616:7 [INFO] [stdout] | [INFO] [stdout] 616 | ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 616 - ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] 616 + ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 616 - ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] 616 + ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:656:7 [INFO] [stdout] | [INFO] [stdout] 656 | ::VoterList::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:659:21 [INFO] [stdout] | [INFO] [stdout] 659 | .map(|v| (v, ::VoterList::get_score(&v).unwrap())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:666:26 [INFO] [stdout] | [INFO] [stdout] 666 | let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 666 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 666 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 666 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 666 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:674:38 [INFO] [stdout] | [INFO] [stdout] 674 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 647 | fn voter_snapshot_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:676:26 [INFO] [stdout] | [INFO] [stdout] 676 | let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 676 - let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] 676 + let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 676 - let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] 676 + let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:686:38 [INFO] [stdout] | [INFO] [stdout] 686 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Consumed); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 647 | fn voter_snapshot_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:689:14 [INFO] [stdout] | [INFO] [stdout] 689 | assert!(::electing_voters(bounds, 1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 689 - assert!(::electing_voters(bounds, 1) [INFO] [stdout] 689 + assert!(::electing_voters(bounds, 1) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 689 - assert!(::electing_voters(bounds, 1) [INFO] [stdout] 689 + assert!(::electing_voters(bounds, 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:692:38 [INFO] [stdout] | [INFO] [stdout] 692 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Consumed); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 647 | fn voter_snapshot_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:694:14 [INFO] [stdout] | [INFO] [stdout] 694 | assert!(::electing_voters(bounds, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 694 - assert!(::electing_voters(bounds, 0) [INFO] [stdout] 694 + assert!(::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 694 - assert!(::electing_voters(bounds, 0) [INFO] [stdout] 694 + assert!(::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:699:38 [INFO] [stdout] | [INFO] [stdout] 699 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 647 | fn voter_snapshot_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:707:7 [INFO] [stdout] | [INFO] [stdout] 707 | ::electing_voters(bounds, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 707 - ::electing_voters(bounds, 0) [INFO] [stdout] 707 + ::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 707 - ::electing_voters(bounds, 0) [INFO] [stdout] 707 + ::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:729:7 [INFO] [stdout] | [INFO] [stdout] 729 | ::VoterList::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:732:21 [INFO] [stdout] | [INFO] [stdout] 732 | .map(|v| (v, ::VoterList::get_score(&v).unwrap())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:740:26 [INFO] [stdout] | [INFO] [stdout] 740 | let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 740 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 740 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 740 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 740 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:747:38 [INFO] [stdout] | [INFO] [stdout] 747 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(41)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn voter_list_locked_during_multi_page_snapshot() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:752:26 [INFO] [stdout] | [INFO] [stdout] 752 | let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 752 - let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] 752 + let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 752 - let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] 752 + let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:760:38 [INFO] [stdout] | [INFO] [stdout] 760 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(21)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn voter_list_locked_during_multi_page_snapshot() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:763:26 [INFO] [stdout] | [INFO] [stdout] 763 | let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 763 - let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] 763 + let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 763 - let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] 763 + let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:771:38 [INFO] [stdout] | [INFO] [stdout] 771 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Consumed); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn voter_list_locked_during_multi_page_snapshot() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:775:14 [INFO] [stdout] | [INFO] [stdout] 775 | assert!(::electing_voters(bounds, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 775 - assert!(::electing_voters(bounds, 0) [INFO] [stdout] 775 + assert!(::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 775 - assert!(::electing_voters(bounds, 0) [INFO] [stdout] 775 + assert!(::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:779:38 [INFO] [stdout] | [INFO] [stdout] 779 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn voter_list_locked_during_multi_page_snapshot() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:794:7 [INFO] [stdout] | [INFO] [stdout] 794 | ::VoterList::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:797:21 [INFO] [stdout] | [INFO] [stdout] 797 | .map(|v| (v, ::VoterList::get_score(&v).unwrap())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:821:26 [INFO] [stdout] | [INFO] [stdout] 821 | let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 821 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 821 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 821 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 821 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:828:38 [INFO] [stdout] | [INFO] [stdout] 828 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(41)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 785 | fn voter_list_not_updated_when_locked() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:875:6 [INFO] [stdout] | [INFO] [stdout] 875 | ::VoterList::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:878:20 [INFO] [stdout] | [INFO] [stdout] 878 | .map(|v| (v, ::VoterList::get_score(&v).unwrap())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:272:31 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(ValidatorCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn new_era_elects_correct_number_of_validators() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:483:31 [INFO] [stdout] | [INFO] [stdout] 483 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 479 | fn add_electable_stashes_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:488:24 [INFO] [stdout] | [INFO] [stdout] 488 | ElectableStashes::::get().into_inner().into_iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 479 | fn add_electable_stashes_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:495:24 [INFO] [stdout] | [INFO] [stdout] 495 | ElectableStashes::::get().into_inner().into_iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 479 | fn add_electable_stashes_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 502 | fn add_electable_stashes_overflow_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:520:24 [INFO] [stdout] | [INFO] [stdout] 520 | ElectableStashes::::get().into_inner().into_iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 502 | fn add_electable_stashes_overflow_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn overflow_electable_stashes_no_exposures_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:549:34 [INFO] [stdout] | [INFO] [stdout] 549 | assert_eq!(ElectableStashes::::get().into_iter().collect::>(), vec![1, 2]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn overflow_electable_stashes_no_exposures_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | let exposure_exists = |acc, era| Eras::::get_full_exposure(era, &acc).total != 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn overflow_electable_stashes_no_exposures_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/election_provider.rs:578:16 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(System::block_number(), 15); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 563 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:591:22 [INFO] [stdout] | [INFO] [stdout] 591 | ValidatorCount::::set(expected_elected.len() as u32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:595:35 [INFO] [stdout] | [INFO] [stdout] 595 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:596:32 [INFO] [stdout] | [INFO] [stdout] 596 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:597:38 [INFO] [stdout] | [INFO] [stdout] 597 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:603:35 [INFO] [stdout] | [INFO] [stdout] 603 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:604:32 [INFO] [stdout] | [INFO] [stdout] 604 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:615:38 [INFO] [stdout] | [INFO] [stdout] 615 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/election_provider.rs:695:16 [INFO] [stdout] | [INFO] [stdout] 695 | assert_eq!(System::block_number(), 15); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 563 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:709:35 [INFO] [stdout] | [INFO] [stdout] 709 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:710:38 [INFO] [stdout] | [INFO] [stdout] 710 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:711:32 [INFO] [stdout] | [INFO] [stdout] 711 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:715:35 [INFO] [stdout] | [INFO] [stdout] 715 | assert_eq!(NextElectionPage::::get(), Some(1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:716:38 [INFO] [stdout] | [INFO] [stdout] 716 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(31)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:718:25 [INFO] [stdout] | [INFO] [stdout] 718 | ElectableStashes::::get().into_iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:738:35 [INFO] [stdout] | [INFO] [stdout] 738 | assert_eq!(NextElectionPage::::get(), Some(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:739:38 [INFO] [stdout] | [INFO] [stdout] 739 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(81)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:756:32 [INFO] [stdout] | [INFO] [stdout] 756 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:757:38 [INFO] [stdout] | [INFO] [stdout] 757 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:758:35 [INFO] [stdout] | [INFO] [stdout] 758 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:799:35 [INFO] [stdout] | [INFO] [stdout] 799 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | ::on_relay_session_report( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 198 - ::on_relay_session_report( [INFO] [stdout] 198 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 198 - ::on_relay_session_report( [INFO] [stdout] 198 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/era_rotation.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:376:33 [INFO] [stdout] | [INFO] [stdout] 376 | assert_eq!(>::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 371 | fn max_staked_rewards_default_not_set_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:392:37 [INFO] [stdout] | [INFO] [stdout] 392 | assert_eq!(ErasValidatorReward::::get(0).unwrap(), default_stakers_payout); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 371 | fn max_staked_rewards_default_not_set_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:401:22 [INFO] [stdout] | [INFO] [stdout] 401 | >::set(Some(Percent::from_parts(100))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 397 | fn max_staked_rewards_default_equal_100() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:417:37 [INFO] [stdout] | [INFO] [stdout] 417 | assert_eq!(ErasValidatorReward::::get(0).unwrap(), default_stakers_payout); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 397 | fn max_staked_rewards_default_equal_100() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:436:33 [INFO] [stdout] | [INFO] [stdout] 436 | assert_eq!(>::get(), Some(Percent::from_percent(10))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 422 | fn max_staked_rewards_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:458:50 [INFO] [stdout] | [INFO] [stdout] 458 | let validators_payout = ErasValidatorReward::::get(1).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 422 | fn max_staked_rewards_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/force_unstake_kill_stash.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | assert_noop!(Staking::kill_stash(&12), Error::::NotStash); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 43 | fn kill_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(>::get(&10), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Controller(10)), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(10)), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(>::get(&42), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Controller(42)), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(42)), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(>::get(&200), Some(100)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | StakingLedger::::paired_account(StakingAccount::Controller(100)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(200)), Some(100)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(StakingLedger::::get(StakingAccount::Stash(42)).is_err()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(>::get(&11), Some(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | match StakingLedger::::get(StakingAccount::Stash(11)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(>::get(&200), Some(100)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | match StakingLedger::::get(StakingAccount::Stash(200)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | match StakingLedger::::get(StakingAccount::Controller(100)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(Bonded::::get(444), Some(555)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(Ledger::::get(555).unwrap().stash, 444); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(Bonded::::get(333), Some(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(333)), Some(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Ledger::::get(444).unwrap().stash, 333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:103:39 [INFO] [stdout] | [INFO] [stdout] 103 | let ledger_result = StakingLedger::::get(StakingAccount::Stash(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let ledger_result = StakingLedger::::get(StakingAccount::Controller(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | let ledger_result = StakingLedger::::get(StakingAccount::Stash(333)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let mut ledger = Ledger::::get(444).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | Ledger::::insert(444, ledger); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(StakingLedger::::get(StakingAccount::Stash(333)).is_err()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(!StakingLedger::::is_bonded(StakingAccount::Stash(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | assert!(>::get(&42).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | let mut ledger: StakingLedger = StakingLedger::new(42, 84); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | assert!(StakingLedger::::is_bonded(StakingAccount::Stash(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | assert!(>::get(&42).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(>::get(&42), Some(reward_dest)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:156:77 [INFO] [stdout] | [INFO] [stdout] 156 | let (stash, controller) = testing_utils::create_unique_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn bond_controller_cannot_be_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(Bonded::::get(stash), Some(controller)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn bond_controller_cannot_be_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(Ledger::::get(controller).map(|l| l.stash), Some(stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn bond_controller_cannot_be_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Error::::AlreadyPaired, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn bond_controller_cannot_be_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | assert!(!StakingLedger::::is_bonded(StakingAccount::Stash(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | assert!(!StakingLedger::::is_bonded(StakingAccount::Controller(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | >::insert(42, 42); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | assert!(!StakingLedger::::is_bonded(StakingAccount::Controller(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(>::get(&11), Some(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(StakingLedger::::is_bonded(StakingAccount::Stash(11))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | assert!(StakingLedger::::is_bonded(StakingAccount::Controller(11))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | >::remove(42); // ensures try-state checks pass. [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | Payee::::insert(11, RewardDestination::Staked); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 195 | fn set_payee_errors_on_controller_destination() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | Error::::ControllerDeprecated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 195 | fn set_payee_errors_on_controller_destination() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(Payee::::get(&11), Some(RewardDestination::Staked)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 195 | fn set_payee_errors_on_controller_destination() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | Payee::::insert(11, RewardDestination::Controller); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(Payee::::get(&11), Some(RewardDestination::Controller)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(Payee::::get(&11), Some(RewardDestination::Account(11))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | Payee::::insert(21, RewardDestination::Stash); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(Payee::::get(&21), Some(RewardDestination::Stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | Error::::NotController [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | assert_eq!(Payee::::get(&21), Some(RewardDestination::Stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:246:77 [INFO] [stdout] | [INFO] [stdout] 246 | assert_noop!(Staking::set_controller(RuntimeOrigin::signed(555)), Error::::BadState); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 240 | fn set_controller_with_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:247:77 [INFO] [stdout] | [INFO] [stdout] 247 | assert_noop!(Staking::set_controller(RuntimeOrigin::signed(444)), Error::::BadState); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 240 | fn set_controller_with_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | Ledger::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | Bonded::::insert(stash, ctlr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | Payee::::insert(stash, RewardDestination::Staked); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:285:6 [INFO] [stdout] | [INFO] [stdout] 285 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:302:6 [INFO] [stdout] | [INFO] [stdout] 302 | ::WeightInfo::deprecate_controller_batch( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:303:7 [INFO] [stdout] | [INFO] [stdout] 303 | ::MaxControllersInDeprecationBatch::get() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(Ledger::::get(ctlr), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:316:25 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(Bonded::::get(stash), Some(stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 319 | let ledger_updated = Ledger::::get(stash).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | Ledger::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | Bonded::::insert(stash, ctlr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | Payee::::insert(stash, RewardDestination::Staked); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:355:6 [INFO] [stdout] | [INFO] [stdout] 355 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:363:6 [INFO] [stdout] | [INFO] [stdout] 363 | ::WeightInfo::deprecate_controller_batch(controllers.len() as u32) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:375:26 [INFO] [stdout] | [INFO] [stdout] 375 | assert_eq!(Ledger::::get(ctlr), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | assert_eq!(Bonded::::get(stash), Some(stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:381:35 [INFO] [stdout] | [INFO] [stdout] 381 | let ledger_updated = Ledger::::get(stash).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | Ledger::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | Bonded::::insert(stash, ctlr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | Payee::::insert(stash, RewardDestination::Controller); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:407:6 [INFO] [stdout] | [INFO] [stdout] 407 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:415:6 [INFO] [stdout] | [INFO] [stdout] 415 | ::WeightInfo::deprecate_controller_batch(1 as u32) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(Ledger::::get(ctlr).is_some(), true); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:424:24 [INFO] [stdout] | [INFO] [stdout] 424 | assert_eq!(Bonded::::get(stash), Some(ctlr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:427:34 [INFO] [stdout] | [INFO] [stdout] 427 | let ledger_updated = Ledger::::get(ctlr).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:440:6 [INFO] [stdout] | [INFO] [stdout] 440 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 433 | fn deprecate_controller_batch_with_bad_state_ok() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:463:6 [INFO] [stdout] | [INFO] [stdout] 463 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 456 | fn deprecate_controller_batch_with_bad_state_failures() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:491:21 [INFO] [stdout] | [INFO] [stdout] 491 | assert!(Bonded::::get(&1111).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 483 | fn inspect_recovery_ledger_simple_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:504:42 [INFO] [stdout] | [INFO] [stdout] 504 | let lock_333_before = asset::staked::(&333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:519:34 [INFO] [stdout] | [INFO] [stdout] 519 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:527:31 [INFO] [stdout] | [INFO] [stdout] 527 | assert_ok!(StakingLedger::::kill(&333)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:531:62 [INFO] [stdout] | [INFO] [stdout] 531 | assert_eq!(Staking::inspect_bond_state(&333), Err(Error::::BadState)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:540:31 [INFO] [stdout] | [INFO] [stdout] 540 | assert_eq!(asset::staked::(&333), lock_333_before); // NOK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | assert!(Bonded::::get(&333).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:542:20 [INFO] [stdout] | [INFO] [stdout] 542 | assert!(Payee::::get(&333).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | assert!(Ledger::::get(&444).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:547:31 [INFO] [stdout] | [INFO] [stdout] 547 | assert_eq!(asset::staked::(&444), 0); // NOK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | assert!(Bonded::::get(&444).is_some()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:549:20 [INFO] [stdout] | [INFO] [stdout] 549 | assert!(Payee::::get(&444).is_some()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | assert!(Ledger::::get(&555).is_none()); // NOK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:552:34 [INFO] [stdout] | [INFO] [stdout] 552 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:561:42 [INFO] [stdout] | [INFO] [stdout] 561 | let lock_333_before = asset::staked::(&333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:576:34 [INFO] [stdout] | [INFO] [stdout] 576 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:584:31 [INFO] [stdout] | [INFO] [stdout] 584 | assert_ok!(StakingLedger::::kill(&444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:592:24 [INFO] [stdout] | [INFO] [stdout] 592 | assert_eq!(Ledger::::get(&444), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:593:62 [INFO] [stdout] | [INFO] [stdout] 593 | assert_eq!(Staking::inspect_bond_state(&444), Err(Error::::NotStash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:596:31 [INFO] [stdout] | [INFO] [stdout] 596 | assert_eq!(asset::staked::(&333), lock_333_before); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | assert_eq!(Bonded::::get(&333), Some(444)); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | assert!(Payee::::get(&333).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:600:21 [INFO] [stdout] | [INFO] [stdout] 600 | assert!(Ledger::::get(&444).is_none()); // NOK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:603:31 [INFO] [stdout] | [INFO] [stdout] 603 | assert_eq!(asset::staked::(&444), 0); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:604:21 [INFO] [stdout] | [INFO] [stdout] 604 | assert!(Bonded::::get(&444).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:605:20 [INFO] [stdout] | [INFO] [stdout] 605 | assert!(Payee::::get(&444).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:606:21 [INFO] [stdout] | [INFO] [stdout] 606 | assert!(Ledger::::get(&555).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:608:34 [INFO] [stdout] | [INFO] [stdout] 608 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:631:34 [INFO] [stdout] | [INFO] [stdout] 631 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:664:34 [INFO] [stdout] | [INFO] [stdout] 664 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:670:37 [INFO] [stdout] | [INFO] [stdout] 670 | assert_ok!(Staking::do_try_state(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:684:54 [INFO] [stdout] | [INFO] [stdout] 684 | let total_444_before_corruption = asset::staked::(&444); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn restore_ledger_corrupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:699:31 [INFO] [stdout] | [INFO] [stdout] 699 | assert_ok!(StakingLedger::::kill(&333)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn restore_ledger_corrupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:703:62 [INFO] [stdout] | [INFO] [stdout] 703 | assert_eq!(Staking::inspect_bond_state(&333), Err(Error::::BadState)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn restore_ledger_corrupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:708:34 [INFO] [stdout] | [INFO] [stdout] 708 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | Error::::CannotRestoreLedger [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn restore_ledger_corrupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:730:37 [INFO] [stdout] | [INFO] [stdout] 730 | assert_ok!(Staking::do_try_state(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:756:34 [INFO] [stdout] | [INFO] [stdout] 756 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:764:31 [INFO] [stdout] | [INFO] [stdout] 764 | assert_ok!(StakingLedger::::kill(&444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 739 | fn restore_ledger_corrupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:770:62 [INFO] [stdout] | [INFO] [stdout] 770 | assert_eq!(Staking::inspect_bond_state(&444), Err(Error::::NotStash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 739 | fn restore_ledger_corrupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:773:37 [INFO] [stdout] | [INFO] [stdout] 773 | assert_ok!(Staking::do_try_state(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:786:42 [INFO] [stdout] | [INFO] [stdout] 786 | let lock_333_before = asset::staked::(&333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:787:42 [INFO] [stdout] | [INFO] [stdout] 787 | let lock_444_before = asset::staked::(&444); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:803:34 [INFO] [stdout] | [INFO] [stdout] 803 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:807:31 [INFO] [stdout] | [INFO] [stdout] 807 | assert_eq!(asset::staked::(&333), lock_333_before); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:808:31 [INFO] [stdout] | [INFO] [stdout] 808 | assert_eq!(asset::staked::(&444), lock_444_before + 40); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:812:31 [INFO] [stdout] | [INFO] [stdout] 812 | assert_eq!(asset::staked::(&333), lock_444_before + 40 + 30); //not OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:813:31 [INFO] [stdout] | [INFO] [stdout] 813 | assert_eq!(asset::staked::(&444), lock_444_before + 40); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:830:13 [INFO] [stdout] | [INFO] [stdout] 830 | Error::::CannotRestoreLedger [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:844:30 [INFO] [stdout] | [INFO] [stdout] 844 | let ledger_333 = Bonded::::get(&333).and_then(Ledger::::get).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:844:65 [INFO] [stdout] | [INFO] [stdout] 844 | let ledger_333 = Bonded::::get(&333).and_then(Ledger::::get).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | let ledger_444 = Bonded::::get(&444).and_then(Ledger::::get).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:845:65 [INFO] [stdout] | [INFO] [stdout] 845 | let ledger_444 = Bonded::::get(&444).and_then(Ledger::::get).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:848:31 [INFO] [stdout] | [INFO] [stdout] 848 | assert_eq!(asset::staked::(&333), ledger_333.total); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:850:31 [INFO] [stdout] | [INFO] [stdout] 850 | assert_eq!(asset::staked::(&444), ledger_444.total); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:853:37 [INFO] [stdout] | [INFO] [stdout] 853 | assert_ok!(Staking::do_try_state(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | let nominator_balance = asset::stakeable_balance::(&101); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn nominators_also_get_slashed_pro_rata() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | let validator_balance = asset::stakeable_balance::(&11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn nominators_also_get_slashed_pro_rata() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | asset::stakeable_balance::(&101), // free balance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn nominators_also_get_slashed_pro_rata() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | asset::stakeable_balance::(&11), // free balance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn nominators_also_get_slashed_pro_rata() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/slashing.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 200 - ::on_new_offences( [INFO] [stdout] 200 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 200 - ::on_new_offences( [INFO] [stdout] 200 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/slashing.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 240 - ::on_new_offences( [INFO] [stdout] 240 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 240 - ::on_new_offences( [INFO] [stdout] 240 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/slashing.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 274 - ::on_new_offences( [INFO] [stdout] 274 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 274 - ::on_new_offences( [INFO] [stdout] 274 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | assert!(OffenceQueue::::iter_prefix(72).next().is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 631 | fn really_old_offences_are_ignored() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:668:27 [INFO] [stdout] | [INFO] [stdout] 668 | assert!(OffenceQueue::::iter_prefix(73).next().is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 631 | fn really_old_offences_are_ignored() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:669:32 [INFO] [stdout] | [INFO] [stdout] 669 | assert!(!OffenceQueueEras::::get().unwrap_or_default().contains(&72)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 631 | fn really_old_offences_are_ignored() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:670:32 [INFO] [stdout] | [INFO] [stdout] 670 | assert!(!OffenceQueueEras::::get().unwrap_or_default().contains(&73)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 631 | fn really_old_offences_are_ignored() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | let _ = asset::set_stakeable_balance::(&i, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 50 | fn basic_setup_session_queuing_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | StakingLedgerInspect:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | StakingLedgerInspect:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(Nominators::::get(101).unwrap().targets, vec![11, 21]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(ErasTotalStake::::get(active_era()), 2500); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | assert_eq!(ValidatorCount::::get(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(ForceEra::::get(), Forcing::NotForcing); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | Validators::::insert(987654321, ValidatorPrefs::default()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 287 | fn count_check_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | Nominators::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 287 | fn count_check_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:311:39 [INFO] [stdout] | [INFO] [stdout] 311 | let rogue_ledger = StakingLedger::::new(123456, 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 306 | fn check_payee_invariant1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | Ledger::::insert(123456, rogue_ledger); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 306 | fn check_payee_invariant1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | Payee::::insert(1111, RewardDestination::Staked); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 318 | fn check_payee_invariant2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(ValidatorCount::::get(), 46); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 332 | fn increase_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | Error::::TooManyValidators, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 332 | fn increase_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:362:32 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(ValidatorCount::::get(), 40); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 351 | fn scale_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | Error::::TooManyValidators, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 351 | fn scale_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | Error::::TooManyValidators, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 373 | fn cannot_set_unsupported_validator_count() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | assert_ok!(::force_unstake(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 404 - assert_ok!(::force_unstake(11)); [INFO] [stdout] 404 + assert_ok!(::force_unstake(11)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 404 - assert_ok!(::force_unstake(11)); [INFO] [stdout] 404 + assert_ok!(::force_unstake(11)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:411:16 [INFO] [stdout] | [INFO] [stdout] 411 | assert_ok!(::force_unstake(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 411 - assert_ok!(::force_unstake(11)); [INFO] [stdout] 411 + assert_ok!(::force_unstake(11)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 411 - assert_ok!(::force_unstake(11)); [INFO] [stdout] 411 + assert_ok!(::force_unstake(11)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:457:22 [INFO] [stdout] | [INFO] [stdout] 457 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 416 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:458:22 [INFO] [stdout] | [INFO] [stdout] 458 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 416 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:459:26 [INFO] [stdout] | [INFO] [stdout] 459 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 416 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:460:21 [INFO] [stdout] | [INFO] [stdout] 460 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 416 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:462:32 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(asset::staked::(&11), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 416 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:498:38 [INFO] [stdout] | [INFO] [stdout] 498 | assert_eq!(asset::total_balance::(&10), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 496 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 502 - assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] 502 + assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 502 - assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] 502 + assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:505:31 [INFO] [stdout] | [INFO] [stdout] 505 | assert_eq!(asset::staked::(&10), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 496 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:508:16 [INFO] [stdout] | [INFO] [stdout] 508 | assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 508 - assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] 508 + assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 508 - assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] 508 + assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:512:6 [INFO] [stdout] | [INFO] [stdout] 512 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 512 - ::stake(&10), [INFO] [stdout] 512 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 512 - ::stake(&10), [INFO] [stdout] 512 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | assert_ok!(::unbond(&10, 200)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 517 - assert_ok!(::unbond(&10, 200)); [INFO] [stdout] 517 + assert_ok!(::unbond(&10, 200)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 517 - assert_ok!(::unbond(&10, 200)); [INFO] [stdout] 517 + assert_ok!(::unbond(&10, 200)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:530:6 [INFO] [stdout] | [INFO] [stdout] 530 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 530 - ::stake(&10), [INFO] [stdout] 530 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 530 - ::stake(&10), [INFO] [stdout] 530 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:535:31 [INFO] [stdout] | [INFO] [stdout] 535 | assert_eq!(asset::staked::(&10), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 496 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:540:16 [INFO] [stdout] | [INFO] [stdout] 540 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 540 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 540 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 540 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 540 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:542:6 [INFO] [stdout] | [INFO] [stdout] 542 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 542 - ::stake(&10), [INFO] [stdout] 542 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 542 - ::stake(&10), [INFO] [stdout] 542 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:548:16 [INFO] [stdout] | [INFO] [stdout] 548 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 548 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 548 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 548 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 548 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:550:6 [INFO] [stdout] | [INFO] [stdout] 550 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 550 - ::stake(&10), [INFO] [stdout] 550 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 550 - ::stake(&10), [INFO] [stdout] 550 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:555:16 [INFO] [stdout] | [INFO] [stdout] 555 | assert_ok!(::unbond(&10, 900)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 555 - assert_ok!(::unbond(&10, 900)); [INFO] [stdout] 555 + assert_ok!(::unbond(&10, 900)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 555 - assert_ok!(::unbond(&10, 900)); [INFO] [stdout] 555 + assert_ok!(::unbond(&10, 900)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:557:6 [INFO] [stdout] | [INFO] [stdout] 557 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 557 - ::stake(&10), [INFO] [stdout] 557 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 557 - ::stake(&10), [INFO] [stdout] 557 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 562 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 562 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 562 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 562 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:565:55 [INFO] [stdout] | [INFO] [stdout] 565 | assert_eq!(Staking::ledger(10.into()), Err(Error::::NotStash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 496 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:566:32 [INFO] [stdout] | [INFO] [stdout] 566 | assert_eq!(VirtualStakers::::contains_key(10), false); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 496 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:575:6 [INFO] [stdout] | [INFO] [stdout] 575 | ::virtual_bond(&10, 100, &10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 575 - ::virtual_bond(&10, 100, &10), [INFO] [stdout] 575 + ::virtual_bond(&10, 100, &10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 575 - ::virtual_bond(&10, 100, &10), [INFO] [stdout] 575 + ::virtual_bond(&10, 100, &10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Error::::RewardDestinationRestricted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 571 | fn virtual_staker_cannot_pay_reward_to_self_account() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:580:16 [INFO] [stdout] | [INFO] [stdout] 580 | assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 580 - assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] 580 + assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 580 - assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] 580 + assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:584:6 [INFO] [stdout] | [INFO] [stdout] 584 | ::set_payee(&10, &10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 584 - ::set_payee(&10, &10), [INFO] [stdout] 584 + ::set_payee(&10, &10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 584 - ::set_payee(&10, &10), [INFO] [stdout] 584 + ::set_payee(&10, &10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | Error::::RewardDestinationRestricted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 571 | fn virtual_staker_cannot_pay_reward_to_self_account() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:598:6 [INFO] [stdout] | [INFO] [stdout] 598 | ::virtual_bond(&200, 200, &201), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 598 - ::virtual_bond(&200, 200, &201), [INFO] [stdout] 598 + ::virtual_bond(&200, 200, &201), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 598 - ::virtual_bond(&200, 200, &201), [INFO] [stdout] 598 + ::virtual_bond(&200, 200, &201), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:599:13 [INFO] [stdout] | [INFO] [stdout] 599 | Error::::AlreadyBonded [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 591 | fn virtual_staker_cannot_bond_again() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:604:6 [INFO] [stdout] | [INFO] [stdout] 604 | ::virtual_bond(&200, 200, &202), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 604 - ::virtual_bond(&200, 200, &202), [INFO] [stdout] 604 + ::virtual_bond(&200, 200, &202), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 604 - ::virtual_bond(&200, 200, &202), [INFO] [stdout] 604 + ::virtual_bond(&200, 200, &202), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | Error::::AlreadyBonded [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 591 | fn virtual_staker_cannot_bond_again() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:610:6 [INFO] [stdout] | [INFO] [stdout] 610 | ::bond(&200, 200, &202), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 610 - ::bond(&200, 200, &202), [INFO] [stdout] 610 + ::bond(&200, 200, &202), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 610 - ::bond(&200, 200, &202), [INFO] [stdout] 610 + ::bond(&200, 200, &202), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:611:13 [INFO] [stdout] | [INFO] [stdout] 611 | Error::::AlreadyBonded [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 591 | fn virtual_staker_cannot_bond_again() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:621:6 [INFO] [stdout] | [INFO] [stdout] 621 | ::virtual_bond(&101, 200, &102), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 621 - ::virtual_bond(&101, 200, &102), [INFO] [stdout] 621 + ::virtual_bond(&101, 200, &102), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 621 - ::virtual_bond(&101, 200, &102), [INFO] [stdout] 621 + ::virtual_bond(&101, 200, &102), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:622:13 [INFO] [stdout] | [INFO] [stdout] 622 | Error::::AlreadyBonded [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 617 | fn normal_staker_cannot_virtual_bond() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:627:6 [INFO] [stdout] | [INFO] [stdout] 627 | ::virtual_bond(&21, 200, &22), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 627 - ::virtual_bond(&21, 200, &22), [INFO] [stdout] 627 + ::virtual_bond(&21, 200, &22), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 627 - ::virtual_bond(&21, 200, &22), [INFO] [stdout] 627 + ::virtual_bond(&21, 200, &22), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | Error::::AlreadyBonded [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 617 | fn normal_staker_cannot_virtual_bond() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:637:35 [INFO] [stdout] | [INFO] [stdout] 637 | asset::set_stakeable_balance::(&200, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 634 | fn migrate_virtual_staker() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:641:31 [INFO] [stdout] | [INFO] [stdout] 641 | assert_eq!(asset::staked::(&200), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 634 | fn migrate_virtual_staker() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:644:16 [INFO] [stdout] | [INFO] [stdout] 644 | assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 644 - assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] 644 + assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 644 - assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] 644 + assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:646:16 [INFO] [stdout] | [INFO] [stdout] 646 | assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 646 - assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] 646 + assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 646 - assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] 646 + assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:649:31 [INFO] [stdout] | [INFO] [stdout] 649 | assert_eq!(asset::staked::(&200), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 634 | fn migrate_virtual_staker() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:652:24 [INFO] [stdout] | [INFO] [stdout] 652 | assert_eq!(Pallet::::is_virtual_staker(&200), true); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 634 | fn migrate_virtual_staker() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:664:16 [INFO] [stdout] | [INFO] [stdout] 664 | assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 664 - assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] 664 + assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 664 - assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] 664 + assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:666:16 [INFO] [stdout] | [INFO] [stdout] 666 | assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 666 - assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] 666 + assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 666 - assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] 666 + assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:670:55 [INFO] [stdout] | [INFO] [stdout] 670 | let nominator_balance = asset::stakeable_balance::(&101); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 657 | fn virtual_nominators_are_lazily_slashed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:672:55 [INFO] [stdout] | [INFO] [stdout] 672 | let validator_balance = asset::stakeable_balance::(&11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 657 | fn virtual_nominators_are_lazily_slashed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:703:42 [INFO] [stdout] | [INFO] [stdout] 703 | assert_eq!(asset::stakeable_balance::(&11), validator_balance - validator_share); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 657 | fn virtual_nominators_are_lazily_slashed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:706:42 [INFO] [stdout] | [INFO] [stdout] 706 | assert_eq!(asset::stakeable_balance::(&101), nominator_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 657 | fn virtual_nominators_are_lazily_slashed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 722 - assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] 722 + assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 722 - assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] 722 + assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:724:17 [INFO] [stdout] | [INFO] [stdout] 724 | assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 724 - assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] 724 + assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 724 - assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] 724 + assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:727:56 [INFO] [stdout] | [INFO] [stdout] 727 | let validator_balance = asset::stakeable_balance::(&11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 713 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:729:56 [INFO] [stdout] | [INFO] [stdout] 729 | let nominator_balance = asset::stakeable_balance::(&101); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 713 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:762:33 [INFO] [stdout] | [INFO] [stdout] 762 | asset::stakeable_balance::(&11), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 713 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:767:43 [INFO] [stdout] | [INFO] [stdout] 767 | assert_eq!(asset::stakeable_balance::(&101), nominator_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 713 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:776:14 [INFO] [stdout] | [INFO] [stdout] 776 | Error::::VirtualStakerNotAllowed [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 713 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:790:16 [INFO] [stdout] | [INFO] [stdout] 790 | assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 790 - assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] 790 + assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 790 - assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] 790 + assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | Error::::VirtualStakerNotAllowed [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_not_allowed_for_virtual_stakers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:799:20 [INFO] [stdout] | [INFO] [stdout] 799 | >::remove(333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_not_allowed_for_virtual_stakers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:816:31 [INFO] [stdout] | [INFO] [stdout] 816 | assert_eq!(asset::staked::(&alice), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:819:45 [INFO] [stdout] | [INFO] [stdout] 819 | testing_utils::migrate_to_old_currency::(alice); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:821:31 [INFO] [stdout] | [INFO] [stdout] 821 | assert_eq!(asset::staked::(&alice), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:824:6 [INFO] [stdout] | [INFO] [stdout] 824 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 824 - ::stake(&alice), [INFO] [stdout] 824 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 824 - ::stake(&alice), [INFO] [stdout] 824 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:831:41 [INFO] [stdout] | [INFO] [stdout] 831 | let _ = asset::mint_into_existing::(&alice, 100); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:837:32 [INFO] [stdout] | [INFO] [stdout] 837 | assert_eq!(asset::staked::(&alice), 1000 + 100); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:839:7 [INFO] [stdout] | [INFO] [stdout] 839 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 839 - ::stake(&alice), [INFO] [stdout] 839 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 839 - ::stake(&alice), [INFO] [stdout] 839 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:852:32 [INFO] [stdout] | [INFO] [stdout] 852 | assert_eq!(asset::staked::(&alice), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:854:7 [INFO] [stdout] | [INFO] [stdout] 854 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 854 - ::stake(&alice), [INFO] [stdout] 854 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 854 - ::stake(&alice), [INFO] [stdout] 854 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:866:31 [INFO] [stdout] | [INFO] [stdout] 866 | assert_eq!(asset::staked::(&alice), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:868:6 [INFO] [stdout] | [INFO] [stdout] 868 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 868 - ::stake(&alice), [INFO] [stdout] 868 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 868 - ::stake(&alice), [INFO] [stdout] 868 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:875:13 [INFO] [stdout] | [INFO] [stdout] 875 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:889:45 [INFO] [stdout] | [INFO] [stdout] 889 | testing_utils::migrate_to_old_currency::(alice); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 884 | fn migrate_removes_old_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:890:31 [INFO] [stdout] | [INFO] [stdout] 890 | assert_eq!(asset::staked::(&alice), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 884 | fn migrate_removes_old_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:892:31 [INFO] [stdout] | [INFO] [stdout] 892 | let pre_migrate_consumer = System::consumers(&alice); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:900:15 [INFO] [stdout] | [INFO] [stdout] 900 | assert_eq!(System::consumers(&alice), pre_migrate_consumer - 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:905:6 [INFO] [stdout] | [INFO] [stdout] 905 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 905 - ::stake(&alice), [INFO] [stdout] 905 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 905 - ::stake(&alice), [INFO] [stdout] 905 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:908:31 [INFO] [stdout] | [INFO] [stdout] 908 | assert_eq!(asset::staked::(&alice), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 884 | fn migrate_removes_old_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:918:13 [INFO] [stdout] | [INFO] [stdout] 918 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 884 | fn migrate_removes_old_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:931:45 [INFO] [stdout] | [INFO] [stdout] 931 | testing_utils::migrate_to_old_currency::(alice); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 923 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:932:31 [INFO] [stdout] | [INFO] [stdout] 932 | assert_eq!(asset::staked::(&alice), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 923 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:936:6 [INFO] [stdout] | [INFO] [stdout] 936 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 936 - ::stake(&alice), [INFO] [stdout] 936 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 936 - ::stake(&alice), [INFO] [stdout] 936 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 952 | Error::::NotEnoughFunds [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 923 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:967:6 [INFO] [stdout] | [INFO] [stdout] 967 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 967 - ::stake(&alice), [INFO] [stdout] 967 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 967 - ::stake(&alice), [INFO] [stdout] 967 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:970:31 [INFO] [stdout] | [INFO] [stdout] 970 | assert_eq!(asset::staked::(&alice), expected_hold); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 923 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:983:13 [INFO] [stdout] | [INFO] [stdout] 983 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 923 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1000:4 [INFO] [stdout] | [INFO] [stdout] 1000 | System::inc_providers(&200); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1001:4 [INFO] [stdout] | [INFO] [stdout] 1001 | System::inc_consumers(&200).expect("has provider, can consume"); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1008:16 [INFO] [stdout] | [INFO] [stdout] 1008 | assert_eq!(System::consumers(&200), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1009:16 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_eq!(System::providers(&200), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1010:14 [INFO] [stdout] | [INFO] [stdout] 1010 | assert!(!System::account_exists(&200)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:1015:14 [INFO] [stdout] | [INFO] [stdout] 1015 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 992 | fn virtual_staker_consumer_provider_dec() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1021:5 [INFO] [stdout] | [INFO] [stdout] 1021 | System::inc_providers(&200); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:1026:14 [INFO] [stdout] | [INFO] [stdout] 1026 | Error::::BadState [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 992 | fn virtual_staker_consumer_provider_dec() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1034:15 [INFO] [stdout] | [INFO] [stdout] 1034 | assert_eq!(System::providers(&200), 2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1040:15 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(System::providers(&200), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1041:15 [INFO] [stdout] | [INFO] [stdout] 1041 | assert_eq!(System::consumers(&200), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 808 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:1046:13 [INFO] [stdout] | [INFO] [stdout] 1046 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 992 | fn virtual_staker_consumer_provider_dec() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InspectLockableCurrency` and `ReservableCurrency` [INFO] [stdout] --> src/tests/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | traits::{InspectLockableCurrency, ReservableCurrency}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::Currency` [INFO] [stdout] --> src/tests/bonding.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | use frame_support::{hypothetically_ok, traits::Currency}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_election_provider_support::ElectionDataProvider` [INFO] [stdout] --> src/tests/election_data_provider.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 296 | use frame_election_provider_support::ElectionDataProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_election_provider_support::ElectionDataProvider` [INFO] [stdout] --> src/tests/election_data_provider.rs:427:6 [INFO] [stdout] | [INFO] [stdout] 427 | use frame_election_provider_support::ElectionDataProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) type Balance = ::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]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | type AccountData = pallet_balances::AccountData; [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]: failed to resolve: use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:126:31 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) const THRESHOLDS: [sp_npos_elections::VoteWeight; 9] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_npos_elections`, use `cargo add sp_npos_elections` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | pub static BagThresholds: &'static [sp_npos_elections::VoteWeight] = &THRESHOLDS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_npos_elections`, use `cargo add sp_npos_elections` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | pub type VoterBagsListInstance = pallet_bags_list::Instance1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | impl pallet_bags_list::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:682:11 [INFO] [stdout] | [INFO] [stdout] 682 | let _ = pallet_balances::GenesisConfig:: { balances, ..Default::default() } [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]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 715 - Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] 715 + crate::HoldReason::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 715 - Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] 715 + String::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 731 - assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] 731 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 731 - assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] 731 + assert_ok!(String::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:731:27 [INFO] [stdout] | [INFO] [stdout] 731 | assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 736 - assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] 736 + assert_ok!(crate::HoldReason::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 736 - assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] 736 + assert_ok!(String::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:736:31 [INFO] [stdout] | [INFO] [stdout] 736 | assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 741 - assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] 741 + assert_ok!(crate::HoldReason::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 741 - assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] 741 + assert_ok!(String::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:741:31 [INFO] [stdout] | [INFO] [stdout] 741 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:752:13 [INFO] [stdout] | [INFO] [stdout] 752 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 752 - assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] 752 + assert_ok!(crate::HoldReason::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 752 - assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] 752 + assert_ok!(String::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:752:31 [INFO] [stdout] | [INFO] [stdout] 752 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:794:29 [INFO] [stdout] | [INFO] [stdout] 794 | .map(|(v, _overview)| (v, Staking::eras_stakers(era, &v))) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 794 - .map(|(v, _overview)| (v, Staking::eras_stakers(era, &v))) [INFO] [stdout] 794 + .map(|(v, _overview)| (v, crate::HoldReason::eras_stakers(era, &v))) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 794 - .map(|(v, _overview)| (v, Staking::eras_stakers(era, &v))) [INFO] [stdout] 794 + .map(|(v, _overview)| (v, String::eras_stakers(era, &v))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:841:71 [INFO] [stdout] | [INFO] [stdout] 841 | for validator_controller in validators_with_reward.iter().filter_map(Staking::bonded) { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 841 - for validator_controller in validators_with_reward.iter().filter_map(Staking::bonded) { [INFO] [stdout] 841 + for validator_controller in validators_with_reward.iter().filter_map(crate::HoldReason::bonded) { [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 841 - for validator_controller in validators_with_reward.iter().filter_map(Staking::bonded) { [INFO] [stdout] 841 + for validator_controller in validators_with_reward.iter().filter_map(String::bonded) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:844:15 [INFO] [stdout] | [INFO] [stdout] 844 | assert_ok!(Staking::payout_stakers_by_page( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 844 - assert_ok!(Staking::payout_stakers_by_page( [INFO] [stdout] 844 + assert_ok!(crate::HoldReason::payout_stakers_by_page( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 844 - assert_ok!(Staking::payout_stakers_by_page( [INFO] [stdout] 844 + assert_ok!(String::payout_stakers_by_page( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:845:5 [INFO] [stdout] | [INFO] [stdout] 845 | RuntimeOrigin::signed(1337), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | assert_ok!(Staking::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 895 - assert_ok!(Staking::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] 895 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 895 - assert_ok!(Staking::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] 895 + assert_ok!(String::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:895:27 [INFO] [stdout] | [INFO] [stdout] 895 | assert_ok!(Staking::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | assert_ok!(Staking::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 896 - assert_ok!(Staking::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] 896 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 896 - assert_ok!(Staking::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] 896 + assert_ok!(String::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:896:27 [INFO] [stdout] | [INFO] [stdout] 896 | assert_ok!(Staking::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | assert_ok!(Staking::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 897 - assert_ok!(Staking::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] 897 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 897 - assert_ok!(Staking::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] 897 + assert_ok!(String::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:897:27 [INFO] [stdout] | [INFO] [stdout] 897 | assert_ok!(Staking::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/mock.rs:971:26 [INFO] [stdout] | [INFO] [stdout] 971 | .filter_map(|e| if let RuntimeEvent::Staking(inner) = e { Some(inner) } else { None }) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/mock.rs:982:26 [INFO] [stdout] | [INFO] [stdout] 982 | .filter_map(|r| if let RuntimeEvent::Staking(inner) = r.event { Some(inner) } else { None }) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:1024:14 [INFO] [stdout] | [INFO] [stdout] 1024 | assert_ok!(Staking::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 1024 - assert_ok!(Staking::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] 1024 + assert_ok!(crate::HoldReason::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1024 - assert_ok!(Staking::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] 1024 + assert_ok!(String::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:1024:35 [INFO] [stdout] | [INFO] [stdout] 1024 | assert_ok!(Staking::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | Staking::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 30 - Staking::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] 30 + crate::HoldReason::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 - Staking::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] 30 + String::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | Staking::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | Staking::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 48 - Staking::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] 48 + crate::HoldReason::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 48 - Staking::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] 48 + String::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | Staking::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | Balances::transfer_allow_death(RuntimeOrigin::signed(11), 21, 1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | Balances::transfer_allow_death(RuntimeOrigin::signed(11), 21, 1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(11), 21, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(11), 21, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | Balances::reserve(&11, 2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | assert_noop!(Balances::reserve(&11, 1), DispatchError::ConsumerRemaining); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | assert_ok!(Balances::reserve(&11, 500)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | Staking::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 109 - Staking::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] 109 + crate::HoldReason::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 - Staking::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] 109 + String::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | Staking::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 114 - assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] 114 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 114 - assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] 114 + assert_ok!(String::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | Staking::ledger(21.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 128 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 128 + crate::HoldReason::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 128 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 128 + String::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 138 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] 138 + assert_ok!(crate::HoldReason::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 138 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] 138 + assert_ok!(String::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 141 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] 141 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 141 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] 141 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:141:42 [INFO] [stdout] | [INFO] [stdout] 141 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Staking::ledger(21.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 145 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 145 + crate::HoldReason::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 145 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 145 + String::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 163 - assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] 163 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 163 - assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] 163 + assert_ok!(String::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(Staking::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 164 - assert_eq!(Staking::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] 164 + assert_eq!(crate::HoldReason::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 164 - assert_eq!(Staking::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] 164 + assert_eq!(String::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 172 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 172 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 172 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 172 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 185 - assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] 185 + assert_ok!(crate::HoldReason::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 185 - assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] 185 + assert_ok!(String::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 189 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 189 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 189 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 189 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 199 - assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] 199 + assert_ok!(crate::HoldReason::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 199 - assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] 199 + assert_ok!(String::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 203 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 203 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 203 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 203 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 228 - assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] 228 + assert_noop!(crate::HoldReason::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 228 - assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] 228 + assert_noop!(String::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 238 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 238 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 238 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 238 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 247 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 247 + crate::HoldReason::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 247 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 247 + String::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 253 | Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 253 - Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] 253 + crate::HoldReason::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 253 - Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] 253 + String::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 256 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 256 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 256 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 256 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 266 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 266 + crate::HoldReason::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 266 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 266 + String::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 275 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 275 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 275 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 275 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 285 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 285 + crate::HoldReason::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 285 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 285 + String::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | Staking::ledger(21.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 299 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 299 + crate::HoldReason::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 299 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 299 + String::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | assert_ok!(Staking::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 309 - assert_ok!(Staking::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] 309 + assert_ok!(crate::HoldReason::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 309 - assert_ok!(Staking::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] 309 + assert_ok!(String::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:309:30 [INFO] [stdout] | [INFO] [stdout] 309 | assert_ok!(Staking::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 310 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] 310 + assert_ok!(crate::HoldReason::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 310 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] 310 + assert_ok!(String::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | Staking::ledger(21.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 313 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 313 + crate::HoldReason::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 313 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 313 + String::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | Staking::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 327 - Staking::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] 327 + crate::HoldReason::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 327 - Staking::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] 327 + String::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | Staking::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 338 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 338 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 338 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 338 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:348:3 [INFO] [stdout] | [INFO] [stdout] 348 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 348 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 348 + crate::HoldReason::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 348 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 348 + String::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 356 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 356 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 356 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 356 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 366 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 366 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 366 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 366 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:366:41 [INFO] [stdout] | [INFO] [stdout] 366 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 371 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 371 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 371 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 371 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 382 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 382 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 382 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 382 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:382:41 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 386 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 386 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 386 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 386 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 398 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 398 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 398 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 398 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:403:4 [INFO] [stdout] | [INFO] [stdout] 403 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 403 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 403 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 403 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 403 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 415 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 415 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 415 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 415 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:415:41 [INFO] [stdout] | [INFO] [stdout] 415 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 423 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 423 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 423 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 423 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 434 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 434 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 434 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 434 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:444:3 [INFO] [stdout] | [INFO] [stdout] 444 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 444 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 444 + crate::HoldReason::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 444 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 444 + String::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:444:19 [INFO] [stdout] | [INFO] [stdout] 444 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 452 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 452 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 452 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 452 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:464:3 [INFO] [stdout] | [INFO] [stdout] 464 | Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 464 - Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] 464 + crate::HoldReason::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 464 - Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] 464 + String::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:472:4 [INFO] [stdout] | [INFO] [stdout] 472 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 472 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 472 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 472 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 472 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 487 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 487 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 487 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 487 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:487:41 [INFO] [stdout] | [INFO] [stdout] 487 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:495:4 [INFO] [stdout] | [INFO] [stdout] 495 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 495 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 495 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 495 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 495 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:507:14 [INFO] [stdout] | [INFO] [stdout] 507 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 507 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 507 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 507 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 507 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:507:41 [INFO] [stdout] | [INFO] [stdout] 507 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:515:4 [INFO] [stdout] | [INFO] [stdout] 515 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 515 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 515 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 515 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 515 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:527:4 [INFO] [stdout] | [INFO] [stdout] 527 | Staking::unbond(RuntimeOrigin::signed(11), 1000), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 527 - Staking::unbond(RuntimeOrigin::signed(11), 1000), [INFO] [stdout] 527 + crate::HoldReason::unbond(RuntimeOrigin::signed(11), 1000), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 527 - Staking::unbond(RuntimeOrigin::signed(11), 1000), [INFO] [stdout] 527 + String::unbond(RuntimeOrigin::signed(11), 1000), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:527:20 [INFO] [stdout] | [INFO] [stdout] 527 | Staking::unbond(RuntimeOrigin::signed(11), 1000), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:532:14 [INFO] [stdout] | [INFO] [stdout] 532 | assert_ok!(Staking::chill(RuntimeOrigin::signed(11))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 532 - assert_ok!(Staking::chill(RuntimeOrigin::signed(11))); [INFO] [stdout] 532 + assert_ok!(crate::HoldReason::chill(RuntimeOrigin::signed(11))); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 532 - assert_ok!(Staking::chill(RuntimeOrigin::signed(11))); [INFO] [stdout] 532 + assert_ok!(String::chill(RuntimeOrigin::signed(11))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:532:29 [INFO] [stdout] | [INFO] [stdout] 532 | assert_ok!(Staking::chill(RuntimeOrigin::signed(11))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:535:14 [INFO] [stdout] | [INFO] [stdout] 535 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1000)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 535 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1000)); [INFO] [stdout] 535 + assert_ok!(crate::HoldReason::unbond(RuntimeOrigin::signed(11), 1000)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 535 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1000)); [INFO] [stdout] 535 + assert_ok!(String::unbond(RuntimeOrigin::signed(11), 1000)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:535:30 [INFO] [stdout] | [INFO] [stdout] 535 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 546 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 546 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 546 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 546 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 546 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:546:41 [INFO] [stdout] | [INFO] [stdout] 546 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:563:4 [INFO] [stdout] | [INFO] [stdout] 563 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 563 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 563 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 563 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 563 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:573:3 [INFO] [stdout] | [INFO] [stdout] 573 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 573 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 573 + crate::HoldReason::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 573 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 573 + String::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:573:19 [INFO] [stdout] | [INFO] [stdout] 573 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:577:4 [INFO] [stdout] | [INFO] [stdout] 577 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 577 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 577 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 577 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 577 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:587:3 [INFO] [stdout] | [INFO] [stdout] 587 | Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [WARN] too many lines in the log, truncating it