[INFO] fetching crate pallet-staking 38.0.0... [INFO] checking pallet-staking-38.0.0 against master#8549802939cd01111c46e34a7b67cb1933977af9 for pr-132712 [INFO] extracting crate pallet-staking 38.0.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate pallet-staking 38.0.0 on toolchain 8549802939cd01111c46e34a7b67cb1933977af9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-staking 38.0.0 [INFO] finished tweaking crates.io crate pallet-staking 38.0.0 [INFO] tweaked toml for crates.io crate pallet-staking 38.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 336 packages to latest compatible versions [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-session v36.0.0 [INFO] [stderr] Downloaded sp-npos-elections v34.0.0 [INFO] [stderr] Downloaded pallet-timestamp v37.0.0 [INFO] [stderr] Downloaded frame-election-provider-support v38.0.0 [INFO] [stderr] Downloaded pallet-authorship v38.0.0 [INFO] [stderr] Downloaded sp-timestamp v34.0.0 [INFO] [stderr] Downloaded frame-benchmarking v38.0.0 [INFO] [stderr] Downloaded frame-election-provider-solution-type v14.0.1 [INFO] [stderr] Downloaded pallet-session v38.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91d762a1710ee219734b7c5730d0b135016266292cd07dabf284385db8d37dcd [INFO] running `Command { std: "docker" "start" "-a" "91d762a1710ee219734b7c5730d0b135016266292cd07dabf284385db8d37dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91d762a1710ee219734b7c5730d0b135016266292cd07dabf284385db8d37dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d762a1710ee219734b7c5730d0b135016266292cd07dabf284385db8d37dcd", kill_on_drop: false }` [INFO] [stdout] 91d762a1710ee219734b7c5730d0b135016266292cd07dabf284385db8d37dcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e81cf6139203e40d0314b0d64de80c0e2ef795d7758691d34868012175538503 [INFO] running `Command { std: "docker" "start" "-a" "e81cf6139203e40d0314b0d64de80c0e2ef795d7758691d34868012175538503", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking array-bytes v6.2.3 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking trie-db v0.29.1 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling sp-io v38.0.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-warning v1.0.2 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.0 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.5 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v20.0.0 [INFO] [stderr] Compiling frame-election-provider-solution-type v14.0.1 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Compiling frame-support-procedural v30.0.4 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Checking sp-panic-handler v13.0.0 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking scale-info v2.11.5 [INFO] [stderr] Checking sp-storage v21.0.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking sp-wasm-interface v21.0.1 [INFO] [stderr] Checking sp-tracing v17.0.1 [INFO] [stderr] Compiling sp-version-proc-macro v14.0.0 [INFO] [stderr] Checking sp-externalities v0.29.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking bounded-collections v0.2.2 [INFO] [stderr] Checking sp-arithmetic v26.0.0 [INFO] [stderr] Checking frame-metadata v16.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.7.0 [INFO] [stderr] Checking sp-weights v31.0.0 [INFO] [stderr] Checking sp-runtime-interface v28.0.0 [INFO] [stderr] Checking sp-core v34.0.0 [INFO] [stderr] Checking sp-trie v37.0.0 [INFO] [stderr] Checking sp-keystore v0.40.0 [INFO] [stderr] Checking sp-state-machine v0.43.0 [INFO] [stderr] Checking sp-application-crypto v38.0.0 [INFO] [stderr] Checking sp-runtime v39.0.2 [INFO] [stderr] Checking sp-version v37.0.0 [INFO] [stderr] Checking sp-staking v36.0.0 [INFO] [stderr] Checking sp-inherents v34.0.0 [INFO] [stderr] Checking sp-npos-elections v34.0.0 [INFO] [stderr] Checking sp-api v34.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.15.1 [INFO] [stderr] Checking sp-session v36.0.0 [INFO] [stderr] Checking frame-support v38.0.0 [INFO] [stderr] Checking sp-timestamp v34.0.0 [INFO] [stderr] Checking frame-system v38.0.0 [INFO] [stderr] Checking pallet-timestamp v37.0.0 [INFO] [stderr] Checking frame-election-provider-support v38.0.0 [INFO] [stderr] Checking pallet-authorship v38.0.0 [INFO] [stderr] Checking pallet-session v38.0.0 [INFO] [stderr] Checking pallet-staking v38.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/election_size_tracker.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 179 | use sp_core::bounded_vec; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `sp_application_crypto::sp_core` [INFO] [stdout] [INFO] [stdout] [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 undeclared crate or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_balances` [INFO] [stdout] --> src/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pallet_balances::Error as BalancesError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::tests::Test` [INFO] [stdout] --> src/tests.rs:8262:3 [INFO] [stdout] | [INFO] [stdout] 8262 | tests::Test, ActiveEra, ActiveEraInfo, DisablingStrategy, UpToLimitDisablingStrategy, [INFO] [stdout] | ^^^^^^^---- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `test` [INFO] [stdout] | no `Test` in `tests` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] --> src/inflation.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] --> src/mock.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | VoterBagsList: pallet_bags_list::, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:667:3 [INFO] [stdout] | [INFO] [stdout] 667 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:677:3 [INFO] [stdout] | [INFO] [stdout] 677 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:2072:15 [INFO] [stdout] | [INFO] [stdout] 2072 | assert_eq!(pallet_balances::Locks::::get(&1)[0].amount, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:2093:15 [INFO] [stdout] | [INFO] [stdout] 2093 | assert_eq!(pallet_balances::Locks::::get(&1)[0].amount, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:2100:15 [INFO] [stdout] | [INFO] [stdout] 2100 | assert_eq!(pallet_balances::Locks::::get(&1).len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3957:35 [INFO] [stdout] | [INFO] [stdout] 3957 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3978:11 [INFO] [stdout] | [INFO] [stdout] 3978 | assert!(pallet_balances::TotalIssuance::::get() > pre_payout_total_issuance); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:3979:11 [INFO] [stdout] | [INFO] [stdout] 3979 | assert!(pallet_balances::TotalIssuance::::get() < pre_payout_total_issuance + payout); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4003:4 [INFO] [stdout] | [INFO] [stdout] 4003 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4046:36 [INFO] [stdout] | [INFO] [stdout] 4046 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4052:5 [INFO] [stdout] | [INFO] [stdout] 4052 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4178:35 [INFO] [stdout] | [INFO] [stdout] 4178 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4193:11 [INFO] [stdout] | [INFO] [stdout] 4193 | assert!(pallet_balances::TotalIssuance::::get() > pre_payout_total_issuance); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4194:11 [INFO] [stdout] | [INFO] [stdout] 4194 | assert!(pallet_balances::TotalIssuance::::get() < pre_payout_total_issuance + payout); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4213:4 [INFO] [stdout] | [INFO] [stdout] 4213 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4257:36 [INFO] [stdout] | [INFO] [stdout] 4257 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:4263:5 [INFO] [stdout] | [INFO] [stdout] 4263 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | let stash = Ledger::::get(&controller).unwrap().stash; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 75 | pub fn is_disabled(controller: AccountId) -> bool { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | 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] 85 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | impl pallet_session::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:141:71 [INFO] [stdout] | [INFO] [stdout] 141 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 140 | impl pallet_session::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:141:77 [INFO] [stdout] | [INFO] [stdout] 141 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 141 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 140 | impl pallet_session::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:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 145 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | type ValidatorIdOf = crate::StashOf; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 140 | impl pallet_session::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | type FullIdentificationOf = crate::ExposureOf; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 152 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | type EventHandler = Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 156 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 161 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/mock.rs:180:62 [INFO] [stdout] | [INFO] [stdout] 180 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &I_NPOS; [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:189:39 [INFO] [stdout] | [INFO] [stdout] 189 | 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] 189 | 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:190:55 [INFO] [stdout] | [INFO] [stdout] 190 | 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] 189 | 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:213:58 [INFO] [stdout] | [INFO] [stdout] 213 | 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:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | 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:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | type ScoreProvider = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | 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:226:22 [INFO] [stdout] | [INFO] [stdout] 226 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 233 | 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] 233 | 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:234:42 [INFO] [stdout] | [INFO] [stdout] 234 | 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] 233 | 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:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | (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:241:50 [INFO] [stdout] | [INFO] [stdout] 241 | (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:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | pub static SlashObserver: BTreeMap> = BTreeMap::new(); [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:265:40 [INFO] [stdout] | [INFO] [stdout] 265 | 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 `Balances` in this scope [INFO] [stdout] --> src/mock.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) type Balance = u128; [INFO] [stdout] | ------------------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 266 | 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 `Timestamp` in this scope [INFO] [stdout] --> src/mock.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | type UnixTime = Timestamp; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | type NextNewSession = Session; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterBagsList` in this scope [INFO] [stdout] --> src/mock.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | type VoterList = VoterBagsList; [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/pallet/mod.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | type RuntimeEvent = (); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mock.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | #[derive_impl(crate::config_preludes::TestDefaultConfig)] [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::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] | [INFO] [stdout] 328 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:309:43 [INFO] [stdout] | [INFO] [stdout] 309 | pub(crate) type StakingCall = crate::Call; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 309 | pub(crate) type StakingCall = crate::Call; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:310:29 [INFO] [stdout] | [INFO] [stdout] 310 | pub(crate) type TestCall = ::RuntimeCall; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/mock.rs:431:3 [INFO] [stdout] | [INFO] [stdout] 431 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 431 | 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:432:51 [INFO] [stdout] | [INFO] [stdout] 432 | 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] 351 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | let _ = pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 351 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:513:43 [INFO] [stdout] | [INFO] [stdout] 513 | let _ = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 351 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:525:43 [INFO] [stdout] | [INFO] [stdout] 525 | let _ = pallet_session::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 351 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:551:6 [INFO] [stdout] | [INFO] [stdout] 551 | >::on_initialize(1); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/mock.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | Timestamp::set_timestamp(INIT_TIMESTAMP); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/mock.rs:559:3 [INFO] [stdout] | [INFO] [stdout] 559 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 559 | 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:564:27 [INFO] [stdout] | [INFO] [stdout] 564 | 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[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:606:2 [INFO] [stdout] | [INFO] [stdout] 606 | System::inc_providers(&who); [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 `Staking` in this scope [INFO] [stdout] --> src/mock.rs:609:14 [INFO] [stdout] | [INFO] [stdout] 609 | assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:619:23 [INFO] [stdout] | [INFO] [stdout] 619 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:620:12 [INFO] [stdout] | [INFO] [stdout] 620 | for b in (System::block_number() + 1)..=n { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:621:3 [INFO] [stdout] | [INFO] [stdout] 621 | System::set_block_number(b); [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 `Staking` in this scope [INFO] [stdout] --> src/mock.rs:623:4 [INFO] [stdout] | [INFO] [stdout] 623 | >::on_initialize(b); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/mock.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 624 | Timestamp::set_timestamp(System::block_number() * BLOCK_TIME + INIT_TIMESTAMP); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:624:28 [INFO] [stdout] | [INFO] [stdout] 624 | Timestamp::set_timestamp(System::block_number() * BLOCK_TIME + INIT_TIMESTAMP); [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:626:25 [INFO] [stdout] | [INFO] [stdout] 626 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:665:25 [INFO] [stdout] | [INFO] [stdout] 665 | 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:667:36 [INFO] [stdout] | [INFO] [stdout] 667 | 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] 664 | pub(crate) fn current_total_payout_for_duration(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:675:24 [INFO] [stdout] | [INFO] [stdout] 675 | 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:677:36 [INFO] [stdout] | [INFO] [stdout] 677 | 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] 674 | pub(crate) fn maximum_payout_for_duration(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:705:17 [INFO] [stdout] | [INFO] [stdout] 705 | let rewards = ::SessionInterface::validators().into_iter().map(|v| (v, 1)); [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:707:10 [INFO] [stdout] | [INFO] [stdout] 707 | >::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] 704 | pub(crate) fn reward_all_elected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:720:51 [INFO] [stdout] | [INFO] [stdout] 720 | pallet_session::historical::IdentificationTuple, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 717 | pub(crate) fn on_offence_in_era( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:725:40 [INFO] [stdout] | [INFO] [stdout] 725 | let bonded_eras = crate::BondedEras::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 717 | pub(crate) fn on_offence_in_era( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:749:51 [INFO] [stdout] | [INFO] [stdout] 749 | pallet_session::historical::IdentificationTuple, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 746 | pub(crate) fn on_offence_now( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:769:50 [INFO] [stdout] | [INFO] [stdout] 769 | 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] 768 | 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:777:24 [INFO] [stdout] | [INFO] [stdout] 777 | 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] 768 | 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:778:28 [INFO] [stdout] | [INFO] [stdout] 778 | for page in 0..EraInfo::::get_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] 768 | 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:790:10 [INFO] [stdout] | [INFO] [stdout] 790 | >::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] 789 | 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:791:10 [INFO] [stdout] | [INFO] [stdout] 791 | >::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] 789 | 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:793:10 [INFO] [stdout] | [INFO] [stdout] 793 | >::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] 789 | 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:794:10 [INFO] [stdout] | [INFO] [stdout] 794 | >::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] 789 | 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:794:53 [INFO] [stdout] | [INFO] [stdout] 794 | >::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] 789 | 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:801:28 [INFO] [stdout] | [INFO] [stdout] 801 | 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] 800 | 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:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | 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] 800 | 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:804:11 [INFO] [stdout] | [INFO] [stdout] 804 | 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] 800 | 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:805:11 [INFO] [stdout] | [INFO] [stdout] 805 | 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] 800 | 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:806:11 [INFO] [stdout] | [INFO] [stdout] 806 | 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] 800 | 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:811:28 [INFO] [stdout] | [INFO] [stdout] 811 | 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] 810 | 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:812:28 [INFO] [stdout] | [INFO] [stdout] 812 | 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] 810 | 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:818:11 [INFO] [stdout] | [INFO] [stdout] 818 | 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] 810 | 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:822:30 [INFO] [stdout] | [INFO] [stdout] 822 | 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] 821 | 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:835:25 [INFO] [stdout] | [INFO] [stdout] 835 | .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] 821 | 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:842:28 [INFO] [stdout] | [INFO] [stdout] 842 | 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] 821 | 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:843:28 [INFO] [stdout] | [INFO] [stdout] 843 | 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] 821 | 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:844:28 [INFO] [stdout] | [INFO] [stdout] 844 | 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] 821 | 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:847:11 [INFO] [stdout] | [INFO] [stdout] 847 | 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] 821 | 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:848:11 [INFO] [stdout] | [INFO] [stdout] 848 | 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] 821 | 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:851:11 [INFO] [stdout] | [INFO] [stdout] 851 | 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] 821 | 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:852:11 [INFO] [stdout] | [INFO] [stdout] 852 | 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] 821 | 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:855:11 [INFO] [stdout] | [INFO] [stdout] 855 | 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] 821 | 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:856:11 [INFO] [stdout] | [INFO] [stdout] 856 | 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] 821 | 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:859:11 [INFO] [stdout] | [INFO] [stdout] 859 | 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] 821 | 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:863:22 [INFO] [stdout] | [INFO] [stdout] 863 | 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] 821 | 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:866:22 [INFO] [stdout] | [INFO] [stdout] 866 | 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] 821 | 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:867:29 [INFO] [stdout] | [INFO] [stdout] 867 | 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] 821 | 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:868:22 [INFO] [stdout] | [INFO] [stdout] 868 | 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] 821 | 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:871:22 [INFO] [stdout] | [INFO] [stdout] 871 | 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] 821 | 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:872:29 [INFO] [stdout] | [INFO] [stdout] 872 | 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] 821 | 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:873:22 [INFO] [stdout] | [INFO] [stdout] 873 | 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] 821 | 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:876:22 [INFO] [stdout] | [INFO] [stdout] 876 | 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] 821 | 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:877:29 [INFO] [stdout] | [INFO] [stdout] 877 | 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] 821 | 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:878:22 [INFO] [stdout] | [INFO] [stdout] 878 | 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] 821 | 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:52 [INFO] [stdout] | [INFO] [stdout] 901 | 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] 901 | 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:902:2 [INFO] [stdout] | [INFO] [stdout] 902 | 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:918:68 [INFO] [stdout] | [INFO] [stdout] 918 | 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] 918 | 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:919:20 [INFO] [stdout] | [INFO] [stdout] 919 | 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/tests.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 47 | 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.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | 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] 47 | 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.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 47 | 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.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | 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] 47 | 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.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | 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] 47 | 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.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 47 | 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.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | 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] 47 | 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.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 47 | 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.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | 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] 47 | 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.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | 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] 47 | 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.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | 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] 47 | 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.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | 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] 47 | 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.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | 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] 47 | 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.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | 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] 47 | 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.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | Error::::IncorrectSlashingSpans [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 102 | fn force_unstake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:137:53 [INFO] [stdout] | [INFO] [stdout] 137 | assert_noop!(Staking::kill_stash(&12, 0), 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] 130 | 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.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | assert_noop!(Staking::kill_stash(&11, 0), Error::::IncorrectSlashingSpans); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 130 | 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.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | StakingLedgerInspect:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 148 | 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.rs:172:27 [INFO] [stdout] | [INFO] [stdout] 172 | StakingLedgerInspect:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 148 | 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.rs:243:77 [INFO] [stdout] | [INFO] [stdout] 243 | 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] 241 | 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.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | 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] 241 | 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.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | 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] 241 | 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.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | 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] 286 | 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.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | 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] 286 | 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.rs:319:11 [INFO] [stdout] | [INFO] [stdout] 319 | Payee::::insert(11, 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] 312 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:320:11 [INFO] [stdout] | [INFO] [stdout] 320 | Payee::::insert(21, RewardDestination::Account(21)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 312 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:321:11 [INFO] [stdout] | [INFO] [stdout] 321 | Payee::::insert(101, RewardDestination::Account(101)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 312 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | Pallet::::reward_by_ids(vec![(11, 50)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 312 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | Pallet::::reward_by_ids(vec![(11, 50)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 312 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | Pallet::::reward_by_ids(vec![(21, 50)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 312 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 384 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 312 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:493:60 [INFO] [stdout] | [INFO] [stdout] 493 | assert_noop!(Balances::reserve(&3, 501), BalancesError::::LiquidityRestrictions); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 425 | fn staking_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:513:28 [INFO] [stdout] | [INFO] [stdout] 513 | 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] 499 | 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.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | 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] 499 | 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.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 521 | 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] 499 | 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.rs:544:31 [INFO] [stdout] | [INFO] [stdout] 544 | assert!(ErasStakersPaged::::iter_prefix_values((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] 527 | fn less_than_needed_candidates_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | Validators::::insert(11, prefs.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 550 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:563:28 [INFO] [stdout] | [INFO] [stdout] 563 | MinimumValidatorCount::::put(11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 550 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:569:35 [INFO] [stdout] | [INFO] [stdout] 569 | let current_era = CurrentEra::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 550 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:575:41 [INFO] [stdout] | [INFO] [stdout] 575 | assert_eq!(current_era, CurrentEra::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 550 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:584:26 [INFO] [stdout] | [INFO] [stdout] 584 | assert!(!Validators::::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] 550 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:586:41 [INFO] [stdout] | [INFO] [stdout] 586 | assert_eq!(current_era, CurrentEra::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 550 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:630:13 [INFO] [stdout] | [INFO] [stdout] 630 | Pallet::::reward_by_ids(vec![(41, 1)]); [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 nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:631:13 [INFO] [stdout] | [INFO] [stdout] 631 | Pallet::::reward_by_ids(vec![(21, 1)]); [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 nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:646:34 [INFO] [stdout] | [INFO] [stdout] 646 | assert_eq!(ErasStakersPaged::::iter_prefix_values((active_era(),)).count(), 2); [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 nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:672:13 [INFO] [stdout] | [INFO] [stdout] 672 | Pallet::::reward_by_ids(vec![(21, 2)]); [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 nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:673:13 [INFO] [stdout] | [INFO] [stdout] 673 | Pallet::::reward_by_ids(vec![(11, 1)]); [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 nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:787:77 [INFO] [stdout] | [INFO] [stdout] 787 | 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] 780 | fn double_staking_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:802:12 [INFO] [stdout] | [INFO] [stdout] 802 | 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] 780 | fn double_staking_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:807:12 [INFO] [stdout] | [INFO] [stdout] 807 | 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] 780 | fn double_staking_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:821:68 [INFO] [stdout] | [INFO] [stdout] 821 | let (stash, _) = 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] 815 | fn double_controlling_attempt_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:836:12 [INFO] [stdout] | [INFO] [stdout] 836 | 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] 815 | fn double_controlling_attempt_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:847:14 [INFO] [stdout] | [INFO] [stdout] 847 | assert_eq!(System::block_number(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:853:14 [INFO] [stdout] | [INFO] [stdout] 853 | assert_eq!(System::block_number(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:859:14 [INFO] [stdout] | [INFO] [stdout] 859 | assert_eq!(System::block_number(), 2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:865:14 [INFO] [stdout] | [INFO] [stdout] 865 | assert_eq!(System::block_number(), 3); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:871:14 [INFO] [stdout] | [INFO] [stdout] 871 | assert_eq!(System::block_number(), 4); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:877:14 [INFO] [stdout] | [INFO] [stdout] 877 | assert_eq!(System::block_number(), 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:883:14 [INFO] [stdout] | [INFO] [stdout] 883 | assert_eq!(System::block_number(), 6); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:892:14 [INFO] [stdout] | [INFO] [stdout] 892 | assert_eq!(System::block_number(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:897:14 [INFO] [stdout] | [INFO] [stdout] 897 | assert_eq!(System::block_number(), 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:902:14 [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(System::block_number(), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:907:14 [INFO] [stdout] | [INFO] [stdout] 907 | 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:912:14 [INFO] [stdout] | [INFO] [stdout] 912 | assert_eq!(System::block_number(), 20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:917:14 [INFO] [stdout] | [INFO] [stdout] 917 | assert_eq!(System::block_number(), 25); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:922:14 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!(System::block_number(), 30); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:979:25 [INFO] [stdout] | [INFO] [stdout] 979 | 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] 927 | fn forcing_new_era_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1044:59 [INFO] [stdout] | [INFO] [stdout] 1044 | assert_noop!(Balances::reserve(&11, 1), BalancesError::::LiquidityRestrictions); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1034 | fn cannot_reserve_staked_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1077:12 [INFO] [stdout] | [INFO] [stdout] 1077 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1054 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1102:10 [INFO] [stdout] | [INFO] [stdout] 1102 | >::insert(&11, 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] 1054 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1106:12 [INFO] [stdout] | [INFO] [stdout] 1106 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1054 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1133:10 [INFO] [stdout] | [INFO] [stdout] 1133 | >::insert(&11, 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] 1054 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1140:12 [INFO] [stdout] | [INFO] [stdout] 1140 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1054 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1173:15 [INFO] [stdout] | [INFO] [stdout] 1173 | >::insert(&11, ValidatorPrefs { commission, ..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] 1167 | fn validator_payment_prefs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1176:10 [INFO] [stdout] | [INFO] [stdout] 1176 | >::insert(&11, 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] 1167 | fn validator_payment_prefs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1177:10 [INFO] [stdout] | [INFO] [stdout] 1177 | >::insert(&101, 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] 1167 | fn validator_payment_prefs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1188:12 [INFO] [stdout] | [INFO] [stdout] 1188 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1167 | fn validator_payment_prefs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1209:23 [INFO] [stdout] | [INFO] [stdout] 1209 | 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] 1203 | fn bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1260:30 [INFO] [stdout] | [INFO] [stdout] 1260 | assert_eq!(StakingLedger::::get(StakingAccount::Stash(31)).unwrap().stash, 31); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1258 | fn bond_extra_controller_bad_state_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1263:12 [INFO] [stdout] | [INFO] [stdout] 1263 | Bonded::::insert(31, 41); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1258 | fn bond_extra_controller_bad_state_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1267:23 [INFO] [stdout] | [INFO] [stdout] 1267 | assert_eq!(Ledger::::get(41).unwrap().stash, 41); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1258 | fn bond_extra_controller_bad_state_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1270:76 [INFO] [stdout] | [INFO] [stdout] 1270 | assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), 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] 1258 | fn bond_extra_controller_bad_state_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1420:32 [INFO] [stdout] | [INFO] [stdout] 1420 | let max_unlocking_chunks = <::MaxUnlockingChunks as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1437:6 [INFO] [stdout] | [INFO] [stdout] 1437 | <::MaxUnlockingChunks as Get>::get() as usize [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1452:6 [INFO] [stdout] | [INFO] [stdout] 1452 | <::BondingDuration>::get() as usize [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1477:71 [INFO] [stdout] | [INFO] [stdout] 1477 | assert_noop!(Staking::unbond(RuntimeOrigin::signed(11), 1), 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] 1458 | fn auto_withdraw_may_not_unlock_all_chunks() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1519:73 [INFO] [stdout] | [INFO] [stdout] 1519 | assert_noop!(Staking::rebond(RuntimeOrigin::signed(11), 500), 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] 1487 | fn rebond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1773:32 [INFO] [stdout] | [INFO] [stdout] 1773 | 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] 1771 | fn max_staked_rewards_default_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1780:36 [INFO] [stdout] | [INFO] [stdout] 1780 | 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] 1771 | fn max_staked_rewards_default_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1783:21 [INFO] [stdout] | [INFO] [stdout] 1783 | >::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] 1771 | fn max_staked_rewards_default_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1786:36 [INFO] [stdout] | [INFO] [stdout] 1786 | 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] 1771 | fn max_staked_rewards_default_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1807:32 [INFO] [stdout] | [INFO] [stdout] 1807 | 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] 1791 | 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.rs:1820:49 [INFO] [stdout] | [INFO] [stdout] 1820 | let validators_payout = ErasValidatorReward::::get(0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1791 | 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.rs:1849:24 [INFO] [stdout] | [INFO] [stdout] 1849 | assert!(>::contains_key(&11) && >::contains_key(&21)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1839 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1849:65 [INFO] [stdout] | [INFO] [stdout] 1849 | assert!(>::contains_key(&11) && >::contains_key(&21)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1839 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1859:14 [INFO] [stdout] | [INFO] [stdout] 1859 | EraInfo::::set_exposure(0, &21, Exposure { total: 69, own: 69, others: vec![] }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1839 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1860:12 [INFO] [stdout] | [INFO] [stdout] 1860 | >::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1839 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1873:13 [INFO] [stdout] | [INFO] [stdout] 1873 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1839 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1874:13 [INFO] [stdout] | [INFO] [stdout] 1874 | Pallet::::reward_by_ids(vec![(21, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1839 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1905:20 [INFO] [stdout] | [INFO] [stdout] 1905 | 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] 1896 | 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.rs:1906:20 [INFO] [stdout] | [INFO] [stdout] 1906 | 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] 1896 | 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.rs:1907:24 [INFO] [stdout] | [INFO] [stdout] 1907 | 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] 1896 | 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.rs:1908:19 [INFO] [stdout] | [INFO] [stdout] 1908 | 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] 1896 | 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.rs:1913:13 [INFO] [stdout] | [INFO] [stdout] 1913 | 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] 1896 | 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.rs:1918:13 [INFO] [stdout] | [INFO] [stdout] 1918 | Ledger::::insert(11, StakingLedger::::new(11, 5)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1896 | 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.rs:1918:47 [INFO] [stdout] | [INFO] [stdout] 1918 | Ledger::::insert(11, StakingLedger::::new(11, 5)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1896 | 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.rs:1924:21 [INFO] [stdout] | [INFO] [stdout] 1924 | 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] 1896 | 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.rs:1925:21 [INFO] [stdout] | [INFO] [stdout] 1925 | 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] 1896 | 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.rs:1926:25 [INFO] [stdout] | [INFO] [stdout] 1926 | 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] 1896 | 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.rs:1927:20 [INFO] [stdout] | [INFO] [stdout] 1927 | 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] 1896 | 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.rs:1943:20 [INFO] [stdout] | [INFO] [stdout] 1943 | 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] 1934 | 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.rs:1944:20 [INFO] [stdout] | [INFO] [stdout] 1944 | 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] 1934 | 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.rs:1945:24 [INFO] [stdout] | [INFO] [stdout] 1945 | 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] 1934 | 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.rs:1946:19 [INFO] [stdout] | [INFO] [stdout] 1946 | 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] 1934 | 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.rs:1951:13 [INFO] [stdout] | [INFO] [stdout] 1951 | 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] 1934 | 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.rs:1956:13 [INFO] [stdout] | [INFO] [stdout] 1956 | 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] 1934 | 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.rs:1956:47 [INFO] [stdout] | [INFO] [stdout] 1956 | 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] 1934 | 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.rs:1962:21 [INFO] [stdout] | [INFO] [stdout] 1962 | 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] 1934 | 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.rs:1963:21 [INFO] [stdout] | [INFO] [stdout] 1963 | 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] 1934 | 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.rs:1964:25 [INFO] [stdout] | [INFO] [stdout] 1964 | 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] 1934 | 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.rs:1965:20 [INFO] [stdout] | [INFO] [stdout] 1965 | 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] 1934 | 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.rs:2068:13 [INFO] [stdout] | [INFO] [stdout] 2068 | 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] 2055 | 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.rs:2072:40 [INFO] [stdout] | [INFO] [stdout] 2072 | assert_eq!(pallet_balances::Locks::::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] 2055 | 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.rs:2093:40 [INFO] [stdout] | [INFO] [stdout] 2093 | assert_eq!(pallet_balances::Locks::::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] 2055 | 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.rs:2100:40 [INFO] [stdout] | [INFO] [stdout] 2100 | assert_eq!(pallet_balances::Locks::::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] 2055 | 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.rs:2180:17 [INFO] [stdout] | [INFO] [stdout] 2180 | >::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2171 | fn bond_with_duplicate_vote_should_be_ignored_by_election_provider() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2186:24 [INFO] [stdout] | [INFO] [stdout] 2186 | assert!(>::iter().map(|(n, _)| n).collect::>().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] 2171 | fn bond_with_duplicate_vote_should_be_ignored_by_election_provider() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2210:20 [INFO] [stdout] | [INFO] [stdout] 2210 | let supports = ::ElectionProvider::elect().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.rs:2232:17 [INFO] [stdout] | [INFO] [stdout] 2232 | >::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2222 | fn bond_with_duplicate_vote_should_be_ignored_by_election_provider_elected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2239:24 [INFO] [stdout] | [INFO] [stdout] 2239 | assert!(>::iter().collect::>().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] 2222 | fn bond_with_duplicate_vote_should_be_ignored_by_election_provider_elected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2262:20 [INFO] [stdout] | [INFO] [stdout] 2262 | let supports = ::ElectionProvider::elect().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2279:26 [INFO] [stdout] | [INFO] [stdout] 2279 | Session::on_initialize(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/tests.rs:2329:22 [INFO] [stdout] | [INFO] [stdout] 2329 | ErasRewardPoints::::insert(0, reward); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2311 | fn reward_validator_slashing_validator_does_not_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2330:13 [INFO] [stdout] | [INFO] [stdout] 2330 | EraInfo::::set_exposure(0, &11, exposure); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2311 | fn reward_validator_slashing_validator_does_not_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2331:25 [INFO] [stdout] | [INFO] [stdout] 2331 | ErasValidatorReward::::insert(0, stake); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2311 | fn reward_validator_slashing_validator_does_not_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2342:13 [INFO] [stdout] | [INFO] [stdout] 2342 | EraInfo::::set_exposure( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2311 | fn reward_validator_slashing_validator_does_not_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2371:41 [INFO] [stdout] | [INFO] [stdout] 2371 | assert_eq!(>::author(), 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] 2367 | fn reward_from_authorship_event_handler_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2373:12 [INFO] [stdout] | [INFO] [stdout] 2373 | Pallet::::note_author(11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2367 | fn reward_from_authorship_event_handler_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2374:12 [INFO] [stdout] | [INFO] [stdout] 2374 | Pallet::::note_author(11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2367 | fn reward_from_authorship_event_handler_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2382:23 [INFO] [stdout] | [INFO] [stdout] 2382 | ErasRewardPoints::::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] 2367 | fn reward_from_authorship_event_handler_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2394:12 [INFO] [stdout] | [INFO] [stdout] 2394 | Pallet::::reward_by_ids(vec![(21, 1), (11, 1), (11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2389 | fn add_reward_points_fns_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2396:12 [INFO] [stdout] | [INFO] [stdout] 2396 | Pallet::::reward_by_ids(vec![(21, 1), (11, 1), (11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2389 | fn add_reward_points_fns_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2399:23 [INFO] [stdout] | [INFO] [stdout] 2399 | ErasRewardPoints::::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] 2389 | fn add_reward_points_fns_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2492:24 [INFO] [stdout] | [INFO] [stdout] 2492 | 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] 2483 | fn offence_deselects_validator_even_when_slash_is_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2541:24 [INFO] [stdout] | [INFO] [stdout] 2541 | 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] 2534 | fn validator_is_not_disabled_for_an_offence_in_previous_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2560:24 [INFO] [stdout] | [INFO] [stdout] 2560 | 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] 2534 | fn validator_is_not_disabled_for_an_offence_in_previous_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2576:25 [INFO] [stdout] | [INFO] [stdout] 2576 | assert!(Validators::::iter().any(|(stash, _)| 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] 2534 | fn validator_is_not_disabled_for_an_offence_in_previous_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2593:25 [INFO] [stdout] | [INFO] [stdout] 2593 | assert!(Validators::::iter().any(|(stash, _)| 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] 2534 | fn validator_is_not_disabled_for_an_offence_in_previous_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2790:28 [INFO] [stdout] | [INFO] [stdout] 2790 | assert!(SlashingSpans::::get(&11).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] 2773 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2791:27 [INFO] [stdout] | [INFO] [stdout] 2791 | assert_eq!(SpanSlash::::get(&(11, 0)).amount(), &200); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2773 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2807:41 [INFO] [stdout] | [INFO] [stdout] 2807 | let slashing_spans = SlashingSpans::::get(&11).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2773 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2813:13 [INFO] [stdout] | [INFO] [stdout] 2813 | Error::::IncorrectSlashingSpans [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2773 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2817:28 [INFO] [stdout] | [INFO] [stdout] 2817 | assert!(SlashingSpans::::get(&11).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] 2773 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2818:27 [INFO] [stdout] | [INFO] [stdout] 2818 | assert_eq!(SpanSlash::::get(&(11, 0)).amount(), &0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2773 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2847:33 [INFO] [stdout] | [INFO] [stdout] 2847 | assert!(ValidatorSlashInEra::::get(&now, &11).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] 2823 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2848:33 [INFO] [stdout] | [INFO] [stdout] 2848 | assert!(NominatorSlashInEra::::get(&now, &101).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] 2823 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2852:34 [INFO] [stdout] | [INFO] [stdout] 2852 | assert!(ValidatorSlashInEra::::get(&now, &11).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] 2823 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2853:34 [INFO] [stdout] | [INFO] [stdout] 2853 | assert!(NominatorSlashInEra::::get(&now, &101).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] 2823 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2858:33 [INFO] [stdout] | [INFO] [stdout] 2858 | assert!(ValidatorSlashInEra::::get(&now, &11).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] 2823 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2859:33 [INFO] [stdout] | [INFO] [stdout] 2859 | assert!(NominatorSlashInEra::::get(&now, &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] 2823 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2899:44 [INFO] [stdout] | [INFO] [stdout] 2899 | let get_span = |account| SlashingSpans::::get(&account).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2864 | fn slashing_nominators_by_span_max() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2959:44 [INFO] [stdout] | [INFO] [stdout] 2959 | let get_span = |account| SlashingSpans::::get(&account).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2950 | fn slashes_are_summed_across_spans() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3014:3 [INFO] [stdout] | [INFO] [stdout] 3014 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3072:3 [INFO] [stdout] | [INFO] [stdout] 3072 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3107:3 [INFO] [stdout] | [INFO] [stdout] 3107 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3165:13 [INFO] [stdout] | [INFO] [stdout] 3165 | Ledger::::get(101).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3138 | fn staker_cannot_bail_deferred_slash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3198:13 [INFO] [stdout] | [INFO] [stdout] 3198 | Ledger::::get(101).unwrap().unlocking.into_inner(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3138 | fn staker_cannot_bail_deferred_slash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3236:3 [INFO] [stdout] | [INFO] [stdout] 3236 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3246:12 [INFO] [stdout] | [INFO] [stdout] 3246 | Error::::EmptyTargets [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3214 | fn remove_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3326:33 [INFO] [stdout] | [INFO] [stdout] 3326 | assert_eq!(UnappliedSlashes::::get(&4).len(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3289 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3331:12 [INFO] [stdout] | [INFO] [stdout] 3331 | Error::::NotSortedAndUnique [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3289 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3336:12 [INFO] [stdout] | [INFO] [stdout] 3336 | Error::::NotSortedAndUnique [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3289 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3341:12 [INFO] [stdout] | [INFO] [stdout] 3341 | Error::::InvalidSlashIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3289 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3346:36 [INFO] [stdout] | [INFO] [stdout] 3346 | let slashes = UnappliedSlashes::::get(&4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3289 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3576:26 [INFO] [stdout] | [INFO] [stdout] 3576 | 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] 3546 | fn offence_threshold_doesnt_trigger_new_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3587:26 [INFO] [stdout] | [INFO] [stdout] 3587 | 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] 3546 | fn offence_threshold_doesnt_trigger_new_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3597:26 [INFO] [stdout] | [INFO] [stdout] 3597 | 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] 3546 | fn offence_threshold_doesnt_trigger_new_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3612:16 [INFO] [stdout] | [INFO] [stdout] 3612 | assert_eq!(::SessionsPerEra::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3664:21 [INFO] [stdout] | [INFO] [stdout] 3664 | let err_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3673:11 [INFO] [stdout] | [INFO] [stdout] 3673 | Payee::::insert(11, 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] 3657 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3674:11 [INFO] [stdout] | [INFO] [stdout] 3674 | Payee::::insert(101, RewardDestination::Account(101)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3657 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3676:12 [INFO] [stdout] | [INFO] [stdout] 3676 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3657 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3682:12 [INFO] [stdout] | [INFO] [stdout] 3682 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3657 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3692:12 [INFO] [stdout] | [INFO] [stdout] 3692 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3657 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3712:12 [INFO] [stdout] | [INFO] [stdout] 3712 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3657 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3719:12 [INFO] [stdout] | [INFO] [stdout] 3719 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3657 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3724:12 [INFO] [stdout] | [INFO] [stdout] 3724 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3657 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3766:25 [INFO] [stdout] | [INFO] [stdout] 3766 | assert!(Validators::::iter().any(|(stash, _)| 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] 3742 | fn zero_slash_keeps_nominators() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3783:15 [INFO] [stdout] | [INFO] [stdout] 3783 | assert_eq!(>::new_session(init_session + 2), None); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3785:5 [INFO] [stdout] | [INFO] [stdout] 3785 | >::new_session(init_session + 3), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3788:15 [INFO] [stdout] | [INFO] [stdout] 3788 | assert_eq!(>::new_session(init_session + 4), None); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3789:15 [INFO] [stdout] | [INFO] [stdout] 3789 | assert_eq!(>::new_session(init_session + 5), None); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3791:5 [INFO] [stdout] | [INFO] [stdout] 3791 | >::new_session(init_session + 6), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3795:4 [INFO] [stdout] | [INFO] [stdout] 3795 | >::end_session(init_session); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3796:4 [INFO] [stdout] | [INFO] [stdout] 3796 | >::start_session(init_session + 1); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3799:4 [INFO] [stdout] | [INFO] [stdout] 3799 | >::end_session(init_session + 1); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3800:4 [INFO] [stdout] | [INFO] [stdout] 3800 | >::start_session(init_session + 2); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3807:4 [INFO] [stdout] | [INFO] [stdout] 3807 | >::end_session(init_session + 2); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3808:4 [INFO] [stdout] | [INFO] [stdout] 3808 | >::start_session(init_session + 3); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3811:4 [INFO] [stdout] | [INFO] [stdout] 3811 | >::end_session(init_session + 3); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3812:4 [INFO] [stdout] | [INFO] [stdout] 3812 | >::start_session(init_session + 4); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3815:4 [INFO] [stdout] | [INFO] [stdout] 3815 | >::end_session(init_session + 4); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3816:4 [INFO] [stdout] | [INFO] [stdout] 3816 | >::start_session(init_session + 5); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3823:4 [INFO] [stdout] | [INFO] [stdout] 3823 | >::end_session(init_session + 5); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3824:4 [INFO] [stdout] | [INFO] [stdout] 3824 | >::start_session(init_session + 6); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3850:12 [INFO] [stdout] | [INFO] [stdout] 3850 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3834 | fn test_nominators_over_max_exposure_page_size_are_rewarded() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3891:12 [INFO] [stdout] | [INFO] [stdout] 3891 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3873 | fn test_nominators_are_rewarded_for_all_exposure_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3898:24 [INFO] [stdout] | [INFO] [stdout] 3898 | assert_eq!(EraInfo::::get_page_count(1, &11), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3873 | fn test_nominators_are_rewarded_for_all_exposure_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3926:27 [INFO] [stdout] | [INFO] [stdout] 3926 | assert_eq!(Validators::::count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3940:24 [INFO] [stdout] | [INFO] [stdout] 3940 | assert_eq!(EraInfo::::get_page_count(1, &11), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3947:37 [INFO] [stdout] | [INFO] [stdout] 3947 | let actual_exposure_0 = EraInfo::::get_paged_exposure(1, &11, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3951:37 [INFO] [stdout] | [INFO] [stdout] 3951 | let actual_exposure_1 = EraInfo::::get_paged_exposure(1, &11, 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] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3957:68 [INFO] [stdout] | [INFO] [stdout] 3957 | let pre_payout_total_issuance = 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] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3959:3 [INFO] [stdout] | [INFO] [stdout] 3959 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3978:44 [INFO] [stdout] | [INFO] [stdout] 3978 | assert!(pallet_balances::TotalIssuance::::get() > pre_payout_total_issuance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3979:44 [INFO] [stdout] | [INFO] [stdout] 3979 | assert!(pallet_balances::TotalIssuance::::get() < pre_payout_total_issuance + payout); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4003:37 [INFO] [stdout] | [INFO] [stdout] 4003 | 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] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4029:28 [INFO] [stdout] | [INFO] [stdout] 4029 | for page in 0..EraInfo::::get_page_count(1, &11) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4031:15 [INFO] [stdout] | [INFO] [stdout] 4031 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4046:69 [INFO] [stdout] | [INFO] [stdout] 4046 | let pre_payout_total_issuance = 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] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4052:38 [INFO] [stdout] | [INFO] [stdout] 4052 | 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] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4059:29 [INFO] [stdout] | [INFO] [stdout] 4059 | for page in 0..EraInfo::::get_page_count(i - 1, &11) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4061:16 [INFO] [stdout] | [INFO] [stdout] 4061 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3918 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4145:27 [INFO] [stdout] | [INFO] [stdout] 4145 | assert_eq!(Validators::::count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4147:21 [INFO] [stdout] | [INFO] [stdout] 4147 | let err_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4161:24 [INFO] [stdout] | [INFO] [stdout] 4161 | assert_eq!(EraInfo::::get_page_count(1, &11), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4168:37 [INFO] [stdout] | [INFO] [stdout] 4168 | let actual_exposure_0 = EraInfo::::get_paged_exposure(1, &11, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4172:37 [INFO] [stdout] | [INFO] [stdout] 4172 | let actual_exposure_1 = EraInfo::::get_paged_exposure(1, &11, 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] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4178:68 [INFO] [stdout] | [INFO] [stdout] 4178 | let pre_payout_total_issuance = 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] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4187:12 [INFO] [stdout] | [INFO] [stdout] 4187 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4193:44 [INFO] [stdout] | [INFO] [stdout] 4193 | assert!(pallet_balances::TotalIssuance::::get() > pre_payout_total_issuance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4194:44 [INFO] [stdout] | [INFO] [stdout] 4194 | assert!(pallet_balances::TotalIssuance::::get() < pre_payout_total_issuance + payout); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4205:12 [INFO] [stdout] | [INFO] [stdout] 4205 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4213:37 [INFO] [stdout] | [INFO] [stdout] 4213 | 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] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4240:28 [INFO] [stdout] | [INFO] [stdout] 4240 | for page in 0..EraInfo::::get_page_count(1, &11) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4242:15 [INFO] [stdout] | [INFO] [stdout] 4242 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4257:69 [INFO] [stdout] | [INFO] [stdout] 4257 | let pre_payout_total_issuance = 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] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4263:38 [INFO] [stdout] | [INFO] [stdout] 4263 | 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] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4270:29 [INFO] [stdout] | [INFO] [stdout] 4270 | for page in 0..EraInfo::::get_page_count(i - 1, &11) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4272:16 [INFO] [stdout] | [INFO] [stdout] 4272 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4334:12 [INFO] [stdout] | [INFO] [stdout] 4334 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4361:12 [INFO] [stdout] | [INFO] [stdout] 4361 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4137 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4380:27 [INFO] [stdout] | [INFO] [stdout] 4380 | assert_eq!(Validators::::count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4391:24 [INFO] [stdout] | [INFO] [stdout] 4391 | assert_eq!(EraInfo::::get_page_count(1, &11), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4394:24 [INFO] [stdout] | [INFO] [stdout] 4394 | assert_eq!(EraInfo::::get_paged_exposure(1, &11, 0).unwrap().others().len(), 64); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4396:24 [INFO] [stdout] | [INFO] [stdout] 4396 | assert_eq!(EraInfo::::get_paged_exposure(1, &11, 1).unwrap().others().len(), 36); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4402:24 [INFO] [stdout] | [INFO] [stdout] 4402 | assert_eq!(EraInfo::::get_page_count(2, &11), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4404:24 [INFO] [stdout] | [INFO] [stdout] 4404 | assert_eq!(EraInfo::::get_paged_exposure(2, &11, 0).unwrap().others().len(), 32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4405:24 [INFO] [stdout] | [INFO] [stdout] 4405 | assert_eq!(EraInfo::::get_paged_exposure(2, &11, 1).unwrap().others().len(), 32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4406:24 [INFO] [stdout] | [INFO] [stdout] 4406 | assert_eq!(EraInfo::::get_paged_exposure(2, &11, 2).unwrap().others().len(), 32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4407:24 [INFO] [stdout] | [INFO] [stdout] 4407 | assert_eq!(EraInfo::::get_paged_exposure(2, &11, 3).unwrap().others().len(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4414:24 [INFO] [stdout] | [INFO] [stdout] 4414 | assert_eq!(EraInfo::::get_page_count(3, &11), 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4373 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4423:21 [INFO] [stdout] | [INFO] [stdout] 4423 | let err_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4445:12 [INFO] [stdout] | [INFO] [stdout] 4445 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4419 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4450:12 [INFO] [stdout] | [INFO] [stdout] 4450 | Error::::NotStash.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4419 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4475:12 [INFO] [stdout] | [INFO] [stdout] 4475 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4419 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4484:12 [INFO] [stdout] | [INFO] [stdout] 4484 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4419 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4515:12 [INFO] [stdout] | [INFO] [stdout] 4515 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4419 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4525:12 [INFO] [stdout] | [INFO] [stdout] 4525 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4419 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4535:12 [INFO] [stdout] | [INFO] [stdout] 4535 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4419 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4546:12 [INFO] [stdout] | [INFO] [stdout] 4546 | Error::::InvalidPage.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4419 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4562:27 [INFO] [stdout] | [INFO] [stdout] 4562 | assert_eq!(Validators::::count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4552 | fn test_commission_paid_across_pages() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4575:24 [INFO] [stdout] | [INFO] [stdout] 4575 | assert_eq!(EraInfo::::get_page_count(1, &11), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4552 | fn test_commission_paid_across_pages() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4617:5 [INFO] [stdout] | [INFO] [stdout] 4617 | ::WeightInfo::payout_stakers_alive_staked(max_nom_rewarded); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4619:5 [INFO] [stdout] | [INFO] [stdout] 4619 | ::WeightInfo::payout_stakers_alive_staked(half_max_nom_rewarded); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4620:34 [INFO] [stdout] | [INFO] [stdout] 4620 | let zero_nom_payouts_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4779:5 [INFO] [stdout] | [INFO] [stdout] 4779 | ::DbWeight::get().reads_writes(4, 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4786:37 [INFO] [stdout] | [INFO] [stdout] 4786 | let n_offence_unapplied_weight = ::DbWeight::get() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4788:5 [INFO] [stdout] | [INFO] [stdout] 4788 | ::DbWeight::get().reads_writes(4, 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.rs:4792:6 [INFO] [stdout] | [INFO] [stdout] 4792 | ::AccountId, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4775 | fn offences_weight_calculated_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4793:53 [INFO] [stdout] | [INFO] [stdout] 4793 | pallet_session::historical::IdentificationTuple, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4775 | fn offences_weight_calculated_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4819:5 [INFO] [stdout] | [INFO] [stdout] 4819 | ::DbWeight::get().reads_writes(4, 1) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4821:5 [INFO] [stdout] | [INFO] [stdout] 4821 | ::DbWeight::get().reads_writes(rw, rw) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4823:7 [INFO] [stdout] | [INFO] [stdout] 4823 | + ::DbWeight::get().reads_writes(6, 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.rs:4825:7 [INFO] [stdout] | [INFO] [stdout] 4825 | + ::DbWeight::get().reads_writes(6, 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.rs:4827:7 [INFO] [stdout] | [INFO] [stdout] 4827 | + ::DbWeight::get().reads_writes(2, 2) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4885:15 [INFO] [stdout] | [INFO] [stdout] 4885 | assert_eq!(System::block_number(), 2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4891:15 [INFO] [stdout] | [INFO] [stdout] 4891 | assert_eq!(System::block_number(), 7); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4897:15 [INFO] [stdout] | [INFO] [stdout] 4897 | assert_eq!(System::block_number(), 12); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4904:15 [INFO] [stdout] | [INFO] [stdout] 4904 | assert_eq!(System::block_number(), 17); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4910:15 [INFO] [stdout] | [INFO] [stdout] 4910 | assert_eq!(System::block_number(), 22); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4936:15 [INFO] [stdout] | [INFO] [stdout] 4936 | assert_eq!(System::block_number(), 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4942:15 [INFO] [stdout] | [INFO] [stdout] 4942 | assert_eq!(System::block_number(), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4948:15 [INFO] [stdout] | [INFO] [stdout] 4948 | 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4955:15 [INFO] [stdout] | [INFO] [stdout] 4955 | assert_eq!(System::block_number(), 20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4961:15 [INFO] [stdout] | [INFO] [stdout] 4961 | assert_eq!(System::block_number(), 25); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5006:13 [INFO] [stdout] | [INFO] [stdout] 5006 | 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] 4972 | 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.rs:5046:13 [INFO] [stdout] | [INFO] [stdout] 5046 | 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] 5012 | 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.rs:5092:29 [INFO] [stdout] | [INFO] [stdout] 5092 | let on_finalize_weight = ::DbWeight::get().reads(1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5093:12 [INFO] [stdout] | [INFO] [stdout] 5093 | assert!(>::on_initialize(1).all_gte(on_finalize_weight)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5104:10 [INFO] [stdout] | [INFO] [stdout] 5104 | while ::WeightInfo::get_npos_targets(validators).all_lt(Weight::from_parts( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5121:10 [INFO] [stdout] | [INFO] [stdout] 5121 | while ::WeightInfo::get_npos_voters(validators, nominators).all_lt( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5145:17 [INFO] [stdout] | [INFO] [stdout] 5145 | assert_ok!(::electing_voters( [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5148:37 [INFO] [stdout] | [INFO] [stdout] 5148 | 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] 5137 | 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.rs:5153:17 [INFO] [stdout] | [INFO] [stdout] 5153 | assert_ok!(::electing_voters(bounds.voters)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5154:37 [INFO] [stdout] | [INFO] [stdout] 5154 | 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] 5137 | 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.rs:5163:16 [INFO] [stdout] | [INFO] [stdout] 5163 | assert_ok!(::electing_voters( [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5166:16 [INFO] [stdout] | [INFO] [stdout] 5166 | assert_eq!(::VoterList::count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5167:36 [INFO] [stdout] | [INFO] [stdout] 5167 | assert_eq!(MinimumActiveStake::::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] 5159 | 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.rs:5173:34 [INFO] [stdout] | [INFO] [stdout] 5173 | 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] 5159 | 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.rs:5174:16 [INFO] [stdout] | [INFO] [stdout] 5174 | 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.rs:5178:16 [INFO] [stdout] | [INFO] [stdout] 5178 | 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.rs:5181:6 [INFO] [stdout] | [INFO] [stdout] 5181 | ::electing_voters(DataProviderBounds::default()) [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5183:36 [INFO] [stdout] | [INFO] [stdout] 5183 | 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] 5159 | 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.rs:5186:23 [INFO] [stdout] | [INFO] [stdout] 5186 | 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] 5159 | 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.rs:5187:34 [INFO] [stdout] | [INFO] [stdout] 5187 | 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] 5159 | 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.rs:5190:16 [INFO] [stdout] | [INFO] [stdout] 5190 | 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.rs:5193:6 [INFO] [stdout] | [INFO] [stdout] 5193 | ::electing_voters(DataProviderBounds::default()) [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5198:36 [INFO] [stdout] | [INFO] [stdout] 5198 | 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] 5159 | 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.rs:5210:19 [INFO] [stdout] | [INFO] [stdout] 5210 | let voters = ::electing_voters( [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5215:37 [INFO] [stdout] | [INFO] [stdout] 5215 | 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] 5203 | 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.rs:5225:19 [INFO] [stdout] | [INFO] [stdout] 5225 | let voters = ::electing_voters( [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5233:37 [INFO] [stdout] | [INFO] [stdout] 5233 | 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] 5203 | 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.rs:5247:24 [INFO] [stdout] | [INFO] [stdout] 5247 | 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] 5244 | 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.rs:5289:7 [INFO] [stdout] | [INFO] [stdout] 5289 | ::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.rs:5319:17 [INFO] [stdout] | [INFO] [stdout] 5319 | 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.rs:5421:13 [INFO] [stdout] | [INFO] [stdout] 5421 | 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] 5408 | fn nomination_quota_checks_at_nominate_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5502:50 [INFO] [stdout] | [INFO] [stdout] 5502 | assert_eq!(Staking::next_election_prediction(System::block_number()), 20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5507:49 [INFO] [stdout] | [INFO] [stdout] 5507 | assert_eq!(Staking::next_election_prediction(System::block_number()), 45); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5513:50 [INFO] [stdout] | [INFO] [stdout] 5513 | assert_eq!(Staking::next_election_prediction(System::block_number()), 45); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5518:49 [INFO] [stdout] | [INFO] [stdout] 5518 | assert_eq!(Staking::next_election_prediction(System::block_number()), 70); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5523:49 [INFO] [stdout] | [INFO] [stdout] 5523 | assert_eq!(Staking::next_election_prediction(System::block_number()), u64::MAX); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5526:49 [INFO] [stdout] | [INFO] [stdout] 5526 | assert_eq!(Staking::next_election_prediction(System::block_number()), 45 + 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5529:49 [INFO] [stdout] | [INFO] [stdout] 5529 | assert_eq!(Staking::next_election_prediction(System::block_number()), 45 + 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5532:28 [INFO] [stdout] | [INFO] [stdout] 5532 | MinimumValidatorCount::::put(1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5497 | fn estimate_next_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5535:49 [INFO] [stdout] | [INFO] [stdout] 5535 | assert_eq!(Staking::next_election_prediction(System::block_number()), 50 + 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5537:26 [INFO] [stdout] | [INFO] [stdout] 5537 | assert_eq!(ForceEra::::get(), Forcing::ForceNew); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5497 | fn estimate_next_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5539:28 [INFO] [stdout] | [INFO] [stdout] 5539 | MinimumValidatorCount::::put(2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5497 | fn estimate_next_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5541:49 [INFO] [stdout] | [INFO] [stdout] 5541 | assert_eq!(Staking::next_election_prediction(System::block_number()), 55 + 25); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5098 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5552:26 [INFO] [stdout] | [INFO] [stdout] 5552 | 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] 5497 | fn estimate_next_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5564:16 [INFO] [stdout] | [INFO] [stdout] 5564 | 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] 5559 | 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.rs:5565:16 [INFO] [stdout] | [INFO] [stdout] 5565 | 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] 5559 | 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.rs:5582:38 [INFO] [stdout] | [INFO] [stdout] 5582 | 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] 5578 | 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.rs:5583:12 [INFO] [stdout] | [INFO] [stdout] 5583 | 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] 5578 | 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.rs:5594:11 [INFO] [stdout] | [INFO] [stdout] 5594 | 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] 5589 | 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.rs:5610:13 [INFO] [stdout] | [INFO] [stdout] 5610 | 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] 5599 | 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.rs:5614:13 [INFO] [stdout] | [INFO] [stdout] 5614 | 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] 5599 | 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.rs:5622:13 [INFO] [stdout] | [INFO] [stdout] 5622 | 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] 5599 | 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.rs:5633:13 [INFO] [stdout] | [INFO] [stdout] 5633 | 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] 5599 | 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.rs:5641:13 [INFO] [stdout] | [INFO] [stdout] 5641 | 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] 5599 | 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.rs:5658:42 [INFO] [stdout] | [INFO] [stdout] 5658 | 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] 5651 | 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.rs:5659:42 [INFO] [stdout] | [INFO] [stdout] 5659 | 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] 5651 | 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.rs:5688:13 [INFO] [stdout] | [INFO] [stdout] 5688 | 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] 5651 | 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.rs:5692:13 [INFO] [stdout] | [INFO] [stdout] 5692 | 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] 5651 | 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.rs:5710:13 [INFO] [stdout] | [INFO] [stdout] 5710 | 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] 5651 | 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.rs:5714:13 [INFO] [stdout] | [INFO] [stdout] 5714 | 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] 5651 | 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.rs:5732:13 [INFO] [stdout] | [INFO] [stdout] 5732 | 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] 5651 | 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.rs:5736:13 [INFO] [stdout] | [INFO] [stdout] 5736 | 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] 5651 | 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.rs:5754:13 [INFO] [stdout] | [INFO] [stdout] 5754 | 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] 5651 | 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.rs:5758:13 [INFO] [stdout] | [INFO] [stdout] 5758 | 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] 5651 | 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.rs:5774:28 [INFO] [stdout] | [INFO] [stdout] 5774 | 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] 5651 | 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.rs:5775:28 [INFO] [stdout] | [INFO] [stdout] 5775 | 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] 5651 | 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.rs:5787:28 [INFO] [stdout] | [INFO] [stdout] 5787 | 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] 5651 | 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.rs:5790:13 [INFO] [stdout] | [INFO] [stdout] 5790 | 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] 5651 | 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.rs:5793:28 [INFO] [stdout] | [INFO] [stdout] 5793 | 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] 5651 | 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.rs:5801:38 [INFO] [stdout] | [INFO] [stdout] 5801 | 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] 5799 | 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.rs:5803:38 [INFO] [stdout] | [INFO] [stdout] 5803 | 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] 5799 | 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.rs:5822:67 [INFO] [stdout] | [INFO] [stdout] 5822 | 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] 5799 | 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.rs:5837:45 [INFO] [stdout] | [INFO] [stdout] 5837 | 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] 5799 | 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.rs:5842:12 [INFO] [stdout] | [INFO] [stdout] 5842 | 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] 5799 | 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.rs:5848:67 [INFO] [stdout] | [INFO] [stdout] 5848 | 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] 5799 | 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.rs:5859:70 [INFO] [stdout] | [INFO] [stdout] 5859 | 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] 5799 | 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.rs:5867:12 [INFO] [stdout] | [INFO] [stdout] 5867 | 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] 5799 | 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.rs:5932:12 [INFO] [stdout] | [INFO] [stdout] 5932 | Error::::CommissionTooLow [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5898 | fn min_commission_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5962:18 [INFO] [stdout] | [INFO] [stdout] 5962 | 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] 5951 | 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.rs:5978:18 [INFO] [stdout] | [INFO] [stdout] 5978 | 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] 5951 | 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.rs:5989:18 [INFO] [stdout] | [INFO] [stdout] 5989 | 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] 5951 | 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.rs:6001:18 [INFO] [stdout] | [INFO] [stdout] 6001 | 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] 5951 | 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.rs:6007:25 [INFO] [stdout] | [INFO] [stdout] 6007 | 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] 5951 | 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.rs:6009:25 [INFO] [stdout] | [INFO] [stdout] 6009 | 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] 5951 | 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.rs:6012:25 [INFO] [stdout] | [INFO] [stdout] 6012 | 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] 5951 | 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.rs:6019:18 [INFO] [stdout] | [INFO] [stdout] 6019 | 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] 5951 | 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.rs:6024:25 [INFO] [stdout] | [INFO] [stdout] 6024 | 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] 5951 | 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.rs:6025:25 [INFO] [stdout] | [INFO] [stdout] 6025 | 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] 5951 | 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.rs:6026:25 [INFO] [stdout] | [INFO] [stdout] 6026 | 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] 5951 | 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.rs:6027:25 [INFO] [stdout] | [INFO] [stdout] 6027 | 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] 5951 | 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.rs:6033:18 [INFO] [stdout] | [INFO] [stdout] 6033 | 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] 5951 | 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.rs:6040:25 [INFO] [stdout] | [INFO] [stdout] 6040 | 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] 5951 | 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.rs:6041:25 [INFO] [stdout] | [INFO] [stdout] 6041 | 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] 5951 | 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.rs:6043:26 [INFO] [stdout] | [INFO] [stdout] 6043 | 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] 5951 | 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.rs:6044:25 [INFO] [stdout] | [INFO] [stdout] 6044 | 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] 5951 | 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.rs:6059:34 [INFO] [stdout] | [INFO] [stdout] 6059 | 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] 6049 | 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.rs:6064:18 [INFO] [stdout] | [INFO] [stdout] 6064 | 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] 6049 | 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.rs:6077:69 [INFO] [stdout] | [INFO] [stdout] 6077 | 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] 6075 | 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.rs:6078:70 [INFO] [stdout] | [INFO] [stdout] 6078 | 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] 6075 | 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.rs:6093:19 [INFO] [stdout] | [INFO] [stdout] 6093 | (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] 6089 | 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.rs:6093:49 [INFO] [stdout] | [INFO] [stdout] 6093 | (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] 6089 | 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.rs:6094:16 [INFO] [stdout] | [INFO] [stdout] 6094 | 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.rs:6097:6 [INFO] [stdout] | [INFO] [stdout] 6097 | ::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.rs:6105:16 [INFO] [stdout] | [INFO] [stdout] 6105 | 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.rs:6108:6 [INFO] [stdout] | [INFO] [stdout] 6108 | ::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.rs:6119:19 [INFO] [stdout] | [INFO] [stdout] 6119 | (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] 6115 | 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.rs:6119:49 [INFO] [stdout] | [INFO] [stdout] 6119 | (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] 6115 | 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.rs:6120:16 [INFO] [stdout] | [INFO] [stdout] 6120 | 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.rs:6122:16 [INFO] [stdout] | [INFO] [stdout] 6122 | 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.rs:6128:16 [INFO] [stdout] | [INFO] [stdout] 6128 | 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.rs:6130:16 [INFO] [stdout] | [INFO] [stdout] 6130 | 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.rs:6138:35 [INFO] [stdout] | [INFO] [stdout] 6138 | let validators = || Validators::::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] 6136 | fn force_apply_min_commission_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6145:19 [INFO] [stdout] | [INFO] [stdout] 6145 | MinCommission::::set(Perbill::from_percent(5)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6136 | fn force_apply_min_commission_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6165:12 [INFO] [stdout] | [INFO] [stdout] 6165 | 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] 6136 | fn force_apply_min_commission_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6178:35 [INFO] [stdout] | [INFO] [stdout] 6178 | let mut ledger = StakingLedger::::new(123, 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6171 | fn proportional_slash_stop_slashing_if_remaining_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6192:35 [INFO] [stdout] | [INFO] [stdout] 6192 | let mut ledger = StakingLedger::::new(123, 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6189 | fn proportional_ledger_slash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6447:71 [INFO] [stdout] | [INFO] [stdout] 6447 | 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] 6409 | 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.rs:6452:71 [INFO] [stdout] | [INFO] [stdout] 6452 | 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] 6409 | 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.rs:6453:72 [INFO] [stdout] | [INFO] [stdout] 6453 | 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] 6409 | 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.rs:6470:12 [INFO] [stdout] | [INFO] [stdout] 6470 | 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] 6461 | fn cannot_set_unsupported_validator_count() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6483:31 [INFO] [stdout] | [INFO] [stdout] 6483 | 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] 6476 | 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.rs:6488:12 [INFO] [stdout] | [INFO] [stdout] 6488 | 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] 6476 | 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.rs:6504:31 [INFO] [stdout] | [INFO] [stdout] 6504 | 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] 6494 | 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.rs:6509:12 [INFO] [stdout] | [INFO] [stdout] 6509 | 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] 6494 | 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.rs:6518:30 [INFO] [stdout] | [INFO] [stdout] 6518 | assert_eq!(MinCommission::::get(), Zero::zero()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6515 | fn set_min_commission_works_with_admin_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6523:30 [INFO] [stdout] | [INFO] [stdout] 6523 | assert_eq!(MinCommission::::get(), Perbill::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] 6515 | fn set_min_commission_works_with_admin_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6543:12 [INFO] [stdout] | [INFO] [stdout] 6543 | Error::::CommissionTooLow [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6515 | fn set_min_commission_works_with_admin_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6603:12 [INFO] [stdout] | [INFO] [stdout] 6603 | Pallet::::clear_era_information(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6607:21 [INFO] [stdout] | [INFO] [stdout] 6607 | ClaimedRewards::::insert(era, &validator_stash, vec![0, 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] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6609:24 [INFO] [stdout] | [INFO] [stdout] 6609 | ErasStakersPaged::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6618:32 [INFO] [stdout] | [INFO] [stdout] 6618 | assert_eq!(ClaimedRewards::::iter().count(), (4 - i)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6620:32 [INFO] [stdout] | [INFO] [stdout] 6620 | assert_eq!(ClaimedRewards::::iter_prefix(i as EraIndex).count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6622:34 [INFO] [stdout] | [INFO] [stdout] 6622 | assert_eq!(ErasStakersPaged::::iter_prefix((i as EraIndex,)).count(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6625:13 [INFO] [stdout] | [INFO] [stdout] 6625 | Pallet::::clear_era_information(i as EraIndex); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6628:32 [INFO] [stdout] | [INFO] [stdout] 6628 | assert_eq!(ClaimedRewards::::iter_prefix(i as EraIndex).count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6629:34 [INFO] [stdout] | [INFO] [stdout] 6629 | assert_eq!(ErasStakersPaged::::iter_prefix((i as EraIndex,)).count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6600 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6642:12 [INFO] [stdout] | [INFO] [stdout] 6642 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6644:12 [INFO] [stdout] | [INFO] [stdout] 6644 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6649:14 [INFO] [stdout] | [INFO] [stdout] 6649 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6658:14 [INFO] [stdout] | [INFO] [stdout] 6658 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6668:12 [INFO] [stdout] | [INFO] [stdout] 6668 | 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] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6682:12 [INFO] [stdout] | [INFO] [stdout] 6682 | Error::::AlreadyClaimed [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6683:19 [INFO] [stdout] | [INFO] [stdout] 6683 | .with_weight(::WeightInfo::payout_stakers_alive_staked(0)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6686:14 [INFO] [stdout] | [INFO] [stdout] 6686 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6698:14 [INFO] [stdout] | [INFO] [stdout] 6698 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6708:13 [INFO] [stdout] | [INFO] [stdout] 6708 | Ledger::::get(11).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6718:31 [INFO] [stdout] | [INFO] [stdout] 6718 | assert_eq!(ClaimedRewards::::get(2, 11), vec![0]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6635 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6750:12 [INFO] [stdout] | [INFO] [stdout] 6750 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6756:51 [INFO] [stdout] | [INFO] [stdout] 6756 | let actual_exposure_page_0 = ErasStakersPaged::::get((1, 11, 0)).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6757:51 [INFO] [stdout] | [INFO] [stdout] 6757 | let actual_exposure_page_1 = ErasStakersPaged::::get((1, 11, 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] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6770:14 [INFO] [stdout] | [INFO] [stdout] 6770 | EraInfo::::get_paged_exposure(1, &11, 0).unwrap().others(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6774:14 [INFO] [stdout] | [INFO] [stdout] 6774 | EraInfo::::get_paged_exposure(1, &11, 1).unwrap().others(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6777:24 [INFO] [stdout] | [INFO] [stdout] 6777 | assert_eq!(EraInfo::::get_page_count(1, &11), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:6780:12 [INFO] [stdout] | [INFO] [stdout] 6780 | assert!(::is_exposed_in_era(&11, &1)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:6784:13 [INFO] [stdout] | [INFO] [stdout] 6784 | assert!(::is_exposed_in_era(&who, &1)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6789:21 [INFO] [stdout] | [INFO] [stdout] 6789 | >::remove((1, 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] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6790:21 [INFO] [stdout] | [INFO] [stdout] 6790 | >::remove((1, 11, 1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6791:24 [INFO] [stdout] | [INFO] [stdout] 6791 | >::remove(1, 11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6793:16 [INFO] [stdout] | [INFO] [stdout] 6793 | >::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6805:23 [INFO] [stdout] | [INFO] [stdout] 6805 | >::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6812:41 [INFO] [stdout] | [INFO] [stdout] 6812 | let actual_exposure_paged = EraInfo::::get_paged_exposure(1, &11, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6817:40 [INFO] [stdout] | [INFO] [stdout] 6817 | let actual_exposure_full = EraInfo::::get_full_exposure(1, &11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:6823:12 [INFO] [stdout] | [INFO] [stdout] 6823 | assert!(::is_exposed_in_era(&11, &1)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:6827:13 [INFO] [stdout] | [INFO] [stdout] 6827 | assert!(::is_exposed_in_era(&who, &1)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6831:24 [INFO] [stdout] | [INFO] [stdout] 6831 | assert_eq!(EraInfo::::get_paged_exposure(1, &11, 1), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6833:24 [INFO] [stdout] | [INFO] [stdout] 6833 | assert_eq!(EraInfo::::get_page_count(1, &11), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6840:12 [INFO] [stdout] | [INFO] [stdout] 6840 | Error::::InvalidPage [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6723 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6841:19 [INFO] [stdout] | [INFO] [stdout] 6841 | .with_weight(::WeightInfo::payout_stakers_alive_staked(0)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6850:21 [INFO] [stdout] | [INFO] [stdout] 6850 | let err_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6873:22 [INFO] [stdout] | [INFO] [stdout] 6873 | ErasRewardPoints::::insert(0, reward); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6887:16 [INFO] [stdout] | [INFO] [stdout] 6887 | >::insert(0, validator_one, exposure.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6888:16 [INFO] [stdout] | [INFO] [stdout] 6888 | >::insert(0, validator_two, exposure.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6890:13 [INFO] [stdout] | [INFO] [stdout] 6890 | EraInfo::::set_exposure(0, &validator_three, exposure); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6893:25 [INFO] [stdout] | [INFO] [stdout] 6893 | ErasValidatorReward::::insert(0, 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6896:11 [INFO] [stdout] | [INFO] [stdout] 6896 | >::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6909:22 [INFO] [stdout] | [INFO] [stdout] 6909 | assert!(!EraInfo::::pending_rewards(0, &validator_one)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6913:12 [INFO] [stdout] | [INFO] [stdout] 6913 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6918:21 [INFO] [stdout] | [INFO] [stdout] 6918 | assert!(EraInfo::::pending_rewards(0, &validator_two)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6922:22 [INFO] [stdout] | [INFO] [stdout] 6922 | assert!(!EraInfo::::pending_rewards(0, &validator_two)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6926:12 [INFO] [stdout] | [INFO] [stdout] 6926 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6931:21 [INFO] [stdout] | [INFO] [stdout] 6931 | assert!(EraInfo::::pending_rewards(0, &validator_three)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6935:21 [INFO] [stdout] | [INFO] [stdout] 6935 | assert!(EraInfo::::pending_rewards(0, &validator_three)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6939:22 [INFO] [stdout] | [INFO] [stdout] 6939 | assert!(!EraInfo::::pending_rewards(0, &validator_three)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6943:12 [INFO] [stdout] | [INFO] [stdout] 6943 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6947:22 [INFO] [stdout] | [INFO] [stdout] 6947 | assert!(!EraInfo::::pending_rewards(0, &validator_one)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6948:22 [INFO] [stdout] | [INFO] [stdout] 6948 | assert!(!EraInfo::::pending_rewards(0, &validator_two)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6949:22 [INFO] [stdout] | [INFO] [stdout] 6949 | assert!(!EraInfo::::pending_rewards(0, &validator_three)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6847 | fn test_runtime_api_pending_rewards() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:6966:17 [INFO] [stdout] | [INFO] [stdout] 6966 | assert_ok!(::force_unstake(11)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:6973:16 [INFO] [stdout] | [INFO] [stdout] 6973 | assert_ok!(::force_unstake(11)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6992:13 [INFO] [stdout] | [INFO] [stdout] 6992 | Error::::IncorrectSlashingSpans [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6978 | fn do_withdraw_unbonded_with_wrong_slash_spans_works_as_expected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7047:22 [INFO] [stdout] | [INFO] [stdout] 7047 | 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] 7004 | 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.rs:7048:22 [INFO] [stdout] | [INFO] [stdout] 7048 | 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] 7004 | 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.rs:7049:26 [INFO] [stdout] | [INFO] [stdout] 7049 | 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] 7004 | 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.rs:7050:21 [INFO] [stdout] | [INFO] [stdout] 7050 | 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] 7004 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7092:16 [INFO] [stdout] | [INFO] [stdout] 7092 | assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7096:16 [INFO] [stdout] | [INFO] [stdout] 7096 | assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7099:6 [INFO] [stdout] | [INFO] [stdout] 7099 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7104:16 [INFO] [stdout] | [INFO] [stdout] 7104 | assert_ok!(::unbond(&10, 200)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7117:6 [INFO] [stdout] | [INFO] [stdout] 7117 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7125:16 [INFO] [stdout] | [INFO] [stdout] 7125 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7127:6 [INFO] [stdout] | [INFO] [stdout] 7127 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7133:16 [INFO] [stdout] | [INFO] [stdout] 7133 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7135:6 [INFO] [stdout] | [INFO] [stdout] 7135 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7140:16 [INFO] [stdout] | [INFO] [stdout] 7140 | assert_ok!(::unbond(&10, 900)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7142:6 [INFO] [stdout] | [INFO] [stdout] 7142 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7146:16 [INFO] [stdout] | [INFO] [stdout] 7146 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7149:55 [INFO] [stdout] | [INFO] [stdout] 7149 | 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] 7086 | fn virtual_bond_does_not_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7150:32 [INFO] [stdout] | [INFO] [stdout] 7150 | 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] 7086 | fn virtual_bond_does_not_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7159:6 [INFO] [stdout] | [INFO] [stdout] 7159 | ::virtual_bond(&10, 100, &10), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7160:13 [INFO] [stdout] | [INFO] [stdout] 7160 | 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] 7155 | 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.rs:7164:16 [INFO] [stdout] | [INFO] [stdout] 7164 | assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7168:6 [INFO] [stdout] | [INFO] [stdout] 7168 | ::set_payee(&10, &10), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7169:13 [INFO] [stdout] | [INFO] [stdout] 7169 | 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] 7155 | 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.rs:7182:6 [INFO] [stdout] | [INFO] [stdout] 7182 | ::virtual_bond(&200, 200, &201), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7183:13 [INFO] [stdout] | [INFO] [stdout] 7183 | 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] 7175 | 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.rs:7188:6 [INFO] [stdout] | [INFO] [stdout] 7188 | ::virtual_bond(&200, 200, &202), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7189:13 [INFO] [stdout] | [INFO] [stdout] 7189 | 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] 7175 | 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.rs:7194:6 [INFO] [stdout] | [INFO] [stdout] 7194 | ::bond(&200, 200, &202), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7195:13 [INFO] [stdout] | [INFO] [stdout] 7195 | 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] 7175 | 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.rs:7205:6 [INFO] [stdout] | [INFO] [stdout] 7205 | ::virtual_bond(&101, 200, &102), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7206:13 [INFO] [stdout] | [INFO] [stdout] 7206 | 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] 7201 | 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.rs:7211:6 [INFO] [stdout] | [INFO] [stdout] 7211 | ::virtual_bond(&21, 200, &22), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7212:13 [INFO] [stdout] | [INFO] [stdout] 7212 | 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] 7201 | 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.rs:7228:5 [INFO] [stdout] | [INFO] [stdout] 7228 | ::migrate_to_virtual_staker(&200); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7230:16 [INFO] [stdout] | [INFO] [stdout] 7230 | assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7236:24 [INFO] [stdout] | [INFO] [stdout] 7236 | 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] 7218 | 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.rs:7255:6 [INFO] [stdout] | [INFO] [stdout] 7255 | ::migrate_to_virtual_staker(&101); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7257:17 [INFO] [stdout] | [INFO] [stdout] 7257 | assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7330:6 [INFO] [stdout] | [INFO] [stdout] 7330 | ::migrate_to_virtual_staker(&101); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:7332:17 [INFO] [stdout] | [INFO] [stdout] 7332 | assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7372:14 [INFO] [stdout] | [INFO] [stdout] 7372 | 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] 7310 | 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.rs:7386:5 [INFO] [stdout] | [INFO] [stdout] 7386 | ::migrate_to_virtual_staker(&333); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8549802939cd01111c46e34a7b67cb1933977af9/library/alloc/src/string.rs:362:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7391:13 [INFO] [stdout] | [INFO] [stdout] 7391 | 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] 7378 | 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.rs:7395:20 [INFO] [stdout] | [INFO] [stdout] 7395 | >::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] 7378 | 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.rs:7414:23 [INFO] [stdout] | [INFO] [stdout] 7414 | 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] 7406 | 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.rs:7416:21 [INFO] [stdout] | [INFO] [stdout] 7416 | StakingLedger::::paired_account(StakingAccount::Controller(10)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7406 | 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.rs:7419:31 [INFO] [stdout] | [INFO] [stdout] 7419 | 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] 7406 | 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.rs:7421:23 [INFO] [stdout] | [INFO] [stdout] 7421 | 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] 7406 | 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.rs:7422:31 [INFO] [stdout] | [INFO] [stdout] 7422 | 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] 7406 | 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.rs:7423:31 [INFO] [stdout] | [INFO] [stdout] 7423 | 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] 7406 | 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.rs:7428:23 [INFO] [stdout] | [INFO] [stdout] 7428 | 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] 7406 | 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.rs:7430:21 [INFO] [stdout] | [INFO] [stdout] 7430 | 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] 7406 | 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.rs:7434:21 [INFO] [stdout] | [INFO] [stdout] 7434 | StakingLedger::::paired_account(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] 7406 | 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.rs:7444:28 [INFO] [stdout] | [INFO] [stdout] 7444 | 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] 7441 | 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.rs:7447:23 [INFO] [stdout] | [INFO] [stdout] 7447 | 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] 7441 | 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.rs:7449:26 [INFO] [stdout] | [INFO] [stdout] 7449 | 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] 7441 | 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.rs:7460:23 [INFO] [stdout] | [INFO] [stdout] 7460 | 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] 7441 | 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.rs:7462:26 [INFO] [stdout] | [INFO] [stdout] 7462 | 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] 7441 | 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.rs:7470:26 [INFO] [stdout] | [INFO] [stdout] 7470 | 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] 7441 | 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.rs:7487:24 [INFO] [stdout] | [INFO] [stdout] 7487 | 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] 7481 | 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.rs:7488:24 [INFO] [stdout] | [INFO] [stdout] 7488 | 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] 7481 | 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.rs:7491:24 [INFO] [stdout] | [INFO] [stdout] 7491 | 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] 7481 | 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.rs:7493:21 [INFO] [stdout] | [INFO] [stdout] 7493 | StakingLedger::::paired_account(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] 7481 | 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.rs:7496:24 [INFO] [stdout] | [INFO] [stdout] 7496 | 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] 7481 | 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.rs:7501:40 [INFO] [stdout] | [INFO] [stdout] 7501 | 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] 7481 | 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.rs:7504:40 [INFO] [stdout] | [INFO] [stdout] 7504 | 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] 7481 | 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.rs:7508:40 [INFO] [stdout] | [INFO] [stdout] 7508 | 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] 7481 | 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.rs:7515:30 [INFO] [stdout] | [INFO] [stdout] 7515 | 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] 7481 | 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.rs:7518:13 [INFO] [stdout] | [INFO] [stdout] 7518 | 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] 7481 | 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.rs:7522:28 [INFO] [stdout] | [INFO] [stdout] 7522 | 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] 7481 | 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.rs:7529:29 [INFO] [stdout] | [INFO] [stdout] 7529 | 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] 7527 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7530:20 [INFO] [stdout] | [INFO] [stdout] 7530 | 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] 7527 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7532:34 [INFO] [stdout] | [INFO] [stdout] 7532 | let mut ledger: StakingLedger = StakingLedger::default_from(42); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7527 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7536:28 [INFO] [stdout] | [INFO] [stdout] 7536 | 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] 7527 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7537:20 [INFO] [stdout] | [INFO] [stdout] 7537 | 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] 7527 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7538:22 [INFO] [stdout] | [INFO] [stdout] 7538 | 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] 7527 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7552:78 [INFO] [stdout] | [INFO] [stdout] 7552 | 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] 7550 | 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.rs:7560:24 [INFO] [stdout] | [INFO] [stdout] 7560 | 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] 7550 | 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.rs:7561:24 [INFO] [stdout] | [INFO] [stdout] 7561 | 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] 7550 | 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.rs:7566:13 [INFO] [stdout] | [INFO] [stdout] 7566 | 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] 7550 | 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.rs:7574:29 [INFO] [stdout] | [INFO] [stdout] 7574 | 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] 7572 | 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.rs:7575:29 [INFO] [stdout] | [INFO] [stdout] 7575 | 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] 7572 | 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.rs:7578:12 [INFO] [stdout] | [INFO] [stdout] 7578 | >::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] 7572 | 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.rs:7579:29 [INFO] [stdout] | [INFO] [stdout] 7579 | 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] 7572 | 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.rs:7581:23 [INFO] [stdout] | [INFO] [stdout] 7581 | 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] 7572 | 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.rs:7582:28 [INFO] [stdout] | [INFO] [stdout] 7582 | 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] 7572 | 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.rs:7583:28 [INFO] [stdout] | [INFO] [stdout] 7583 | 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] 7572 | 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.rs:7585:12 [INFO] [stdout] | [INFO] [stdout] 7585 | >::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] 7572 | 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.rs:7593:12 [INFO] [stdout] | [INFO] [stdout] 7593 | 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] 7591 | 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.rs:7596:13 [INFO] [stdout] | [INFO] [stdout] 7596 | 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] 7591 | 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.rs:7598:23 [INFO] [stdout] | [INFO] [stdout] 7598 | 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] 7591 | 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.rs:7607:12 [INFO] [stdout] | [INFO] [stdout] 7607 | 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] 7604 | 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.rs:7608:23 [INFO] [stdout] | [INFO] [stdout] 7608 | 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] 7604 | 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.rs:7610:23 [INFO] [stdout] | [INFO] [stdout] 7610 | 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] 7604 | 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.rs:7613:12 [INFO] [stdout] | [INFO] [stdout] 7613 | 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] 7604 | 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.rs:7614:23 [INFO] [stdout] | [INFO] [stdout] 7614 | 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] 7604 | 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.rs:7617:13 [INFO] [stdout] | [INFO] [stdout] 7617 | 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] 7604 | 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.rs:7619:23 [INFO] [stdout] | [INFO] [stdout] 7619 | 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] 7604 | 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.rs:7634:14 [INFO] [stdout] | [INFO] [stdout] 7634 | 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] 7624 | 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.rs:7643:14 [INFO] [stdout] | [INFO] [stdout] 7643 | 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] 7624 | 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.rs:7644:13 [INFO] [stdout] | [INFO] [stdout] 7644 | 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] 7624 | 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.rs:7653:6 [INFO] [stdout] | [INFO] [stdout] 7653 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7624 | 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.rs:7670:6 [INFO] [stdout] | [INFO] [stdout] 7670 | ::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.rs:7671:7 [INFO] [stdout] | [INFO] [stdout] 7671 | ::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.rs:7682:25 [INFO] [stdout] | [INFO] [stdout] 7682 | 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] 7624 | 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.rs:7684:25 [INFO] [stdout] | [INFO] [stdout] 7684 | 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] 7624 | 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.rs:7687:35 [INFO] [stdout] | [INFO] [stdout] 7687 | 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] 7624 | 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.rs:7710:14 [INFO] [stdout] | [INFO] [stdout] 7710 | 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] 7698 | 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.rs:7714:14 [INFO] [stdout] | [INFO] [stdout] 7714 | 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] 7698 | 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.rs:7715:13 [INFO] [stdout] | [INFO] [stdout] 7715 | 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] 7698 | 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.rs:7723:6 [INFO] [stdout] | [INFO] [stdout] 7723 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7698 | 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.rs:7731:6 [INFO] [stdout] | [INFO] [stdout] 7731 | ::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.rs:7743:26 [INFO] [stdout] | [INFO] [stdout] 7743 | 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] 7698 | 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.rs:7746:25 [INFO] [stdout] | [INFO] [stdout] 7746 | 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] 7698 | 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.rs:7749:35 [INFO] [stdout] | [INFO] [stdout] 7749 | 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] 7698 | 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.rs:7763:13 [INFO] [stdout] | [INFO] [stdout] 7763 | 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] 7756 | 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.rs:7767:13 [INFO] [stdout] | [INFO] [stdout] 7767 | 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] 7756 | 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.rs:7769:12 [INFO] [stdout] | [INFO] [stdout] 7769 | 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] 7756 | 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.rs:7775:6 [INFO] [stdout] | [INFO] [stdout] 7775 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7756 | 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.rs:7783:6 [INFO] [stdout] | [INFO] [stdout] 7783 | ::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.rs:7789:24 [INFO] [stdout] | [INFO] [stdout] 7789 | 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] 7756 | 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.rs:7792:24 [INFO] [stdout] | [INFO] [stdout] 7792 | 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] 7756 | 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.rs:7795:34 [INFO] [stdout] | [INFO] [stdout] 7795 | 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] 7756 | 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.rs:7808:6 [INFO] [stdout] | [INFO] [stdout] 7808 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7801 | 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.rs:7831:6 [INFO] [stdout] | [INFO] [stdout] 7831 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7824 | 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.rs:7867:13 [INFO] [stdout] | [INFO] [stdout] 7867 | 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] 7859 | 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.rs:7871:13 [INFO] [stdout] | [INFO] [stdout] 7871 | 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] 7859 | 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.rs:7890:21 [INFO] [stdout] | [INFO] [stdout] 7890 | 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] 7882 | fn inspect_recovery_ledger_simple_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:7918:34 [INFO] [stdout] | [INFO] [stdout] 7918 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7926:31 [INFO] [stdout] | [INFO] [stdout] 7926 | 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] 7899 | 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.rs:7930:62 [INFO] [stdout] | [INFO] [stdout] 7930 | 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] 7899 | 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.rs:7940:21 [INFO] [stdout] | [INFO] [stdout] 7940 | 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] 7899 | 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.rs:7941:20 [INFO] [stdout] | [INFO] [stdout] 7941 | 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] 7899 | 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.rs:7942:21 [INFO] [stdout] | [INFO] [stdout] 7942 | 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] 7899 | 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.rs:7947:21 [INFO] [stdout] | [INFO] [stdout] 7947 | 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] 7899 | 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.rs:7948:20 [INFO] [stdout] | [INFO] [stdout] 7948 | 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] 7899 | 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.rs:7949:21 [INFO] [stdout] | [INFO] [stdout] 7949 | 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] 7899 | 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.rs:7951:34 [INFO] [stdout] | [INFO] [stdout] 7951 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:7975:34 [INFO] [stdout] | [INFO] [stdout] 7975 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:7983:31 [INFO] [stdout] | [INFO] [stdout] 7983 | 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] 7956 | 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.rs:7991:24 [INFO] [stdout] | [INFO] [stdout] 7991 | 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] 7956 | 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.rs:7992:62 [INFO] [stdout] | [INFO] [stdout] 7992 | 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] 7956 | 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.rs:7996:24 [INFO] [stdout] | [INFO] [stdout] 7996 | 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] 7956 | 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.rs:7997:20 [INFO] [stdout] | [INFO] [stdout] 7997 | assert!(Payee::::get(&333).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] 7956 | 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.rs:7999:21 [INFO] [stdout] | [INFO] [stdout] 7999 | 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] 7956 | 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.rs:8003:21 [INFO] [stdout] | [INFO] [stdout] 8003 | 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] 7956 | 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.rs:8004:20 [INFO] [stdout] | [INFO] [stdout] 8004 | 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] 7956 | 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.rs:8005:21 [INFO] [stdout] | [INFO] [stdout] 8005 | 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] 7956 | 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.rs:8007:34 [INFO] [stdout] | [INFO] [stdout] 8007 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:8030:34 [INFO] [stdout] | [INFO] [stdout] 8030 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:8063:34 [INFO] [stdout] | [INFO] [stdout] 8063 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:8069:37 [INFO] [stdout] | [INFO] [stdout] 8069 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:8098:31 [INFO] [stdout] | [INFO] [stdout] 8098 | 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] 8078 | 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.rs:8102:62 [INFO] [stdout] | [INFO] [stdout] 8102 | 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] 8078 | 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.rs:8107:34 [INFO] [stdout] | [INFO] [stdout] 8107 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:8117:13 [INFO] [stdout] | [INFO] [stdout] 8117 | 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] 8078 | 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.rs:8129:37 [INFO] [stdout] | [INFO] [stdout] 8129 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:8155:34 [INFO] [stdout] | [INFO] [stdout] 8155 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:8163:31 [INFO] [stdout] | [INFO] [stdout] 8163 | 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] 8138 | 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.rs:8169:62 [INFO] [stdout] | [INFO] [stdout] 8169 | 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] 8138 | 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.rs:8172:37 [INFO] [stdout] | [INFO] [stdout] 8172 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:8202:34 [INFO] [stdout] | [INFO] [stdout] 8202 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:8232:13 [INFO] [stdout] | [INFO] [stdout] 8232 | 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] 8181 | 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.rs:8246:30 [INFO] [stdout] | [INFO] [stdout] 8246 | 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] 8181 | 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.rs:8246:65 [INFO] [stdout] | [INFO] [stdout] 8246 | 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] 8181 | 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.rs:8247:30 [INFO] [stdout] | [INFO] [stdout] 8247 | 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] 8181 | 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.rs:8247:65 [INFO] [stdout] | [INFO] [stdout] 8247 | 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] 8181 | 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.rs:8255:37 [INFO] [stdout] | [INFO] [stdout] 8255 | 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] 7879 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(super::compute_total_payout(&I_NPOS, 0, 100_000u64, YEAR).1, 9_993); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(super::compute_total_payout(&I_NPOS, 0, 100_000u64, YEAR).0, 2_498); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(super::compute_total_payout(&I_NPOS, 5_000, 100_000u64, YEAR).0, 3_248); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, YEAR).0, 6_246); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(super::compute_total_payout(&I_NPOS, 40_000, 100_000u64, YEAR).0, 8_494); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, YEAR).0, 9_993); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(super::compute_total_payout(&I_NPOS, 60_000, 100_000u64, YEAR).0, 4_379); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, YEAR).0, 2_733); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(super::compute_total_payout(&I_NPOS, 95_000, 100_000u64, YEAR).0, 2_513); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(super::compute_total_payout(&I_NPOS, 100_000, 100_000u64, YEAR).0, 2_505); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, DAY).0, 17); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, DAY).0, 27); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, DAY).0, 7); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, SIX_HOURS).0, 4); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, SIX_HOURS).0, 7); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, SIX_HOURS).0, 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | &I_NPOS, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | let validator_index = match Session::validators().iter().position(|v| *v == stash) { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 82 | Session::disabled_validators().contains(&validator_index) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp` [INFO] [stdout] --> src/mock.rs:161:6 [INFO] [stdout] | [INFO] [stdout] 161 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | const THRESHOLDS: [sp_npos_elections::VoteWeight; 9] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_npos_elections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:202:38 [INFO] [stdout] | [INFO] [stdout] 202 | pub static BagThresholds: &'static [sp_npos_elections::VoteWeight] = &THRESHOLDS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_npos_elections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | type VoterBagsListInstance = pallet_bags_list::Instance1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:213:6 [INFO] [stdout] | [INFO] [stdout] 213 | impl pallet_bags_list::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:434:11 [INFO] [stdout] | [INFO] [stdout] 434 | let _ = pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | Session::on_initialize(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:571:2 [INFO] [stdout] | [INFO] [stdout] 571 | Staking::active_era().unwrap().index [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:575:2 [INFO] [stdout] | [INFO] [stdout] 575 | Staking::current_era().unwrap() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:579:10 [INFO] [stdout] | [INFO] [stdout] 579 | let _ = Balances::make_free_balance_be(&who, val); [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/mock.rs:580:13 [INFO] [stdout] | [INFO] [stdout] 580 | assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:580:27 [INFO] [stdout] | [INFO] [stdout] 580 | 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:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:585:31 [INFO] [stdout] | [INFO] [stdout] 585 | 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 `Session` [INFO] [stdout] --> src/mock.rs:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | assert_ok!(Session::set_keys( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:587:3 [INFO] [stdout] | [INFO] [stdout] 587 | RuntimeOrigin::signed(who), [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:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:595:31 [INFO] [stdout] | [INFO] [stdout] 595 | 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:610:13 [INFO] [stdout] | [INFO] [stdout] 610 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:610:31 [INFO] [stdout] | [INFO] [stdout] 610 | 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:619:2 [INFO] [stdout] | [INFO] [stdout] 619 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:622:3 [INFO] [stdout] | [INFO] [stdout] 622 | Session::on_initialize(b); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:626:4 [INFO] [stdout] | [INFO] [stdout] 626 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:641:3 [INFO] [stdout] | [INFO] [stdout] 641 | Session::current_index(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:644:3 [INFO] [stdout] | [INFO] [stdout] 644 | Session::current_index(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:651:22 [INFO] [stdout] | [INFO] [stdout] 651 | let current_index = Session::current_index(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:666:3 [INFO] [stdout] | [INFO] [stdout] 666 | Staking::eras_total_stake(active_era()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:676:3 [INFO] [stdout] | [INFO] [stdout] 676 | Staking::eras_total_stake(active_era()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:711:2 [INFO] [stdout] | [INFO] [stdout] 711 | Session::validators() [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:713:12 [INFO] [stdout] | [INFO] [stdout] 713 | .map(|s| Staking::bonded(&s).expect("no controller for validator")) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:728:12 [INFO] [stdout] | [INFO] [stdout] 728 | let _ = Staking::on_offence(offenders, slash_fraction, start_session); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 735 | if Staking::active_era().unwrap().index == era { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:736:11 [INFO] [stdout] | [INFO] [stdout] 736 | let _ = Staking::on_offence( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:739:4 [INFO] [stdout] | [INFO] [stdout] 739 | Staking::eras_start_session_index(era).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:753:12 [INFO] [stdout] | [INFO] [stdout] 753 | let now = Staking::active_era().unwrap().index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:760:21 [INFO] [stdout] | [INFO] [stdout] 760 | offender: (*who, Staking::eras_stakers(active_era(), who)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:776:71 [INFO] [stdout] | [INFO] [stdout] 776 | for validator_controller in validators_with_reward.iter().filter_map(Staking::bonded) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:779:15 [INFO] [stdout] | [INFO] [stdout] 779 | assert_ok!(Staking::payout_stakers_by_page( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:780:5 [INFO] [stdout] | [INFO] [stdout] 780 | 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 `Balances` [INFO] [stdout] --> src/mock.rs:815:2 [INFO] [stdout] | [INFO] [stdout] 815 | Balances::set_lock(crate::STAKING_ID, stash, new_total, WithdrawReasons::all()); [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/mock.rs:824:10 [INFO] [stdout] | [INFO] [stdout] 824 | let _ = Balances::make_free_balance_be(&333, 2000); [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/mock.rs:825:10 [INFO] [stdout] | [INFO] [stdout] 825 | let _ = Balances::make_free_balance_be(&444, 2000); [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/mock.rs:826:10 [INFO] [stdout] | [INFO] [stdout] 826 | let _ = Balances::make_free_balance_be(&555, 2000); [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/mock.rs:827:10 [INFO] [stdout] | [INFO] [stdout] 827 | let _ = Balances::make_free_balance_be(&777, 2000); [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/mock.rs:829:13 [INFO] [stdout] | [INFO] [stdout] 829 | assert_ok!(Staking::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:829:27 [INFO] [stdout] | [INFO] [stdout] 829 | 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:830:13 [INFO] [stdout] | [INFO] [stdout] 830 | assert_ok!(Staking::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:830:27 [INFO] [stdout] | [INFO] [stdout] 830 | 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:831:13 [INFO] [stdout] | [INFO] [stdout] 831 | assert_ok!(Staking::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:831:27 [INFO] [stdout] | [INFO] [stdout] 831 | 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:905:26 [INFO] [stdout] | [INFO] [stdout] 905 | .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:921:26 [INFO] [stdout] | [INFO] [stdout] 921 | .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 `Balances` [INFO] [stdout] --> src/mock.rs:929:3 [INFO] [stdout] | [INFO] [stdout] 929 | (Balances::free_balance(who), Balances::reserved_balance(who)) [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/mock.rs:929:32 [INFO] [stdout] | [INFO] [stdout] 929 | (Balances::free_balance(who), Balances::reserved_balance(who)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | assert_ok!(Staking::set_staking_configs( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | assert_storage_noop!(assert_ok!(Staking::set_staking_configs( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | assert_ok!(Staking::set_staking_configs( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | Balances::transfer_allow_death(RuntimeOrigin::signed(11), 1, 10), [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.rs:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | Balances::transfer_allow_death(RuntimeOrigin::signed(11), 1, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | assert_noop!(Staking::force_unstake(RuntimeOrigin::signed(11), 11, 2), BadOrigin); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:114:39 [INFO] [stdout] | [INFO] [stdout] 114 | assert_noop!(Staking::force_unstake(RuntimeOrigin::signed(11), 11, 2), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | Staking::force_unstake(RuntimeOrigin::root(), 11, 0), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | Staking::force_unstake(RuntimeOrigin::root(), 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.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | assert_ok!(Staking::force_unstake(RuntimeOrigin::root(), 11, 2)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | assert_ok!(Staking::force_unstake(RuntimeOrigin::root(), 11, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | assert_eq!(Staking::bonded(&11), None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(11), 1, 10)); [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.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(11), 1, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | assert_noop!(Staking::kill_stash(&12, 0), Error::::NotStash); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | assert_noop!(Staking::kill_stash(&11, 0), Error::::IncorrectSlashingSpans); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | assert_ok!(Staking::kill_stash(&11, 2)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(Staking::bonded(&11), None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(Staking::bonded(&21), Some(21)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(Staking::bonded(&1), None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | assert!(Staking::ledger(1.into()).is_err()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | Staking::ledger(101.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | assert_eq!(Staking::nominators(101).unwrap().targets, vec![11, 21]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | Staking::eras_stakers(active_era(), &21), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | assert_eq!(Staking::eras_total_stake(active_era()), 2500); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:226:14 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(Staking::validator_count(), 2); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(Balances::free_balance(10), 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 `Balances` [INFO] [stdout] --> src/tests.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | assert_eq!(Balances::free_balance(10), 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 `Staking` [INFO] [stdout] --> src/tests.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(Staking::force_era(), Forcing::NotForcing); [WARN] too many lines in the log, truncating it