[INFO] fetching crate pallet-staking-async 0.4.2... [INFO] testing pallet-staking-async-0.4.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate pallet-staking-async 0.4.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate pallet-staking-async 0.4.2 [INFO] finished tweaking crates.io crate pallet-staking-async 0.4.2 [INFO] tweaked toml for crates.io crate pallet-staking-async 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-staking-async 0.4.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-staking-async 0.4.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b51be8382f503bd996e2550aa4cb0ed30241631f9d768cc98e8406b513a73e68 [INFO] running `Command { std: "docker" "start" "-a" "b51be8382f503bd996e2550aa4cb0ed30241631f9d768cc98e8406b513a73e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b51be8382f503bd996e2550aa4cb0ed30241631f9d768cc98e8406b513a73e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51be8382f503bd996e2550aa4cb0ed30241631f9d768cc98e8406b513a73e68", kill_on_drop: false }` [INFO] [stdout] b51be8382f503bd996e2550aa4cb0ed30241631f9d768cc98e8406b513a73e68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60542fde7742659b3d33a3aa67e6118a5d3e61f23d1e757f5fc5f223d9a81de3 [INFO] running `Command { std: "docker" "start" "-a" "60542fde7742659b3d33a3aa67e6118a5d3e61f23d1e757f5fc5f223d9a81de3", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling array-bytes v6.2.2 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling schnellru v0.2.3 [INFO] [stderr] Compiling memory-db v0.34.0 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling xcm-procedural v11.0.2 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling frame-election-provider-solution-type v16.1.1 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.17.7 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling sp-tracing v18.0.0 [INFO] [stderr] Compiling sp-wasm-interface v23.0.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v28.0.0 [INFO] [stderr] Compiling frame-metadata v23.0.0 [INFO] [stderr] Compiling sp-weights v33.0.0 [INFO] [stderr] Compiling sp-metadata-ir v0.12.0 [INFO] [stderr] Compiling sp-runtime-interface v31.0.0 [INFO] [stderr] Compiling sp-core v38.0.0 [INFO] [stderr] Compiling sp-trie v41.0.0 [INFO] [stderr] Compiling sp-keystore v0.44.0 [INFO] [stderr] Compiling sp-state-machine v0.47.0 [INFO] [stderr] Compiling sp-application-crypto v42.0.0 [INFO] [stderr] Compiling sp-runtime v43.0.0 [INFO] [stderr] Compiling sp-version v41.0.0 [INFO] [stderr] Compiling sp-staking v40.0.0 [INFO] [stderr] Compiling sp-inherents v38.0.0 [INFO] [stderr] Compiling sp-npos-elections v38.0.0 [INFO] [stderr] Compiling sp-api v38.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.19.0 [INFO] [stderr] Compiling frame-support v42.0.0 [INFO] [stderr] Compiling frame-system v42.0.0 [INFO] [stderr] Compiling staging-xcm v18.0.0 [INFO] [stderr] Compiling frame-election-provider-support v42.0.0 [INFO] [stderr] Compiling pallet-staking-async-rc-client v0.3.0 [INFO] [stderr] Compiling pallet-staking-async v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "60542fde7742659b3d33a3aa67e6118a5d3e61f23d1e757f5fc5f223d9a81de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60542fde7742659b3d33a3aa67e6118a5d3e61f23d1e757f5fc5f223d9a81de3", kill_on_drop: false }` [INFO] [stdout] 60542fde7742659b3d33a3aa67e6118a5d3e61f23d1e757f5fc5f223d9a81de3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76f12f9e712382d4a06b27404341abc257e8e1c58bf21eeac252eb9d8f6200a0 [INFO] running `Command { std: "docker" "start" "-a" "76f12f9e712382d4a06b27404341abc257e8e1c58bf21eeac252eb9d8f6200a0", kill_on_drop: false }` [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling sp-runtime-interface v31.0.0 [INFO] [stderr] Compiling sp-core v38.0.0 [INFO] [stderr] Compiling sp-trie v41.0.0 [INFO] [stderr] Compiling sp-keystore v0.44.0 [INFO] [stderr] Compiling sp-state-machine v0.47.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling sp-application-crypto v42.0.0 [INFO] [stderr] Compiling sp-runtime v43.0.0 [INFO] [stderr] Compiling sp-version v41.0.0 [INFO] [stderr] Compiling sp-staking v40.0.0 [INFO] [stderr] Compiling sp-inherents v38.0.0 [INFO] [stderr] Compiling sp-npos-elections v38.0.0 [INFO] [stderr] Compiling sp-api v38.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.19.0 [INFO] [stderr] Compiling frame-support v42.0.0 [INFO] [stderr] Compiling frame-system v42.0.0 [INFO] [stderr] Compiling staging-xcm v18.0.0 [INFO] [stderr] Compiling frame-election-provider-support v42.0.0 [INFO] [stderr] Compiling pallet-staking-async-rc-client v0.3.0 [INFO] [stderr] Compiling pallet-staking-async v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `frame_benchmarking` [INFO] [stdout] --> src/testing_utils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use frame_benchmarking::account; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_benchmarking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_benchmarking`, use `cargo add frame_benchmarking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use sp_npos_elections::BalancingConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_npos_elections`, use `cargo add sp_npos_elections` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `substrate_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `substrate_test_utils`, use `cargo add substrate_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_npos_elections` [INFO] [stdout] --> src/tests/election_provider.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use sp_npos_elections::Support; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_npos_elections`, use `cargo add sp_npos_elections` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests/election_provider.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `substrate_test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `substrate_test_utils`, use `cargo add substrate_test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::mock::Staking`, `crate::mock::Test` [INFO] [stdout] --> src/election_size_tracker.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | mock::{AccountId, Staking, Test}, [INFO] [stdout] | ^^^^^^^ ^^^^ no `Test` in `mock` [INFO] [stdout] | | [INFO] [stdout] | no `Staking` in `mock` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] crate::HoldReason::Staking [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | VoterBagsList: pallet_bags_list::, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:760:3 [INFO] [stdout] | [INFO] [stdout] 760 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:770:3 [INFO] [stdout] | [INFO] [stdout] 770 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/bonding.rs:923:15 [INFO] [stdout] | [INFO] [stdout] 923 | assert_eq!(pallet_balances::Holds::::get(&1)[0].amount, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/bonding.rs:943:15 [INFO] [stdout] | [INFO] [stdout] 943 | assert_eq!(pallet_balances::Holds::::get(&1)[0].amount, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/bonding.rs:950:15 [INFO] [stdout] | [INFO] [stdout] 950 | assert_eq!(pallet_balances::Holds::::get(&1).len(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:738:16 [INFO] [stdout] | [INFO] [stdout] 738 | assert_eq!(pallet_bags_list::Lock::::get(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:748:16 [INFO] [stdout] | [INFO] [stdout] 748 | assert_eq!(pallet_bags_list::Lock::::get(), Some(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:761:16 [INFO] [stdout] | [INFO] [stdout] 761 | assert_eq!(pallet_bags_list::Lock::::get(), Some(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:772:16 [INFO] [stdout] | [INFO] [stdout] 772 | assert_eq!(pallet_bags_list::Lock::::get(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:780:16 [INFO] [stdout] | [INFO] [stdout] 780 | assert_eq!(pallet_bags_list::Lock::::get(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:804:6 [INFO] [stdout] | [INFO] [stdout] 804 | pallet_bags_list::ListNodes::::get(51) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:812:6 [INFO] [stdout] | [INFO] [stdout] 812 | pallet_bags_list::ListNodes::::get(11) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | assert_eq!(pallet_bags_list::Lock::::get(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:829:16 [INFO] [stdout] | [INFO] [stdout] 829 | assert_eq!(pallet_bags_list::Lock::::get(), Some(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:837:7 [INFO] [stdout] | [INFO] [stdout] 837 | pallet_bags_list::ListNodes::::get(51) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/tests/election_data_provider.rs:851:7 [INFO] [stdout] | [INFO] [stdout] 851 | pallet_bags_list::ListNodes::::get(11) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:897:35 [INFO] [stdout] | [INFO] [stdout] 897 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:921:11 [INFO] [stdout] | [INFO] [stdout] 921 | assert!(pallet_balances::TotalIssuance::::get() > pre_payout_total_issuance); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:922:11 [INFO] [stdout] | [INFO] [stdout] 922 | assert!(pallet_balances::TotalIssuance::::get() < pre_payout_total_issuance + payout); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:947:4 [INFO] [stdout] | [INFO] [stdout] 947 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:969:36 [INFO] [stdout] | [INFO] [stdout] 969 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:975:5 [INFO] [stdout] | [INFO] [stdout] 975 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1096:35 [INFO] [stdout] | [INFO] [stdout] 1096 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1111:11 [INFO] [stdout] | [INFO] [stdout] 1111 | assert!(pallet_balances::TotalIssuance::::get() > pre_payout_total_issuance); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1112:11 [INFO] [stdout] | [INFO] [stdout] 1112 | assert!(pallet_balances::TotalIssuance::::get() < pre_payout_total_issuance + payout); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1131:4 [INFO] [stdout] | [INFO] [stdout] 1131 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1154:36 [INFO] [stdout] | [INFO] [stdout] 1154 | let pre_payout_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/payout_stakers.rs:1160:5 [INFO] [stdout] | [INFO] [stdout] 1160 | pallet_balances::TotalIssuance::::get(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) type T = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) type Runtime = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 100 | impl frame_system::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | impl OnUnbalanced> for RewardRemainderMock { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 117 | impl OnUnbalanced> for RewardRemainderMock { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | fn on_nonzero_unbalanced(amount: NegativeImbalanceOf) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 117 | impl OnUnbalanced> for RewardRemainderMock { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 134 | impl pallet_bags_list::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | type ScoreProvider = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 138 - type ScoreProvider = Staking; [INFO] [stdout] 138 + type ScoreProvider = crate::HoldReason; [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 138 - type ScoreProvider = Staking; [INFO] [stdout] 138 + type ScoreProvider = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | type System = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 165 - type DataProvider = Staking; [INFO] [stdout] 165 + type DataProvider = crate::HoldReason; [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 165 - type DataProvider = Staking; [INFO] [stdout] 165 + type DataProvider = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 181 - type DataProvider = Staking; [INFO] [stdout] 181 + type DataProvider = crate::HoldReason; [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 181 - type DataProvider = Staking; [INFO] [stdout] 181 + type DataProvider = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | StartReceived::set(Some(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let now = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:207:39 [INFO] [stdout] | [INFO] [stdout] 207 | impl OnUnbalanced> for MockReward { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 207 | impl OnUnbalanced> for MockReward { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | fn on_unbalanced(_: PositiveImbalanceOf) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 207 | impl OnUnbalanced> for MockReward { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | (BalanceOf, BTreeMap>) = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:215:50 [INFO] [stdout] | [INFO] [stdout] 215 | (BalanceOf, BTreeMap>) = [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:217:58 [INFO] [stdout] | [INFO] [stdout] 217 | pub static SlashObserver: BTreeMap> = BTreeMap::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | while System::block_number() < block { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | let now = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | System::run_to_block::(now + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AllPalletsWithSystem` in this scope [INFO] [stdout] --> src/mock.rs:272:27 [INFO] [stdout] | [INFO] [stdout] 272 | System::run_to_block::(now + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 250 | impl Session { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | let now = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:317:7 [INFO] [stdout] | [INFO] [stdout] 317 | ::on_relay_session_report( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 317 - ::on_relay_session_report( [INFO] [stdout] 317 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 317 - ::on_relay_session_report( [INFO] [stdout] 317 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:331:7 [INFO] [stdout] | [INFO] [stdout] 331 | ::on_relay_session_report( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 331 - ::on_relay_session_report( [INFO] [stdout] 331 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 331 - ::on_relay_session_report( [INFO] [stdout] 331 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:337:6 [INFO] [stdout] | [INFO] [stdout] 337 | ::on_relay_session_report( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 337 - ::on_relay_session_report( [INFO] [stdout] 337 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 337 - ::on_relay_session_report( [INFO] [stdout] 337 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | let now = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 245 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:420:40 [INFO] [stdout] | [INFO] [stdout] 420 | impl crate::pallet::pallet::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:421:27 [INFO] [stdout] | [INFO] [stdout] 421 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 421 | type RuntimeHoldReason = Self::RuntimeHoldReason; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) type Balance = ::Balance; [INFO] [stdout] | ------------------------------------------------------------------------ similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 422 | type OldCurrency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:423:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) type Balance = ::Balance; [INFO] [stdout] | ------------------------------------------------------------------------ similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 423 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterBagsList` in this scope [INFO] [stdout] --> src/mock.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | type VoterList = VoterBagsList; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:480:40 [INFO] [stdout] | [INFO] [stdout] 480 | invulnerables: BoundedVec::MaxInvulnerables>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 477 | pub struct ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/mock.rs:626:3 [INFO] [stdout] | [INFO] [stdout] 626 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 626 - sp_tracing::try_init_simple(); [INFO] [stdout] 626 + 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:627:51 [INFO] [stdout] | [INFO] [stdout] 627 | 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] 510 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:684:44 [INFO] [stdout] | [INFO] [stdout] 684 | let _ = pallet_balances::GenesisConfig:: { balances, ..Default::default() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 510 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:687:49 [INFO] [stdout] | [INFO] [stdout] 687 | let _ = pallet_staking_async::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 510 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/mock.rs:712:3 [INFO] [stdout] | [INFO] [stdout] 712 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 712 - sp_tracing::try_init_simple(); [INFO] [stdout] 712 + 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:717:27 [INFO] [stdout] | [INFO] [stdout] 717 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:724:36 [INFO] [stdout] | [INFO] [stdout] 724 | pallet_staking_async::ActiveEra::::get().unwrap().index [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 723 | pub(crate) fn active_era() -> EraIndex { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:728:37 [INFO] [stdout] | [INFO] [stdout] 728 | pallet_staking_async::CurrentEra::::get().unwrap() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 727 | pub(crate) fn current_era() -> EraIndex { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:732:41 [INFO] [stdout] | [INFO] [stdout] 732 | let _ = asset::set_stakeable_balance::(&who, val); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 731 | pub(crate) fn bond(who: AccountId, val: Balance) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:753:14 [INFO] [stdout] | [INFO] [stdout] 753 | assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 753 - assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] 753 + assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 753 - assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] 753 + assert_ok!(::virtual_bond(&who, val, &payee)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:758:25 [INFO] [stdout] | [INFO] [stdout] 758 | 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:759:42 [INFO] [stdout] | [INFO] [stdout] 759 | pallet_staking_async::ErasTotalStake::::get(active_era()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 757 | pub(crate) fn validator_payout_for(duration: u64) -> Balance { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:760:36 [INFO] [stdout] | [INFO] [stdout] 760 | 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] 757 | pub(crate) fn validator_payout_for(duration: u64) -> Balance { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:768:24 [INFO] [stdout] | [INFO] [stdout] 768 | 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:769:42 [INFO] [stdout] | [INFO] [stdout] 769 | pallet_staking_async::ErasTotalStake::::get(active_era()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 767 | pub(crate) fn total_payout_for(duration: u64) -> Balance { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:770:36 [INFO] [stdout] | [INFO] [stdout] 770 | 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] 767 | pub(crate) fn total_payout_for(duration: u64) -> Balance { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:791:10 [INFO] [stdout] | [INFO] [stdout] 791 | >::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] 789 | pub(crate) fn reward_all_elected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:806:11 [INFO] [stdout] | [INFO] [stdout] 806 | let _ = ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 806 - let _ = ::on_new_offences( [INFO] [stdout] 806 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 806 - let _ = ::on_new_offences( [INFO] [stdout] 806 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:817:11 [INFO] [stdout] | [INFO] [stdout] 817 | let _ = ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 817 - let _ = ::on_new_offences( [INFO] [stdout] 817 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 817 - let _ = ::on_new_offences( [INFO] [stdout] 817 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:824:11 [INFO] [stdout] | [INFO] [stdout] 824 | let _ = ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 824 - let _ = ::on_new_offences( [INFO] [stdout] 824 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 824 - let _ = ::on_new_offences( [INFO] [stdout] 824 + let _ = ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:836:50 [INFO] [stdout] | [INFO] [stdout] 836 | 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] 835 | 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:844:24 [INFO] [stdout] | [INFO] [stdout] 844 | 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] 835 | 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:845:25 [INFO] [stdout] | [INFO] [stdout] 845 | for page in 0..Eras::::exposure_page_count(era, &ledger.stash) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 835 | 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:857:10 [INFO] [stdout] | [INFO] [stdout] 857 | >::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] 856 | pub(crate) fn bond_controller_stash(controller: AccountId, stash: AccountId) -> Result<(), String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:858:10 [INFO] [stdout] | [INFO] [stdout] 858 | >::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] 856 | pub(crate) fn bond_controller_stash(controller: AccountId, stash: AccountId) -> Result<(), String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:860:10 [INFO] [stdout] | [INFO] [stdout] 860 | >::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] 856 | 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:861:10 [INFO] [stdout] | [INFO] [stdout] 861 | >::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] 856 | 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:861:53 [INFO] [stdout] | [INFO] [stdout] 861 | >::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] 856 | 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:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | >::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] 856 | 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:869:28 [INFO] [stdout] | [INFO] [stdout] 869 | 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] 868 | pub(crate) fn set_controller_no_checks(stash: &AccountId) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:870:24 [INFO] [stdout] | [INFO] [stdout] 870 | 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] 868 | pub(crate) fn set_controller_no_checks(stash: &AccountId) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:872:11 [INFO] [stdout] | [INFO] [stdout] 872 | 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] 868 | 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:873:11 [INFO] [stdout] | [INFO] [stdout] 873 | 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] 868 | 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:874:11 [INFO] [stdout] | [INFO] [stdout] 874 | 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] 868 | 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:879:28 [INFO] [stdout] | [INFO] [stdout] 879 | 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] 878 | 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:880:28 [INFO] [stdout] | [INFO] [stdout] 880 | 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] 878 | 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:883:32 [INFO] [stdout] | [INFO] [stdout] 883 | let _ = asset::update_stake::(stash, new_total); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 878 | 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:886:11 [INFO] [stdout] | [INFO] [stdout] 886 | 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] 878 | 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:890:30 [INFO] [stdout] | [INFO] [stdout] 890 | 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] 889 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:892:41 [INFO] [stdout] | [INFO] [stdout] 892 | let _ = asset::set_stakeable_balance::(&333, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 889 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:893:41 [INFO] [stdout] | [INFO] [stdout] 893 | let _ = asset::set_stakeable_balance::(&444, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 889 | 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:894:41 [INFO] [stdout] | [INFO] [stdout] 894 | let _ = asset::set_stakeable_balance::(&555, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 889 | 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:895:41 [INFO] [stdout] | [INFO] [stdout] 895 | let _ = asset::set_stakeable_balance::(&777, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 889 | 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:903:25 [INFO] [stdout] | [INFO] [stdout] 903 | .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] 889 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:910:28 [INFO] [stdout] | [INFO] [stdout] 910 | let ledger_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] 889 | 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:911:28 [INFO] [stdout] | [INFO] [stdout] 911 | 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] 889 | 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:912:28 [INFO] [stdout] | [INFO] [stdout] 912 | 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] 889 | 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:915:11 [INFO] [stdout] | [INFO] [stdout] 915 | 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] 889 | 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:916:11 [INFO] [stdout] | [INFO] [stdout] 916 | 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] 889 | 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:919:11 [INFO] [stdout] | [INFO] [stdout] 919 | 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] 889 | 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:920:11 [INFO] [stdout] | [INFO] [stdout] 920 | 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] 889 | 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:923:11 [INFO] [stdout] | [INFO] [stdout] 923 | 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] 889 | 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:924:11 [INFO] [stdout] | [INFO] [stdout] 924 | 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] 889 | 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:927:11 [INFO] [stdout] | [INFO] [stdout] 927 | 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] 889 | 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:931:22 [INFO] [stdout] | [INFO] [stdout] 931 | 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] 889 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:934:22 [INFO] [stdout] | [INFO] [stdout] 934 | assert_eq!(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] 889 | 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:935:29 [INFO] [stdout] | [INFO] [stdout] 935 | 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] 889 | 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:936:22 [INFO] [stdout] | [INFO] [stdout] 936 | 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] 889 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:939:22 [INFO] [stdout] | [INFO] [stdout] 939 | assert_eq!(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] 889 | 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:940:29 [INFO] [stdout] | [INFO] [stdout] 940 | 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] 889 | 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:941:22 [INFO] [stdout] | [INFO] [stdout] 941 | 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] 889 | pub(crate) fn setup_double_bonded_ledgers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:944:22 [INFO] [stdout] | [INFO] [stdout] 944 | assert_eq!(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] 889 | 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:945:29 [INFO] [stdout] | [INFO] [stdout] 945 | 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] 889 | 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:946:22 [INFO] [stdout] | [INFO] [stdout] 946 | 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] 889 | 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:969:52 [INFO] [stdout] | [INFO] [stdout] 969 | 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] 969 | 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:970:2 [INFO] [stdout] | [INFO] [stdout] 970 | 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:981:68 [INFO] [stdout] | [INFO] [stdout] 981 | 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] 981 | 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:982:20 [INFO] [stdout] | [INFO] [stdout] 982 | let all: Vec<_> = System::events() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:995:4 [INFO] [stdout] | [INFO] [stdout] 995 | <::ElectionProvider as ElectionProvider>::MaxWinnersPerPage, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 991 | pub(crate) fn to_bounded_supports( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:996:4 [INFO] [stdout] | [INFO] [stdout] 996 | <::ElectionProvider as ElectionProvider>::MaxBackersPerWinner, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 991 | pub(crate) fn to_bounded_supports( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/bonding.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | pallet_balances::Error::::InsufficientBalance [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 20 + use crate::tests::alloc::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 20 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 20 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 14 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - pallet_balances::Error::::InsufficientBalance [INFO] [stdout] 85 + Error::::InsufficientBalance [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | Error::::InsufficientBond, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 292 | fn cannot_bond_extra_to_lower_than_ed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:840:71 [INFO] [stdout] | [INFO] [stdout] 840 | assert_noop!(Staking::unbond(RuntimeOrigin::signed(3), 20), Error::::NoMoreChunks); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 799 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:846:71 [INFO] [stdout] | [INFO] [stdout] 846 | assert_noop!(Staking::unbond(RuntimeOrigin::signed(3), 20), Error::::NotController); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 799 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:847:72 [INFO] [stdout] | [INFO] [stdout] 847 | assert_noop!(Staking::rebond(RuntimeOrigin::signed(3), 100), Error::::NotController); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 799 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 919 | Error::::InsufficientBond, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:923:40 [INFO] [stdout] | [INFO] [stdout] 923 | assert_eq!(pallet_balances::Holds::::get(&1)[0].amount, 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:943:40 [INFO] [stdout] | [INFO] [stdout] 943 | assert_eq!(pallet_balances::Holds::::get(&1)[0].amount, 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:950:40 [INFO] [stdout] | [INFO] [stdout] 950 | assert_eq!(pallet_balances::Holds::::get(&1).len(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 907 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1027:12 [INFO] [stdout] | [INFO] [stdout] 1027 | Error::::Restricted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn restricted_accounts_can_only_withdraw() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1035:12 [INFO] [stdout] | [INFO] [stdout] 1035 | Error::::Restricted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn restricted_accounts_can_only_withdraw() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1043:75 [INFO] [stdout] | [INFO] [stdout] 1043 | assert_noop!(Staking::rebond(RuntimeOrigin::signed(alice), 50), Error::::Restricted); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn restricted_accounts_can_only_withdraw() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1054:12 [INFO] [stdout] | [INFO] [stdout] 1054 | Error::::Restricted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn restricted_accounts_can_only_withdraw() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1097:13 [INFO] [stdout] | [INFO] [stdout] 1097 | Error::::NoUnlockChunk [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1081 | fn rebond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1272:43 [INFO] [stdout] | [INFO] [stdout] 1272 | let _ = asset::set_stakeable_balance::(&11, 1000000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1267 | fn rebond_emits_right_value_in_event() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1358:14 [INFO] [stdout] | [INFO] [stdout] 1358 | Error::::InsufficientBond [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1325 | fn cannot_rebond_to_lower_than_ed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1376:32 [INFO] [stdout] | [INFO] [stdout] 1376 | assert_eq!(asset::staked::(&11), 10 * 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1379:21 [INFO] [stdout] | [INFO] [stdout] 1379 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1380:21 [INFO] [stdout] | [INFO] [stdout] 1380 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1381:25 [INFO] [stdout] | [INFO] [stdout] 1381 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1382:20 [INFO] [stdout] | [INFO] [stdout] 1382 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1387:14 [INFO] [stdout] | [INFO] [stdout] 1387 | Error::::FundedTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1396:14 [INFO] [stdout] | [INFO] [stdout] 1396 | Ledger::::insert(11, StakingLedger::::new(11, 1499)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1396:48 [INFO] [stdout] | [INFO] [stdout] 1396 | Ledger::::insert(11, StakingLedger::::new(11, 1499)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1401:14 [INFO] [stdout] | [INFO] [stdout] 1401 | Error::::FundedTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1405:14 [INFO] [stdout] | [INFO] [stdout] 1405 | Ledger::::insert(11, StakingLedger::::new(11, 999)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1405:48 [INFO] [stdout] | [INFO] [stdout] 1405 | Ledger::::insert(11, StakingLedger::::new(11, 999)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1411:22 [INFO] [stdout] | [INFO] [stdout] 1411 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1412:22 [INFO] [stdout] | [INFO] [stdout] 1412 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1413:26 [INFO] [stdout] | [INFO] [stdout] 1413 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1414:21 [INFO] [stdout] | [INFO] [stdout] 1414 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1416:32 [INFO] [stdout] | [INFO] [stdout] 1416 | assert_eq!(asset::staked::(&11), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1368 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1427:32 [INFO] [stdout] | [INFO] [stdout] 1427 | assert_eq!(asset::staked::(&11), 10 * 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1430:21 [INFO] [stdout] | [INFO] [stdout] 1430 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1431:21 [INFO] [stdout] | [INFO] [stdout] 1431 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1432:25 [INFO] [stdout] | [INFO] [stdout] 1432 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1433:20 [INFO] [stdout] | [INFO] [stdout] 1433 | assert!(>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1438:14 [INFO] [stdout] | [INFO] [stdout] 1438 | Error::::FundedTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1443:14 [INFO] [stdout] | [INFO] [stdout] 1443 | Ledger::::insert(11, StakingLedger::::new(11, 0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1443:48 [INFO] [stdout] | [INFO] [stdout] 1443 | Ledger::::insert(11, StakingLedger::::new(11, 0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1449:22 [INFO] [stdout] | [INFO] [stdout] 1449 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1450:22 [INFO] [stdout] | [INFO] [stdout] 1450 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1451:26 [INFO] [stdout] | [INFO] [stdout] 1451 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1452:21 [INFO] [stdout] | [INFO] [stdout] 1452 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1454:32 [INFO] [stdout] | [INFO] [stdout] 1454 | assert_eq!(asset::staked::(&11), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1421 | fn reap_stash_works_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1466:17 [INFO] [stdout] | [INFO] [stdout] 1466 | >::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1462 | fn duplicate_nominations_stripped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1492:17 [INFO] [stdout] | [INFO] [stdout] 1492 | >::iter().map(|(v, _)| v).collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1488 | fn nominating_non_validators_is_not_ok() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1504:13 [INFO] [stdout] | [INFO] [stdout] 1504 | Error::::BadTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1488 | fn nominating_non_validators_is_not_ok() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1508:13 [INFO] [stdout] | [INFO] [stdout] 1508 | Error::::BadTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1488 | fn nominating_non_validators_is_not_ok() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1526:28 [INFO] [stdout] | [INFO] [stdout] 1526 | assert_eq!(Nominators::::get(&101).unwrap().targets, vec![11]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1514 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1532:25 [INFO] [stdout] | [INFO] [stdout] 1532 | assert!(Nominators::::get(&101).unwrap().targets.is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1514 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1537:13 [INFO] [stdout] | [INFO] [stdout] 1537 | Error::::BadTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1514 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1557:14 [INFO] [stdout] | [INFO] [stdout] 1557 | Error::::InsufficientBond [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1563:14 [INFO] [stdout] | [INFO] [stdout] 1563 | Error::::InsufficientBond, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1575:14 [INFO] [stdout] | [INFO] [stdout] 1575 | Error::::InsufficientBond [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1583:14 [INFO] [stdout] | [INFO] [stdout] 1583 | Error::::InsufficientBond [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1547 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1600:43 [INFO] [stdout] | [INFO] [stdout] 1600 | let initial_validators = Validators::::count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1601:43 [INFO] [stdout] | [INFO] [stdout] 1601 | let initial_nominators = Nominators::::count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1605:37 [INFO] [stdout] | [INFO] [stdout] 1605 | asset::set_stakeable_balance::(&a, 100_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1606:37 [INFO] [stdout] | [INFO] [stdout] 1606 | asset::set_stakeable_balance::(&b, 100_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1665:14 [INFO] [stdout] | [INFO] [stdout] 1665 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1669:14 [INFO] [stdout] | [INFO] [stdout] 1669 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1687:14 [INFO] [stdout] | [INFO] [stdout] 1687 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1691:14 [INFO] [stdout] | [INFO] [stdout] 1691 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1709:14 [INFO] [stdout] | [INFO] [stdout] 1709 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1713:14 [INFO] [stdout] | [INFO] [stdout] 1713 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1731:14 [INFO] [stdout] | [INFO] [stdout] 1731 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1735:14 [INFO] [stdout] | [INFO] [stdout] 1735 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1753:14 [INFO] [stdout] | [INFO] [stdout] 1753 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1757:14 [INFO] [stdout] | [INFO] [stdout] 1757 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1775:14 [INFO] [stdout] | [INFO] [stdout] 1775 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1779:14 [INFO] [stdout] | [INFO] [stdout] 1779 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1797:14 [INFO] [stdout] | [INFO] [stdout] 1797 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1801:14 [INFO] [stdout] | [INFO] [stdout] 1801 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1817:29 [INFO] [stdout] | [INFO] [stdout] 1817 | assert_eq!(Nominators::::count(), 15 + initial_nominators); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1818:29 [INFO] [stdout] | [INFO] [stdout] 1818 | assert_eq!(Validators::::count(), 15 + initial_validators); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1832:29 [INFO] [stdout] | [INFO] [stdout] 1832 | assert_eq!(Nominators::::count(), 7); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1835:14 [INFO] [stdout] | [INFO] [stdout] 1835 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1838:29 [INFO] [stdout] | [INFO] [stdout] 1838 | assert_eq!(Validators::::count(), 9); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1593 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1846:39 [INFO] [stdout] | [INFO] [stdout] 1846 | let validator_count = Validators::::count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1848:39 [INFO] [stdout] | [INFO] [stdout] 1848 | let nominator_count = Nominators::::count(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1867:68 [INFO] [stdout] | [INFO] [stdout] 1867 | let (_, controller) = testing_utils::create_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1882:46 [INFO] [stdout] | [INFO] [stdout] 1882 | testing_utils::create_stash_controller::(1337, 100, RewardDestination::Stash) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1887:13 [INFO] [stdout] | [INFO] [stdout] 1887 | Error::::TooManyValidators, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1893:68 [INFO] [stdout] | [INFO] [stdout] 1893 | let (_, controller) = testing_utils::create_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1904:71 [INFO] [stdout] | [INFO] [stdout] 1904 | let (_, last_nominator) = testing_utils::create_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/bonding.rs:1912:13 [INFO] [stdout] | [INFO] [stdout] 1912 | Error::::TooManyNominators [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1844 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(MinNominatorBond::::get(), 1_500); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(MinValidatorBond::::get(), 2_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(MaxNominatorsCount::::get(), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(MaxValidatorsCount::::get(), Some(20)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(ChillThreshold::::get(), Some(Percent::from_percent(75))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(MinCommission::::get(), Perbill::from_percent(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(MaxStakedRewards::::get(), Some(Percent::from_percent(0))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(MinNominatorBond::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(MinValidatorBond::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(MaxNominatorsCount::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(MaxValidatorsCount::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(ChillThreshold::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(MinCommission::::get(), Perbill::from_percent(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/configs.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(MaxStakedRewards::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | let (stash, controller) = testing_utils::create_unique_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn change_controller_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | let raw_ledger = >::get(&stash).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn change_controller_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Error::::NotController, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn change_controller_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | Error::::AlreadyPaired [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 65 | fn change_controller_already_paired_once_stash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/controller.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | Error::::NotController, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 65 | fn change_controller_already_paired_once_stash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | assert_ok!(::electing_voters( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 30 - assert_ok!(::electing_voters( [INFO] [stdout] 30 + assert_ok!(::electing_voters( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 - assert_ok!(::electing_voters( [INFO] [stdout] 30 + assert_ok!(::electing_voters( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(MinimumActiveStake::::get(), 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | fn set_minimum_active_stake_is_correct() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 39 - assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] 39 + assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 - assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] 39 + assert_ok!(::electing_voters(bounds.voters, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(MinimumActiveStake::::get(), 50); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 22 | fn set_minimum_active_stake_is_correct() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(MinNominatorBond::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(::VoterList::count(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 57 - ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] 57 + ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 57 - ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] 57 + ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(MinimumActiveStake::::get(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | MinNominatorBond::::set(10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(MinNominatorBond::::get(), 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 69 - ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] 69 + ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 69 - ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] 69 + ::electing_voters(DataProviderBounds::default(), 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(MinimumActiveStake::::get(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | let voters = ::electing_voters( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 86 - let voters = ::electing_voters( [INFO] [stdout] 86 + let voters = ::electing_voters( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 86 - let voters = ::electing_voters( [INFO] [stdout] 86 + let voters = ::electing_voters( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(MinimumActiveStake::::get(), 500); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 79 | fn set_minimum_active_bond_corrupt_state() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let voters = ::electing_voters( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 102 - let voters = ::electing_voters( [INFO] [stdout] 102 + let voters = ::electing_voters( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 102 - let voters = ::electing_voters( [INFO] [stdout] 102 + let voters = ::electing_voters( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(MinimumActiveStake::::get(), 2_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 79 | fn set_minimum_active_bond_corrupt_state() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | assert!(>::iter().map(|(x, _)| x).all(|v| Staking::electing_voters( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 123 | fn voters_include_self_vote() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 151 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | Error::::TooManyTargets [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 274 | fn nomination_quota_checks_at_nominate_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:306:18 [INFO] [stdout] | [INFO] [stdout] 306 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:330:26 [INFO] [stdout] | [INFO] [stdout] 330 | for k in Nominators::::iter_keys() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:333:14 [INFO] [stdout] | [INFO] [stdout] 333 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 349 | for k in Nominators::::iter_keys() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:361:18 [INFO] [stdout] | [INFO] [stdout] 361 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | assert!(Nominators::::contains_key(71)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | assert!(Nominators::::get(71).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:381:25 [INFO] [stdout] | [INFO] [stdout] 381 | assert!(Nominators::::contains_key(101)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:388:18 [INFO] [stdout] | [INFO] [stdout] 388 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | Error::::CannotChillOther [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:400:25 [INFO] [stdout] | [INFO] [stdout] 400 | assert!(Nominators::::contains_key(71)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | assert!(Nominators::::contains_key(61)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:402:25 [INFO] [stdout] | [INFO] [stdout] 402 | assert!(Nominators::::get(71).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | assert!(Nominators::::get(61).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | assert!(Nominators::::contains_key(101)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | assert!(Nominators::::get(101).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:420:26 [INFO] [stdout] | [INFO] [stdout] 420 | assert!(!Nominators::::contains_key(101)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:421:25 [INFO] [stdout] | [INFO] [stdout] 421 | assert!(Nominators::::get(101).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 295 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:438:34 [INFO] [stdout] | [INFO] [stdout] 438 | assert_eq!(MaxNominationsOf::::get(), 16); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 426 | fn nomination_quota_max_changes_decoding() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:443:18 [INFO] [stdout] | [INFO] [stdout] 443 | Nominators::::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 426 | fn nomination_quota_max_changes_decoding() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:457:69 [INFO] [stdout] | [INFO] [stdout] 457 | assert_eq!(Staking::api_nominations_quota(10), MaxNominationsOf::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 455 | fn api_nominations_quota_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:458:70 [INFO] [stdout] | [INFO] [stdout] 458 | assert_eq!(Staking::api_nominations_quota(333), MaxNominationsOf::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 455 | fn api_nominations_quota_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:543:19 [INFO] [stdout] | [INFO] [stdout] 543 | (Nominators::::count() + Validators::::count()) as u32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 539 | fn re_nominate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:543:49 [INFO] [stdout] | [INFO] [stdout] 543 | (Nominators::::count() + Validators::::count()) as u32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 539 | fn re_nominate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:544:16 [INFO] [stdout] | [INFO] [stdout] 544 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:547:6 [INFO] [stdout] | [INFO] [stdout] 547 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:555:16 [INFO] [stdout] | [INFO] [stdout] 555 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:558:6 [INFO] [stdout] | [INFO] [stdout] 558 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:569:19 [INFO] [stdout] | [INFO] [stdout] 569 | (Nominators::::count() + Validators::::count()) as u32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 565 | fn re_validate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:569:49 [INFO] [stdout] | [INFO] [stdout] 569 | (Nominators::::count() + Validators::::count()) as u32; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 565 | fn re_validate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:570:16 [INFO] [stdout] | [INFO] [stdout] 570 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:572:16 [INFO] [stdout] | [INFO] [stdout] 572 | assert_eq!(::VoterList::iter().collect::>(), vec![11, 21, 31]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:578:16 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:580:16 [INFO] [stdout] | [INFO] [stdout] 580 | assert_eq!(::VoterList::iter().collect::>(), vec![11, 21, 31]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:608:7 [INFO] [stdout] | [INFO] [stdout] 608 | ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 608 - ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] 608 + ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 608 - ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] 608 + ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:616:7 [INFO] [stdout] | [INFO] [stdout] 616 | ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 616 - ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] 616 + ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 616 - ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] 616 + ::electable_targets(bounds, 0).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:656:7 [INFO] [stdout] | [INFO] [stdout] 656 | ::VoterList::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:659:21 [INFO] [stdout] | [INFO] [stdout] 659 | .map(|v| (v, ::VoterList::get_score(&v).unwrap())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:666:26 [INFO] [stdout] | [INFO] [stdout] 666 | let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 666 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 666 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 666 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 666 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:674:38 [INFO] [stdout] | [INFO] [stdout] 674 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 647 | fn voter_snapshot_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:676:26 [INFO] [stdout] | [INFO] [stdout] 676 | let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 676 - let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] 676 + let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 676 - let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] 676 + let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:686:38 [INFO] [stdout] | [INFO] [stdout] 686 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Consumed); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 647 | fn voter_snapshot_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:689:14 [INFO] [stdout] | [INFO] [stdout] 689 | assert!(::electing_voters(bounds, 1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 689 - assert!(::electing_voters(bounds, 1) [INFO] [stdout] 689 + assert!(::electing_voters(bounds, 1) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 689 - assert!(::electing_voters(bounds, 1) [INFO] [stdout] 689 + assert!(::electing_voters(bounds, 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:692:38 [INFO] [stdout] | [INFO] [stdout] 692 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Consumed); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 647 | fn voter_snapshot_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:694:14 [INFO] [stdout] | [INFO] [stdout] 694 | assert!(::electing_voters(bounds, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 694 - assert!(::electing_voters(bounds, 0) [INFO] [stdout] 694 + assert!(::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 694 - assert!(::electing_voters(bounds, 0) [INFO] [stdout] 694 + assert!(::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:699:38 [INFO] [stdout] | [INFO] [stdout] 699 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 647 | fn voter_snapshot_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:707:7 [INFO] [stdout] | [INFO] [stdout] 707 | ::electing_voters(bounds, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 707 - ::electing_voters(bounds, 0) [INFO] [stdout] 707 + ::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 707 - ::electing_voters(bounds, 0) [INFO] [stdout] 707 + ::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:729:7 [INFO] [stdout] | [INFO] [stdout] 729 | ::VoterList::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:732:21 [INFO] [stdout] | [INFO] [stdout] 732 | .map(|v| (v, ::VoterList::get_score(&v).unwrap())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:740:26 [INFO] [stdout] | [INFO] [stdout] 740 | let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 740 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 740 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 740 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 740 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:747:38 [INFO] [stdout] | [INFO] [stdout] 747 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(41)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn voter_list_locked_during_multi_page_snapshot() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:752:26 [INFO] [stdout] | [INFO] [stdout] 752 | let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 752 - let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] 752 + let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 752 - let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] 752 + let voters_page_2 = ::electing_voters(bounds, 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:760:38 [INFO] [stdout] | [INFO] [stdout] 760 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(21)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn voter_list_locked_during_multi_page_snapshot() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:763:26 [INFO] [stdout] | [INFO] [stdout] 763 | let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 763 - let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] 763 + let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 763 - let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] 763 + let voters_page_1 = ::electing_voters(bounds, 1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:771:38 [INFO] [stdout] | [INFO] [stdout] 771 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Consumed); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn voter_list_locked_during_multi_page_snapshot() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:775:14 [INFO] [stdout] | [INFO] [stdout] 775 | assert!(::electing_voters(bounds, 0) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 775 - assert!(::electing_voters(bounds, 0) [INFO] [stdout] 775 + assert!(::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 775 - assert!(::electing_voters(bounds, 0) [INFO] [stdout] 775 + assert!(::electing_voters(bounds, 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:779:38 [INFO] [stdout] | [INFO] [stdout] 779 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 720 | fn voter_list_locked_during_multi_page_snapshot() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:794:7 [INFO] [stdout] | [INFO] [stdout] 794 | ::VoterList::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:797:21 [INFO] [stdout] | [INFO] [stdout] 797 | .map(|v| (v, ::VoterList::get_score(&v).unwrap())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:821:26 [INFO] [stdout] | [INFO] [stdout] 821 | let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 821 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 821 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 821 - let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] 821 + let voters_page_3 = ::electing_voters(bounds, 3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:828:38 [INFO] [stdout] | [INFO] [stdout] 828 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(41)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 785 | fn voter_list_not_updated_when_locked() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:875:6 [INFO] [stdout] | [INFO] [stdout] 875 | ::VoterList::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_data_provider.rs:878:20 [INFO] [stdout] | [INFO] [stdout] 878 | .map(|v| (v, ::VoterList::get_score(&v).unwrap())) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:272:31 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(ValidatorCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn new_era_elects_correct_number_of_validators() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:483:31 [INFO] [stdout] | [INFO] [stdout] 483 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 479 | fn add_electable_stashes_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:488:24 [INFO] [stdout] | [INFO] [stdout] 488 | ElectableStashes::::get().into_inner().into_iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 479 | fn add_electable_stashes_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:495:24 [INFO] [stdout] | [INFO] [stdout] 495 | ElectableStashes::::get().into_inner().into_iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 479 | fn add_electable_stashes_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 502 | fn add_electable_stashes_overflow_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:520:24 [INFO] [stdout] | [INFO] [stdout] 520 | ElectableStashes::::get().into_inner().into_iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 502 | fn add_electable_stashes_overflow_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:532:31 [INFO] [stdout] | [INFO] [stdout] 532 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn overflow_electable_stashes_no_exposures_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:549:34 [INFO] [stdout] | [INFO] [stdout] 549 | assert_eq!(ElectableStashes::::get().into_iter().collect::>(), vec![1, 2]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn overflow_electable_stashes_no_exposures_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | let exposure_exists = |acc, era| Eras::::get_full_exposure(era, &acc).total != 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 527 | fn overflow_electable_stashes_no_exposures_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/election_provider.rs:578:16 [INFO] [stdout] | [INFO] [stdout] 578 | assert_eq!(System::block_number(), 15); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 563 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:591:22 [INFO] [stdout] | [INFO] [stdout] 591 | ValidatorCount::::set(expected_elected.len() as u32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:595:35 [INFO] [stdout] | [INFO] [stdout] 595 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:596:32 [INFO] [stdout] | [INFO] [stdout] 596 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:597:38 [INFO] [stdout] | [INFO] [stdout] 597 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:603:35 [INFO] [stdout] | [INFO] [stdout] 603 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:604:32 [INFO] [stdout] | [INFO] [stdout] 604 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:615:38 [INFO] [stdout] | [INFO] [stdout] 615 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 568 | fn single_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/election_provider.rs:695:16 [INFO] [stdout] | [INFO] [stdout] 695 | assert_eq!(System::block_number(), 15); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 563 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:709:35 [INFO] [stdout] | [INFO] [stdout] 709 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:710:38 [INFO] [stdout] | [INFO] [stdout] 710 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:711:32 [INFO] [stdout] | [INFO] [stdout] 711 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:715:35 [INFO] [stdout] | [INFO] [stdout] 715 | assert_eq!(NextElectionPage::::get(), Some(1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:716:38 [INFO] [stdout] | [INFO] [stdout] 716 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(31)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:718:25 [INFO] [stdout] | [INFO] [stdout] 718 | ElectableStashes::::get().into_iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:738:35 [INFO] [stdout] | [INFO] [stdout] 738 | assert_eq!(NextElectionPage::::get(), Some(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:739:38 [INFO] [stdout] | [INFO] [stdout] 739 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Ongoing(81)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:756:32 [INFO] [stdout] | [INFO] [stdout] 756 | assert!(ElectableStashes::::get().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:757:38 [INFO] [stdout] | [INFO] [stdout] 757 | assert_eq!(VoterSnapshotStatus::::get(), SnapshotStatus::Waiting); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:758:35 [INFO] [stdout] | [INFO] [stdout] 758 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/election_provider.rs:799:35 [INFO] [stdout] | [INFO] [stdout] 799 | assert_eq!(NextElectionPage::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn multi_page_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | ::on_relay_session_report( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 198 - ::on_relay_session_report( [INFO] [stdout] 198 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 198 - ::on_relay_session_report( [INFO] [stdout] 198 + ::on_relay_session_report( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/era_rotation.rs:499:27 [INFO] [stdout] | [INFO] [stdout] 499 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:514:33 [INFO] [stdout] | [INFO] [stdout] 514 | 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] 509 | fn max_staked_rewards_default_not_set_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:530:37 [INFO] [stdout] | [INFO] [stdout] 530 | 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] 509 | fn max_staked_rewards_default_not_set_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:539:22 [INFO] [stdout] | [INFO] [stdout] 539 | >::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] 535 | fn max_staked_rewards_default_equal_100() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:555:37 [INFO] [stdout] | [INFO] [stdout] 555 | 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] 535 | fn max_staked_rewards_default_equal_100() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:574:33 [INFO] [stdout] | [INFO] [stdout] 574 | 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] 560 | fn max_staked_rewards_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/era_rotation.rs:596:50 [INFO] [stdout] | [INFO] [stdout] 596 | let validators_payout = ErasValidatorReward::::get(1).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 560 | fn max_staked_rewards_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/force_unstake_kill_stash.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | assert_noop!(Staking::kill_stash(&12), Error::::NotStash); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 43 | fn kill_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(>::get(&10), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Controller(10)), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(10)), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(>::get(&42), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Controller(42)), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(42)), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(>::get(&200), Some(100)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | StakingLedger::::paired_account(StakingAccount::Controller(100)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(200)), Some(100)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 21 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(StakingLedger::::get(StakingAccount::Stash(42)).is_err()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(>::get(&11), Some(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | match StakingLedger::::get(StakingAccount::Stash(11)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(>::get(&200), Some(100)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | match StakingLedger::::get(StakingAccount::Stash(200)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | match StakingLedger::::get(StakingAccount::Controller(100)) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 46 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(Bonded::::get(444), Some(555)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(Ledger::::get(555).unwrap().stash, 444); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(Bonded::::get(333), Some(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(StakingLedger::::paired_account(StakingAccount::Stash(333)), Some(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Ledger::::get(444).unwrap().stash, 333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:103:39 [INFO] [stdout] | [INFO] [stdout] 103 | let ledger_result = StakingLedger::::get(StakingAccount::Stash(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let ledger_result = StakingLedger::::get(StakingAccount::Controller(444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | let ledger_result = StakingLedger::::get(StakingAccount::Stash(333)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let mut ledger = Ledger::::get(444).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | Ledger::::insert(444, ledger); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(StakingLedger::::get(StakingAccount::Stash(333)).is_err()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 86 | fn get_ledger_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | assert!(!StakingLedger::::is_bonded(StakingAccount::Stash(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | assert!(>::get(&42).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | let mut ledger: StakingLedger = StakingLedger::new(42, 84); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | assert!(StakingLedger::::is_bonded(StakingAccount::Stash(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | assert!(>::get(&42).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(>::get(&42), Some(reward_dest)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 129 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:156:77 [INFO] [stdout] | [INFO] [stdout] 156 | let (stash, controller) = testing_utils::create_unique_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn bond_controller_cannot_be_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(Bonded::::get(stash), Some(controller)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn bond_controller_cannot_be_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(Ledger::::get(controller).map(|l| l.stash), Some(stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn bond_controller_cannot_be_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Error::::AlreadyPaired, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn bond_controller_cannot_be_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | assert!(!StakingLedger::::is_bonded(StakingAccount::Stash(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | assert!(!StakingLedger::::is_bonded(StakingAccount::Controller(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | >::insert(42, 42); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | assert!(!StakingLedger::::is_bonded(StakingAccount::Controller(42))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(>::get(&11), Some(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(StakingLedger::::is_bonded(StakingAccount::Stash(11))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | assert!(StakingLedger::::is_bonded(StakingAccount::Controller(11))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | >::remove(42); // ensures try-state checks pass. [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 176 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | Payee::::insert(11, RewardDestination::Staked); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 195 | fn set_payee_errors_on_controller_destination() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | Error::::ControllerDeprecated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 195 | fn set_payee_errors_on_controller_destination() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(Payee::::get(&11), Some(RewardDestination::Staked)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 195 | fn set_payee_errors_on_controller_destination() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | Payee::::insert(11, RewardDestination::Controller); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(Payee::::get(&11), Some(RewardDestination::Controller)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | assert_eq!(Payee::::get(&11), Some(RewardDestination::Account(11))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | Payee::::insert(21, RewardDestination::Stash); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | assert_eq!(Payee::::get(&21), Some(RewardDestination::Stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | Error::::NotController [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | assert_eq!(Payee::::get(&21), Some(RewardDestination::Stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | fn update_payee_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:246:77 [INFO] [stdout] | [INFO] [stdout] 246 | assert_noop!(Staking::set_controller(RuntimeOrigin::signed(555)), Error::::BadState); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 240 | fn set_controller_with_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:247:77 [INFO] [stdout] | [INFO] [stdout] 247 | assert_noop!(Staking::set_controller(RuntimeOrigin::signed(444)), Error::::BadState); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 240 | fn set_controller_with_bad_state_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | Ledger::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | Bonded::::insert(stash, ctlr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | Payee::::insert(stash, RewardDestination::Staked); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:285:6 [INFO] [stdout] | [INFO] [stdout] 285 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:302:6 [INFO] [stdout] | [INFO] [stdout] 302 | ::WeightInfo::deprecate_controller_batch( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:303:7 [INFO] [stdout] | [INFO] [stdout] 303 | ::MaxControllersInDeprecationBatch::get() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(Ledger::::get(ctlr), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:316:25 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!(Bonded::::get(stash), Some(stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:319:35 [INFO] [stdout] | [INFO] [stdout] 319 | let ledger_updated = Ledger::::get(stash).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 256 | fn deprecate_controller_batch_works_full_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:342:14 [INFO] [stdout] | [INFO] [stdout] 342 | Ledger::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | Bonded::::insert(stash, ctlr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | Payee::::insert(stash, RewardDestination::Staked); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:355:6 [INFO] [stdout] | [INFO] [stdout] 355 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:363:6 [INFO] [stdout] | [INFO] [stdout] 363 | ::WeightInfo::deprecate_controller_batch(controllers.len() as u32) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:375:26 [INFO] [stdout] | [INFO] [stdout] 375 | assert_eq!(Ledger::::get(ctlr), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | assert_eq!(Bonded::::get(stash), Some(stash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:381:35 [INFO] [stdout] | [INFO] [stdout] 381 | let ledger_updated = Ledger::::get(stash).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 330 | fn deprecate_controller_batch_works_half_weight() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | Ledger::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | Bonded::::insert(stash, ctlr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | Payee::::insert(stash, RewardDestination::Controller); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:407:6 [INFO] [stdout] | [INFO] [stdout] 407 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:415:6 [INFO] [stdout] | [INFO] [stdout] 415 | ::WeightInfo::deprecate_controller_batch(1 as u32) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:421:24 [INFO] [stdout] | [INFO] [stdout] 421 | assert_eq!(Ledger::::get(ctlr).is_some(), true); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:424:24 [INFO] [stdout] | [INFO] [stdout] 424 | assert_eq!(Bonded::::get(stash), Some(ctlr)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:427:34 [INFO] [stdout] | [INFO] [stdout] 427 | let ledger_updated = Ledger::::get(ctlr).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 388 | fn deprecate_controller_batch_skips_unmigrated_controller_payees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:440:6 [INFO] [stdout] | [INFO] [stdout] 440 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 433 | fn deprecate_controller_batch_with_bad_state_ok() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:463:6 [INFO] [stdout] | [INFO] [stdout] 463 | ::MaxControllersInDeprecationBatch, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 456 | fn deprecate_controller_batch_with_bad_state_failures() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:491:21 [INFO] [stdout] | [INFO] [stdout] 491 | assert!(Bonded::::get(&1111).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 483 | fn inspect_recovery_ledger_simple_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:504:42 [INFO] [stdout] | [INFO] [stdout] 504 | let lock_333_before = asset::staked::(&333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:519:34 [INFO] [stdout] | [INFO] [stdout] 519 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:527:31 [INFO] [stdout] | [INFO] [stdout] 527 | assert_ok!(StakingLedger::::kill(&333)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:531:62 [INFO] [stdout] | [INFO] [stdout] 531 | assert_eq!(Staking::inspect_bond_state(&333), Err(Error::::BadState)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:540:31 [INFO] [stdout] | [INFO] [stdout] 540 | assert_eq!(asset::staked::(&333), lock_333_before); // NOK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:541:21 [INFO] [stdout] | [INFO] [stdout] 541 | assert!(Bonded::::get(&333).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:542:20 [INFO] [stdout] | [INFO] [stdout] 542 | assert!(Payee::::get(&333).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | assert!(Ledger::::get(&444).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:547:31 [INFO] [stdout] | [INFO] [stdout] 547 | assert_eq!(asset::staked::(&444), 0); // NOK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | assert!(Bonded::::get(&444).is_some()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:549:20 [INFO] [stdout] | [INFO] [stdout] 549 | assert!(Payee::::get(&444).is_some()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:550:21 [INFO] [stdout] | [INFO] [stdout] 550 | assert!(Ledger::::get(&555).is_none()); // NOK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 500 | fn inspect_recovery_ledger_corupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:552:34 [INFO] [stdout] | [INFO] [stdout] 552 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:561:42 [INFO] [stdout] | [INFO] [stdout] 561 | let lock_333_before = asset::staked::(&333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:576:34 [INFO] [stdout] | [INFO] [stdout] 576 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:584:31 [INFO] [stdout] | [INFO] [stdout] 584 | assert_ok!(StakingLedger::::kill(&444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:592:24 [INFO] [stdout] | [INFO] [stdout] 592 | assert_eq!(Ledger::::get(&444), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:593:62 [INFO] [stdout] | [INFO] [stdout] 593 | assert_eq!(Staking::inspect_bond_state(&444), Err(Error::::NotStash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:596:31 [INFO] [stdout] | [INFO] [stdout] 596 | assert_eq!(asset::staked::(&333), lock_333_before); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:597:24 [INFO] [stdout] | [INFO] [stdout] 597 | assert_eq!(Bonded::::get(&333), Some(444)); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | assert!(Payee::::get(&333).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:600:21 [INFO] [stdout] | [INFO] [stdout] 600 | assert!(Ledger::::get(&444).is_none()); // NOK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:603:31 [INFO] [stdout] | [INFO] [stdout] 603 | assert_eq!(asset::staked::(&444), 0); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:604:21 [INFO] [stdout] | [INFO] [stdout] 604 | assert!(Bonded::::get(&444).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:605:20 [INFO] [stdout] | [INFO] [stdout] 605 | assert!(Payee::::get(&444).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:606:21 [INFO] [stdout] | [INFO] [stdout] 606 | assert!(Ledger::::get(&555).is_none()); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 557 | fn inspect_recovery_ledger_corupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:608:34 [INFO] [stdout] | [INFO] [stdout] 608 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:631:34 [INFO] [stdout] | [INFO] [stdout] 631 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:664:34 [INFO] [stdout] | [INFO] [stdout] 664 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:670:37 [INFO] [stdout] | [INFO] [stdout] 670 | assert_ok!(Staking::do_try_state(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:684:54 [INFO] [stdout] | [INFO] [stdout] 684 | let total_444_before_corruption = asset::staked::(&444); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn restore_ledger_corrupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:699:31 [INFO] [stdout] | [INFO] [stdout] 699 | assert_ok!(StakingLedger::::kill(&333)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn restore_ledger_corrupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:703:62 [INFO] [stdout] | [INFO] [stdout] 703 | assert_eq!(Staking::inspect_bond_state(&333), Err(Error::::BadState)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn restore_ledger_corrupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:708:34 [INFO] [stdout] | [INFO] [stdout] 708 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:718:13 [INFO] [stdout] | [INFO] [stdout] 718 | Error::::CannotRestoreLedger [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 679 | fn restore_ledger_corrupted_killed_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:730:37 [INFO] [stdout] | [INFO] [stdout] 730 | assert_ok!(Staking::do_try_state(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:756:34 [INFO] [stdout] | [INFO] [stdout] 756 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:764:31 [INFO] [stdout] | [INFO] [stdout] 764 | assert_ok!(StakingLedger::::kill(&444)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 739 | fn restore_ledger_corrupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:770:62 [INFO] [stdout] | [INFO] [stdout] 770 | assert_eq!(Staking::inspect_bond_state(&444), Err(Error::::NotStash)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 739 | fn restore_ledger_corrupted_killed_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:773:37 [INFO] [stdout] | [INFO] [stdout] 773 | assert_ok!(Staking::do_try_state(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:786:42 [INFO] [stdout] | [INFO] [stdout] 786 | let lock_333_before = asset::staked::(&333); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:787:42 [INFO] [stdout] | [INFO] [stdout] 787 | let lock_444_before = asset::staked::(&444); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:803:34 [INFO] [stdout] | [INFO] [stdout] 803 | assert!(Staking::do_try_state(System::block_number()).is_err()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:807:31 [INFO] [stdout] | [INFO] [stdout] 807 | assert_eq!(asset::staked::(&333), lock_333_before); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:808:31 [INFO] [stdout] | [INFO] [stdout] 808 | assert_eq!(asset::staked::(&444), lock_444_before + 40); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:812:31 [INFO] [stdout] | [INFO] [stdout] 812 | assert_eq!(asset::staked::(&333), lock_444_before + 40 + 30); //not OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:813:31 [INFO] [stdout] | [INFO] [stdout] 813 | assert_eq!(asset::staked::(&444), lock_444_before + 40); // OK [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:830:13 [INFO] [stdout] | [INFO] [stdout] 830 | Error::::CannotRestoreLedger [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:844:30 [INFO] [stdout] | [INFO] [stdout] 844 | let ledger_333 = Bonded::::get(&333).and_then(Ledger::::get).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:844:65 [INFO] [stdout] | [INFO] [stdout] 844 | let ledger_333 = Bonded::::get(&333).and_then(Ledger::::get).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:845:30 [INFO] [stdout] | [INFO] [stdout] 845 | let ledger_444 = Bonded::::get(&444).and_then(Ledger::::get).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:845:65 [INFO] [stdout] | [INFO] [stdout] 845 | let ledger_444 = Bonded::::get(&444).and_then(Ledger::::get).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:848:31 [INFO] [stdout] | [INFO] [stdout] 848 | assert_eq!(asset::staked::(&333), ledger_333.total); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/ledger.rs:850:31 [INFO] [stdout] | [INFO] [stdout] 850 | assert_eq!(asset::staked::(&444), ledger_444.total); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 782 | fn restore_ledger_corrupted_bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/ledger.rs:853:37 [INFO] [stdout] | [INFO] [stdout] 853 | assert_ok!(Staking::do_try_state(System::block_number())); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 480 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | let nominator_balance = asset::stakeable_balance::(&101); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn nominators_also_get_slashed_pro_rata() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | let validator_balance = asset::stakeable_balance::(&11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn nominators_also_get_slashed_pro_rata() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | asset::stakeable_balance::(&101), // free balance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn nominators_also_get_slashed_pro_rata() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | asset::stakeable_balance::(&11), // free balance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | fn nominators_also_get_slashed_pro_rata() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/slashing.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 200 - ::on_new_offences( [INFO] [stdout] 200 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 200 - ::on_new_offences( [INFO] [stdout] 200 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/slashing.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 240 - ::on_new_offences( [INFO] [stdout] 240 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 240 - ::on_new_offences( [INFO] [stdout] 240 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/slashing.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | ::on_new_offences( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 274 - ::on_new_offences( [INFO] [stdout] 274 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 274 - ::on_new_offences( [INFO] [stdout] 274 + ::on_new_offences( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 667 | assert!(OffenceQueue::::iter_prefix(72).next().is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 631 | fn really_old_offences_are_ignored() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:668:27 [INFO] [stdout] | [INFO] [stdout] 668 | assert!(OffenceQueue::::iter_prefix(73).next().is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 631 | fn really_old_offences_are_ignored() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:669:32 [INFO] [stdout] | [INFO] [stdout] 669 | assert!(!OffenceQueueEras::::get().unwrap_or_default().contains(&72)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 631 | fn really_old_offences_are_ignored() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/slashing.rs:670:32 [INFO] [stdout] | [INFO] [stdout] 670 | assert!(!OffenceQueueEras::::get().unwrap_or_default().contains(&73)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 631 | fn really_old_offences_are_ignored() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(ActiveEra::::get().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] 24 | fn try_state_works_with_uninitialized_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(CurrentEra::::get().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] 24 | fn try_state_works_with_uninitialized_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(Bonded::::iter().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] 24 | fn try_state_works_with_uninitialized_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(Ledger::::iter().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] 24 | fn try_state_works_with_uninitialized_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(Validators::::iter().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] 24 | fn try_state_works_with_uninitialized_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(Nominators::::iter().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] 24 | fn try_state_works_with_uninitialized_pallet() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/try_state.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 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/try_state.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | ActiveEra::::put(ActiveEraInfo { index: 1, start: None }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | CurrentEra::::kill(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/try_state.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | 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] 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/try_state.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | ActiveEra::::kill(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | CurrentEra::::put(1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/try_state.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 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/try_state.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | ActiveEra::::kill(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | CurrentEra::::kill(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/try_state.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | 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] 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/try_state.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | ActiveEra::::put(ActiveEraInfo { index: 1, start: None }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | CurrentEra::::put(1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/try_state.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | BondedEras::::put(bonded_eras); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 40 | fn try_state_detects_inconsistent_active_current_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/try_state.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | 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] 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/mod.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let _ = asset::set_stakeable_balance::(&i, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 51 | fn basic_setup_session_queuing_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | StakingLedgerInspect:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | StakingLedgerInspect:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(Nominators::::get(101).unwrap().targets, vec![11, 21]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:190:31 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(ErasTotalStake::::get(active_era()), 2500); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert_eq!(ValidatorCount::::get(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | 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] 111 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | 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] 288 | fn count_check_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | 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] 288 | fn count_check_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:312:39 [INFO] [stdout] | [INFO] [stdout] 312 | 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] 307 | fn check_payee_invariant1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | 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] 307 | fn check_payee_invariant1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 319 | fn check_payee_invariant2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:341:32 [INFO] [stdout] | [INFO] [stdout] 341 | 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] 333 | fn increase_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | 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] 333 | fn increase_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | 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] 352 | fn scale_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | 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] 352 | fn scale_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | 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] 374 | fn cannot_set_unsupported_validator_count() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:405:17 [INFO] [stdout] | [INFO] [stdout] 405 | assert_ok!(::force_unstake(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 405 - assert_ok!(::force_unstake(11)); [INFO] [stdout] 405 + assert_ok!(::force_unstake(11)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 405 - assert_ok!(::force_unstake(11)); [INFO] [stdout] 405 + assert_ok!(::force_unstake(11)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:412:16 [INFO] [stdout] | [INFO] [stdout] 412 | assert_ok!(::force_unstake(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 412 - assert_ok!(::force_unstake(11)); [INFO] [stdout] 412 + assert_ok!(::force_unstake(11)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 412 - assert_ok!(::force_unstake(11)); [INFO] [stdout] 412 + assert_ok!(::force_unstake(11)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:458:22 [INFO] [stdout] | [INFO] [stdout] 458 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 417 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 417 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:460:26 [INFO] [stdout] | [INFO] [stdout] 460 | assert!(!>::contains_key(&11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 417 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | 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] 417 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | assert_eq!(asset::staked::(&11), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 417 | fn do_withdraw_unbonded_can_kill_stash_with_existential_deposit_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:499:38 [INFO] [stdout] | [INFO] [stdout] 499 | assert_eq!(asset::total_balance::(&10), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 497 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:503:16 [INFO] [stdout] | [INFO] [stdout] 503 | assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 503 - assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] 503 + assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 503 - assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] 503 + assert_ok!(::virtual_bond(&10, 100, &15)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | assert_eq!(asset::staked::(&10), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 497 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:509:16 [INFO] [stdout] | [INFO] [stdout] 509 | assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 509 - assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] 509 + assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 509 - assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] 509 + assert_ok!(::bond_extra(&10, 1000)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:513:6 [INFO] [stdout] | [INFO] [stdout] 513 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 513 - ::stake(&10), [INFO] [stdout] 513 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 513 - ::stake(&10), [INFO] [stdout] 513 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:518:16 [INFO] [stdout] | [INFO] [stdout] 518 | assert_ok!(::unbond(&10, 200)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 518 - assert_ok!(::unbond(&10, 200)); [INFO] [stdout] 518 + assert_ok!(::unbond(&10, 200)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 518 - assert_ok!(::unbond(&10, 200)); [INFO] [stdout] 518 + assert_ok!(::unbond(&10, 200)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:531:6 [INFO] [stdout] | [INFO] [stdout] 531 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 531 - ::stake(&10), [INFO] [stdout] 531 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 531 - ::stake(&10), [INFO] [stdout] 531 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:536:31 [INFO] [stdout] | [INFO] [stdout] 536 | assert_eq!(asset::staked::(&10), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 497 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:541:16 [INFO] [stdout] | [INFO] [stdout] 541 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 541 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 541 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 541 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 541 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:543:6 [INFO] [stdout] | [INFO] [stdout] 543 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 543 - ::stake(&10), [INFO] [stdout] 543 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 543 - ::stake(&10), [INFO] [stdout] 543 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:549:16 [INFO] [stdout] | [INFO] [stdout] 549 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 549 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 549 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 549 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 549 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:551:6 [INFO] [stdout] | [INFO] [stdout] 551 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 551 - ::stake(&10), [INFO] [stdout] 551 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 551 - ::stake(&10), [INFO] [stdout] 551 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:556:16 [INFO] [stdout] | [INFO] [stdout] 556 | assert_ok!(::unbond(&10, 900)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 556 - assert_ok!(::unbond(&10, 900)); [INFO] [stdout] 556 + assert_ok!(::unbond(&10, 900)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 556 - assert_ok!(::unbond(&10, 900)); [INFO] [stdout] 556 + assert_ok!(::unbond(&10, 900)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:558:6 [INFO] [stdout] | [INFO] [stdout] 558 | ::stake(&10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 558 - ::stake(&10), [INFO] [stdout] 558 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 558 - ::stake(&10), [INFO] [stdout] 558 + ::stake(&10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:563:16 [INFO] [stdout] | [INFO] [stdout] 563 | assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 563 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 563 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 563 - assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] 563 + assert_ok!(::withdraw_unbonded(10, 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:566:55 [INFO] [stdout] | [INFO] [stdout] 566 | 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] 497 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:567:32 [INFO] [stdout] | [INFO] [stdout] 567 | 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] 497 | fn virtual_bond_does_not_lock_or_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:576:6 [INFO] [stdout] | [INFO] [stdout] 576 | ::virtual_bond(&10, 100, &10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 576 - ::virtual_bond(&10, 100, &10), [INFO] [stdout] 576 + ::virtual_bond(&10, 100, &10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 576 - ::virtual_bond(&10, 100, &10), [INFO] [stdout] 576 + ::virtual_bond(&10, 100, &10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | 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] 572 | fn virtual_staker_cannot_pay_reward_to_self_account() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:581:16 [INFO] [stdout] | [INFO] [stdout] 581 | assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 581 - assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] 581 + assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 581 - assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] 581 + assert_ok!(::virtual_bond(&10, 100, &11)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:585:6 [INFO] [stdout] | [INFO] [stdout] 585 | ::set_payee(&10, &10), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 585 - ::set_payee(&10, &10), [INFO] [stdout] 585 + ::set_payee(&10, &10), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 585 - ::set_payee(&10, &10), [INFO] [stdout] 585 + ::set_payee(&10, &10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | 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] 572 | fn virtual_staker_cannot_pay_reward_to_self_account() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:599:6 [INFO] [stdout] | [INFO] [stdout] 599 | ::virtual_bond(&200, 200, &201), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 599 - ::virtual_bond(&200, 200, &201), [INFO] [stdout] 599 + ::virtual_bond(&200, 200, &201), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 599 - ::virtual_bond(&200, 200, &201), [INFO] [stdout] 599 + ::virtual_bond(&200, 200, &201), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | 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] 592 | fn virtual_staker_cannot_bond_again() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:605:6 [INFO] [stdout] | [INFO] [stdout] 605 | ::virtual_bond(&200, 200, &202), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 605 - ::virtual_bond(&200, 200, &202), [INFO] [stdout] 605 + ::virtual_bond(&200, 200, &202), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 605 - ::virtual_bond(&200, 200, &202), [INFO] [stdout] 605 + ::virtual_bond(&200, 200, &202), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | 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] 592 | fn virtual_staker_cannot_bond_again() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:611:6 [INFO] [stdout] | [INFO] [stdout] 611 | ::bond(&200, 200, &202), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 611 - ::bond(&200, 200, &202), [INFO] [stdout] 611 + ::bond(&200, 200, &202), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 611 - ::bond(&200, 200, &202), [INFO] [stdout] 611 + ::bond(&200, 200, &202), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:612:13 [INFO] [stdout] | [INFO] [stdout] 612 | 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] 592 | fn virtual_staker_cannot_bond_again() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:622:6 [INFO] [stdout] | [INFO] [stdout] 622 | ::virtual_bond(&101, 200, &102), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 622 - ::virtual_bond(&101, 200, &102), [INFO] [stdout] 622 + ::virtual_bond(&101, 200, &102), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 622 - ::virtual_bond(&101, 200, &102), [INFO] [stdout] 622 + ::virtual_bond(&101, 200, &102), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | 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] 618 | fn normal_staker_cannot_virtual_bond() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:628:6 [INFO] [stdout] | [INFO] [stdout] 628 | ::virtual_bond(&21, 200, &22), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 628 - ::virtual_bond(&21, 200, &22), [INFO] [stdout] 628 + ::virtual_bond(&21, 200, &22), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 628 - ::virtual_bond(&21, 200, &22), [INFO] [stdout] 628 + ::virtual_bond(&21, 200, &22), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:629:13 [INFO] [stdout] | [INFO] [stdout] 629 | 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] 618 | fn normal_staker_cannot_virtual_bond() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | asset::set_stakeable_balance::(&200, 2000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 635 | fn migrate_virtual_staker() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:642:31 [INFO] [stdout] | [INFO] [stdout] 642 | assert_eq!(asset::staked::(&200), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 635 | fn migrate_virtual_staker() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:645:16 [INFO] [stdout] | [INFO] [stdout] 645 | assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 645 - assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] 645 + assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 645 - assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] 645 + assert_ok!(::migrate_to_virtual_staker(&200)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:647:16 [INFO] [stdout] | [INFO] [stdout] 647 | assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 647 - assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] 647 + assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 647 - assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] 647 + assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:650:31 [INFO] [stdout] | [INFO] [stdout] 650 | assert_eq!(asset::staked::(&200), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 635 | fn migrate_virtual_staker() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:653:24 [INFO] [stdout] | [INFO] [stdout] 653 | 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] 635 | fn migrate_virtual_staker() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:665:16 [INFO] [stdout] | [INFO] [stdout] 665 | assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 665 - assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] 665 + assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 665 - assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] 665 + assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:667:16 [INFO] [stdout] | [INFO] [stdout] 667 | assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 667 - assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] 667 + assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 667 - assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] 667 + assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:671:55 [INFO] [stdout] | [INFO] [stdout] 671 | let nominator_balance = asset::stakeable_balance::(&101); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 658 | fn virtual_nominators_are_lazily_slashed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:673:55 [INFO] [stdout] | [INFO] [stdout] 673 | let validator_balance = asset::stakeable_balance::(&11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 658 | fn virtual_nominators_are_lazily_slashed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:704:42 [INFO] [stdout] | [INFO] [stdout] 704 | assert_eq!(asset::stakeable_balance::(&11), validator_balance - validator_share); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 658 | fn virtual_nominators_are_lazily_slashed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:707:42 [INFO] [stdout] | [INFO] [stdout] 707 | assert_eq!(asset::stakeable_balance::(&101), nominator_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 658 | fn virtual_nominators_are_lazily_slashed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 723 - assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] 723 + assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 723 - assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] 723 + assert_ok!(::migrate_to_virtual_staker(&101)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:725:17 [INFO] [stdout] | [INFO] [stdout] 725 | assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 725 - assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] 725 + assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 725 - assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] 725 + assert_ok!(::set_payee(&101, &102)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:728:56 [INFO] [stdout] | [INFO] [stdout] 728 | let validator_balance = asset::stakeable_balance::(&11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 714 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:730:56 [INFO] [stdout] | [INFO] [stdout] 730 | let nominator_balance = asset::stakeable_balance::(&101); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 714 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:763:33 [INFO] [stdout] | [INFO] [stdout] 763 | asset::stakeable_balance::(&11), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 714 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:768:43 [INFO] [stdout] | [INFO] [stdout] 768 | assert_eq!(asset::stakeable_balance::(&101), nominator_balance); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 714 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:777:14 [INFO] [stdout] | [INFO] [stdout] 777 | 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] 714 | fn virtual_stakers_cannot_be_reaped() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:791:16 [INFO] [stdout] | [INFO] [stdout] 791 | assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 791 - assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] 791 + assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 791 - assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] 791 + assert_ok!(::migrate_to_virtual_staker(&333)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | 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] 783 | fn restore_ledger_not_allowed_for_virtual_stakers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:800:20 [INFO] [stdout] | [INFO] [stdout] 800 | >::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] 783 | fn restore_ledger_not_allowed_for_virtual_stakers() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:817:31 [INFO] [stdout] | [INFO] [stdout] 817 | assert_eq!(asset::staked::(&alice), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 812 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:820:45 [INFO] [stdout] | [INFO] [stdout] 820 | testing_utils::migrate_to_old_currency::(alice); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 812 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:822:31 [INFO] [stdout] | [INFO] [stdout] 822 | assert_eq!(asset::staked::(&alice), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 812 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:825:6 [INFO] [stdout] | [INFO] [stdout] 825 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 825 - ::stake(&alice), [INFO] [stdout] 825 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 825 - ::stake(&alice), [INFO] [stdout] 825 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:832:41 [INFO] [stdout] | [INFO] [stdout] 832 | let _ = asset::mint_into_existing::(&alice, 100); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 812 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:838:32 [INFO] [stdout] | [INFO] [stdout] 838 | assert_eq!(asset::staked::(&alice), 1000 + 100); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 812 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:840:7 [INFO] [stdout] | [INFO] [stdout] 840 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 840 - ::stake(&alice), [INFO] [stdout] 840 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 840 - ::stake(&alice), [INFO] [stdout] 840 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:853:32 [INFO] [stdout] | [INFO] [stdout] 853 | assert_eq!(asset::staked::(&alice), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 812 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:855:7 [INFO] [stdout] | [INFO] [stdout] 855 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 855 - ::stake(&alice), [INFO] [stdout] 855 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 855 - ::stake(&alice), [INFO] [stdout] 855 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:867:31 [INFO] [stdout] | [INFO] [stdout] 867 | assert_eq!(asset::staked::(&alice), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 812 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:869:6 [INFO] [stdout] | [INFO] [stdout] 869 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 869 - ::stake(&alice), [INFO] [stdout] 869 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 869 - ::stake(&alice), [INFO] [stdout] 869 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 812 | fn ledger_update_creates_hold() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:890:45 [INFO] [stdout] | [INFO] [stdout] 890 | testing_utils::migrate_to_old_currency::(alice); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 885 | fn migrate_removes_old_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:891:31 [INFO] [stdout] | [INFO] [stdout] 891 | assert_eq!(asset::staked::(&alice), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 885 | fn migrate_removes_old_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:893:31 [INFO] [stdout] | [INFO] [stdout] 893 | let pre_migrate_consumer = System::consumers(&alice); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:901:15 [INFO] [stdout] | [INFO] [stdout] 901 | assert_eq!(System::consumers(&alice), pre_migrate_consumer - 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:906:6 [INFO] [stdout] | [INFO] [stdout] 906 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 906 - ::stake(&alice), [INFO] [stdout] 906 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 906 - ::stake(&alice), [INFO] [stdout] 906 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:909:31 [INFO] [stdout] | [INFO] [stdout] 909 | assert_eq!(asset::staked::(&alice), 1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 885 | fn migrate_removes_old_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:919:13 [INFO] [stdout] | [INFO] [stdout] 919 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 885 | fn migrate_removes_old_lock() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:932:45 [INFO] [stdout] | [INFO] [stdout] 932 | testing_utils::migrate_to_old_currency::(alice); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 924 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:933:31 [INFO] [stdout] | [INFO] [stdout] 933 | assert_eq!(asset::staked::(&alice), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 924 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:937:6 [INFO] [stdout] | [INFO] [stdout] 937 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 937 - ::stake(&alice), [INFO] [stdout] 937 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 937 - ::stake(&alice), [INFO] [stdout] 937 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:953:13 [INFO] [stdout] | [INFO] [stdout] 953 | Error::::NotEnoughFunds [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 924 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests/mod.rs:968:6 [INFO] [stdout] | [INFO] [stdout] 968 | ::stake(&alice), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 968 - ::stake(&alice), [INFO] [stdout] 968 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 968 - ::stake(&alice), [INFO] [stdout] 968 + ::stake(&alice), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:971:31 [INFO] [stdout] | [INFO] [stdout] 971 | assert_eq!(asset::staked::(&alice), expected_hold); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 924 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:984:13 [INFO] [stdout] | [INFO] [stdout] 984 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 924 | fn cannot_hold_all_stake() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1001:4 [INFO] [stdout] | [INFO] [stdout] 1001 | System::inc_providers(&200); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1002:4 [INFO] [stdout] | [INFO] [stdout] 1002 | System::inc_consumers(&200).expect("has provider, can consume"); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1009:16 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_eq!(System::consumers(&200), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1010:16 [INFO] [stdout] | [INFO] [stdout] 1010 | assert_eq!(System::providers(&200), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1011:14 [INFO] [stdout] | [INFO] [stdout] 1011 | assert!(!System::account_exists(&200)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:1016:14 [INFO] [stdout] | [INFO] [stdout] 1016 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 993 | fn virtual_staker_consumer_provider_dec() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1022:5 [INFO] [stdout] | [INFO] [stdout] 1022 | System::inc_providers(&200); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:1027:14 [INFO] [stdout] | [INFO] [stdout] 1027 | 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] 993 | fn virtual_staker_consumer_provider_dec() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1035:15 [INFO] [stdout] | [INFO] [stdout] 1035 | assert_eq!(System::providers(&200), 2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1041:15 [INFO] [stdout] | [INFO] [stdout] 1041 | assert_eq!(System::providers(&200), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/mod.rs:1042:15 [INFO] [stdout] | [INFO] [stdout] 1042 | assert_eq!(System::consumers(&200), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 809 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/mod.rs:1047:13 [INFO] [stdout] | [INFO] [stdout] 1047 | Error::::AlreadyMigrated [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 993 | fn virtual_staker_consumer_provider_dec() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InspectLockableCurrency` and `ReservableCurrency` [INFO] [stdout] --> src/tests/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | traits::{InspectLockableCurrency, ReservableCurrency}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::Currency` [INFO] [stdout] --> src/tests/bonding.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | use frame_support::{hypothetically_ok, traits::Currency}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_election_provider_support::ElectionDataProvider` [INFO] [stdout] --> src/tests/election_data_provider.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 296 | use frame_election_provider_support::ElectionDataProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_election_provider_support::ElectionDataProvider` [INFO] [stdout] --> src/tests/election_data_provider.rs:427:6 [INFO] [stdout] | [INFO] [stdout] 427 | use frame_election_provider_support::ElectionDataProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) type Balance = ::Balance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:126:31 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) const THRESHOLDS: [sp_npos_elections::VoteWeight; 9] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_npos_elections`, use `cargo add sp_npos_elections` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | pub static BagThresholds: &'static [sp_npos_elections::VoteWeight] = &THRESHOLDS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_npos_elections` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_npos_elections`, use `cargo add sp_npos_elections` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | pub type VoterBagsListInstance = pallet_bags_list::Instance1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | impl pallet_bags_list::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_bags_list` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_bags_list`, use `cargo add pallet_bags_list` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:684:11 [INFO] [stdout] | [INFO] [stdout] 684 | let _ = pallet_balances::GenesisConfig:: { balances, ..Default::default() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:717:5 [INFO] [stdout] | [INFO] [stdout] 717 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 717 - Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] 717 + crate::HoldReason::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 717 - Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] 717 + String::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 733 - assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] 733 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 733 - assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] 733 + assert_ok!(String::bond(RuntimeOrigin::signed(who), val, RewardDestination::Stash)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:733:27 [INFO] [stdout] | [INFO] [stdout] 733 | 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:738:13 [INFO] [stdout] | [INFO] [stdout] 738 | assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 738 - assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] 738 + assert_ok!(crate::HoldReason::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 738 - assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] 738 + assert_ok!(String::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:738:31 [INFO] [stdout] | [INFO] [stdout] 738 | assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:743:13 [INFO] [stdout] | [INFO] [stdout] 743 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 743 - assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] 743 + assert_ok!(crate::HoldReason::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 743 - assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] 743 + assert_ok!(String::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:743:31 [INFO] [stdout] | [INFO] [stdout] 743 | 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:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 754 - assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] 754 + assert_ok!(crate::HoldReason::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 754 - assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] 754 + assert_ok!(String::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:754:31 [INFO] [stdout] | [INFO] [stdout] 754 | 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:796:29 [INFO] [stdout] | [INFO] [stdout] 796 | .map(|(v, _overview)| (v, Staking::eras_stakers(era, &v))) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 796 - .map(|(v, _overview)| (v, Staking::eras_stakers(era, &v))) [INFO] [stdout] 796 + .map(|(v, _overview)| (v, crate::HoldReason::eras_stakers(era, &v))) [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 796 - .map(|(v, _overview)| (v, Staking::eras_stakers(era, &v))) [INFO] [stdout] 796 + .map(|(v, _overview)| (v, String::eras_stakers(era, &v))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:843:71 [INFO] [stdout] | [INFO] [stdout] 843 | for validator_controller in validators_with_reward.iter().filter_map(Staking::bonded) { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 843 - for validator_controller in validators_with_reward.iter().filter_map(Staking::bonded) { [INFO] [stdout] 843 + for validator_controller in validators_with_reward.iter().filter_map(crate::HoldReason::bonded) { [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 843 - for validator_controller in validators_with_reward.iter().filter_map(Staking::bonded) { [INFO] [stdout] 843 + for validator_controller in validators_with_reward.iter().filter_map(String::bonded) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:846:15 [INFO] [stdout] | [INFO] [stdout] 846 | assert_ok!(Staking::payout_stakers_by_page( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 846 - assert_ok!(Staking::payout_stakers_by_page( [INFO] [stdout] 846 + assert_ok!(crate::HoldReason::payout_stakers_by_page( [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 846 - assert_ok!(Staking::payout_stakers_by_page( [INFO] [stdout] 846 + assert_ok!(String::payout_stakers_by_page( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:847:5 [INFO] [stdout] | [INFO] [stdout] 847 | RuntimeOrigin::signed(1337), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | assert_ok!(Staking::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 897 - assert_ok!(Staking::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] 897 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 897 - assert_ok!(Staking::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] 897 + assert_ok!(String::bond(RuntimeOrigin::signed(333), 10, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:897:27 [INFO] [stdout] | [INFO] [stdout] 897 | 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:898:13 [INFO] [stdout] | [INFO] [stdout] 898 | assert_ok!(Staking::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 898 - assert_ok!(Staking::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] 898 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 898 - assert_ok!(Staking::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] 898 + assert_ok!(String::bond(RuntimeOrigin::signed(444), 20, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:898:27 [INFO] [stdout] | [INFO] [stdout] 898 | 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:899:13 [INFO] [stdout] | [INFO] [stdout] 899 | assert_ok!(Staking::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 899 - assert_ok!(Staking::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] 899 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 899 - assert_ok!(Staking::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] 899 + assert_ok!(String::bond(RuntimeOrigin::signed(555), 20, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:899:27 [INFO] [stdout] | [INFO] [stdout] 899 | 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:973:26 [INFO] [stdout] | [INFO] [stdout] 973 | .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:984:26 [INFO] [stdout] | [INFO] [stdout] 984 | .filter_map(|r| if let RuntimeEvent::Staking(inner) = r.event { Some(inner) } else { None }) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:1026:14 [INFO] [stdout] | [INFO] [stdout] 1026 | assert_ok!(Staking::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 1026 - assert_ok!(Staking::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] 1026 + assert_ok!(crate::HoldReason::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1026 - assert_ok!(Staking::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] 1026 + assert_ok!(String::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:1026:35 [INFO] [stdout] | [INFO] [stdout] 1026 | assert_ok!(Staking::apply_slash(RuntimeOrigin::signed(1), era, key)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | Staking::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 30 - Staking::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] 30 + crate::HoldReason::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 - Staking::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] 30 + String::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | Staking::bond(RuntimeOrigin::signed(11), 7, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | Staking::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 48 - Staking::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] 48 + crate::HoldReason::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 48 - Staking::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] 48 + String::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | Staking::bond(RuntimeOrigin::signed(controller), 7, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | Balances::transfer_allow_death(RuntimeOrigin::signed(11), 21, 1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | Balances::transfer_allow_death(RuntimeOrigin::signed(11), 21, 1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(11), 21, 1)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(11), 21, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | Balances::reserve(&11, 2), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | assert_noop!(Balances::reserve(&11, 1), DispatchError::ConsumerRemaining); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests/bonding.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | assert_ok!(Balances::reserve(&11, 500)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | Staking::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 109 - Staking::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] 109 + crate::HoldReason::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 109 - Staking::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] 109 + String::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | Staking::bond(RuntimeOrigin::signed(1), 9, RewardDestination::Staked), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 114 - assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] 114 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 114 - assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] 114 + assert_ok!(String::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 10, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | Staking::ledger(21.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 128 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 128 + crate::HoldReason::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 128 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 128 + String::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 138 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] 138 + assert_ok!(crate::HoldReason::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 138 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] 138 + assert_ok!(String::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 999 * ed)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 141 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] 141 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 141 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] 141 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:141:42 [INFO] [stdout] | [INFO] [stdout] 141 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(21), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Staking::ledger(21.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 145 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 145 + crate::HoldReason::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 145 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 145 + String::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 163 - assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] 163 + assert_ok!(crate::HoldReason::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 163 - assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] 163 + assert_ok!(String::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | assert_ok!(Staking::bond(RuntimeOrigin::signed(1), 100, RewardDestination::Staked)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(Staking::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 164 - assert_eq!(Staking::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] 164 + assert_eq!(crate::HoldReason::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 164 - assert_eq!(Staking::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] 164 + assert_eq!(String::ledger(1.into()).unwrap().total, 10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 172 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 172 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 172 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 172 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 185 - assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] 185 + assert_ok!(crate::HoldReason::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 185 - assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] 185 + assert_ok!(String::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 189 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 189 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 189 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 189 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 199 - assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] 199 + assert_ok!(crate::HoldReason::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 199 - assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] 199 + assert_ok!(String::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 203 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 203 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 203 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 203 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 228 - assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] 228 + assert_noop!(crate::HoldReason::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 228 - assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] 228 + assert_noop!(String::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | assert_noop!(Staking::bond_extra(RuntimeOrigin::signed(31), 10), Error::::BadState); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 238 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 238 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 238 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 238 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 247 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 247 + crate::HoldReason::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 247 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 247 + String::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 253 | Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 253 - Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] 253 + crate::HoldReason::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 253 - Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] 253 + String::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 256 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 256 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 256 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 256 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 266 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 266 + crate::HoldReason::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 266 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 266 + String::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 275 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 275 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 275 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 275 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 285 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 285 + crate::HoldReason::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 285 - Staking::eras_stakers(active_era(), &11), [INFO] [stdout] 285 + String::eras_stakers(active_era(), &11), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | Staking::ledger(21.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 299 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 299 + crate::HoldReason::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 299 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 299 + String::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | assert_ok!(Staking::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 309 - assert_ok!(Staking::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] 309 + assert_ok!(crate::HoldReason::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 309 - assert_ok!(Staking::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] 309 + assert_ok!(String::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:309:30 [INFO] [stdout] | [INFO] [stdout] 309 | assert_ok!(Staking::chill(RuntimeOrigin::signed(21))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 310 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] 310 + assert_ok!(crate::HoldReason::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 310 - assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] 310 + assert_ok!(String::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(21), 11 * 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | Staking::ledger(21.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 313 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 313 + crate::HoldReason::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 313 - Staking::ledger(21.into()).unwrap(), [INFO] [stdout] 313 + String::ledger(21.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | Staking::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 327 - Staking::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] 327 + crate::HoldReason::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 327 - Staking::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] 327 + String::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | Staking::bond_extra(RuntimeOrigin::signed(21), 5), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 338 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 338 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 338 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 338 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:348:3 [INFO] [stdout] | [INFO] [stdout] 348 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 348 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 348 + crate::HoldReason::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 348 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 348 + String::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 356 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 356 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 356 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 356 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 366 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 366 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 366 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 366 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:366:41 [INFO] [stdout] | [INFO] [stdout] 366 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 371 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 371 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 371 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 371 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 382 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 382 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 382 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 382 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:382:41 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 386 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 386 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 386 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 386 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 398 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 398 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 398 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 398 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:403:4 [INFO] [stdout] | [INFO] [stdout] 403 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 403 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 403 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 403 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 403 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 415 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 415 + assert_ok!(crate::HoldReason::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 415 - assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] 415 + assert_ok!(String::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:415:41 [INFO] [stdout] | [INFO] [stdout] 415 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 423 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 423 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 423 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 423 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:434:4 [INFO] [stdout] | [INFO] [stdout] 434 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 434 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 434 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 434 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 434 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:444:3 [INFO] [stdout] | [INFO] [stdout] 444 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 444 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 444 + crate::HoldReason::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 444 - Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] 444 + String::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:444:19 [INFO] [stdout] | [INFO] [stdout] 444 | Staking::unbond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 452 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 452 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 452 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 452 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:464:3 [INFO] [stdout] | [INFO] [stdout] 464 | Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 464 - Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] 464 + crate::HoldReason::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 464 - Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] 464 + String::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests/bonding.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | Staking::unbond(RuntimeOrigin::signed(11), 250).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests/bonding.rs:472:4 [INFO] [stdout] | [INFO] [stdout] 472 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::HoldReason::Staking`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 472 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 472 + crate::HoldReason::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 472 - Staking::ledger(11.into()).unwrap(), [INFO] [stdout] 472 + String::ledger(11.into()).unwrap(), [INFO] [stdout] | [INFO] [stdout] [WARN] too many lines in the log, truncating it