[INFO] fetching crate pallet-staking 26.0.0... [INFO] checking pallet-staking-26.0.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate pallet-staking 26.0.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate pallet-staking 26.0.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-staking 26.0.0 [INFO] finished tweaking crates.io crate pallet-staking 26.0.0 [INFO] tweaked toml for crates.io crate pallet-staking 26.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 407 packages [INFO] [stderr] Adding addr2line v0.19.0 (latest: v0.21.0) [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding aquamarine v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding arrayvec v0.5.2 (latest: v0.7.4) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.0) [INFO] [stderr] Adding bitcoin_hashes v0.11.0 (latest: v0.14.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding block-buffer v0.7.3 (latest: v0.10.4) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (latest: v0.3.3) [INFO] [stderr] Adding bounded-collections v0.1.9 (latest: v0.2.0) [INFO] [stderr] Adding constcat v0.3.1 (latest: v0.5.0) [INFO] [stderr] Adding cpp_demangle v0.3.5 (latest: v0.4.3) [INFO] [stderr] Adding cranelift-entity v0.95.1 (latest: v0.106.0) [INFO] [stderr] Adding crypto-mac v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding curve25519-dalek v2.1.3 (latest: v4.1.2) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (latest: v4.1.2) [INFO] [stderr] Adding derive-syn-parse v0.1.5 (latest: v0.2.0) [INFO] [stderr] Adding digest v0.8.1 (latest: v0.10.7) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v3.1.0 (latest: v4.0.3) [INFO] [stderr] Adding fallible-iterator v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding frame-benchmarking v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding frame-election-provider-solution-type v12.0.0 (latest: v13.0.0) [INFO] [stderr] Adding frame-election-provider-support v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding frame-support v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding frame-support-procedural v21.0.0 (latest: v26.0.0) [INFO] [stderr] Adding frame-support-procedural-tools v9.0.0 (latest: v11.0.0) [INFO] [stderr] Adding frame-support-procedural-tools-derive v10.0.0 (latest: v12.0.0) [INFO] [stderr] Adding frame-system v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding gimli v0.27.3 (latest: v0.28.1) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.3) [INFO] [stderr] Adding hmac v0.8.1 (latest: v0.12.1) [INFO] [stderr] Adding hmac v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding io-lifetimes v1.0.11 (latest: v2.0.3) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding linux-raw-sys v0.1.4 (latest: v0.6.4) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding matchers v0.0.1 (latest: v0.1.0) [INFO] [stderr] Adding memoffset v0.8.0 (latest: v0.9.1) [INFO] [stderr] Adding merlin v2.0.1 (latest: v3.0.0) [INFO] [stderr] Adding object v0.30.4 (latest: v0.34.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding opaque-debug v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding pallet-authorship v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding pallet-session v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding pallet-timestamp v25.0.0 (latest: v30.0.0) [INFO] [stderr] Adding pbkdf2 v0.8.0 (latest: v0.12.2) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.1.0) [INFO] [stderr] Adding proc-macro-crate v2.0.2 (latest: v3.1.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.6) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.3) [INFO] [stderr] Adding rustix v0.36.17 (latest: v0.38.32) [INFO] [stderr] Adding schnorrkel v0.9.1 (latest: v0.11.4) [INFO] [stderr] Adding secp256k1 v0.24.3 (latest: v0.28.2) [INFO] [stderr] Adding secp256k1-sys v0.6.1 (latest: v0.9.2) [INFO] [stderr] Adding sha2 v0.8.2 (latest: v0.10.8) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding sp-api v24.0.0 (latest: v29.0.0) [INFO] [stderr] Adding sp-api-proc-macro v13.0.0 (latest: v17.0.0) [INFO] [stderr] Adding sp-application-crypto v28.0.0 (latest: v33.0.0) [INFO] [stderr] Adding sp-arithmetic v21.0.0 (latest: v25.0.0) [INFO] [stderr] Adding sp-core v26.0.0 (latest: v31.0.0) [INFO] [stderr] Adding sp-core-hashing v13.0.0 (latest: v16.0.0) [INFO] [stderr] Adding sp-core-hashing-proc-macro v13.0.0 (latest: v16.0.0) [INFO] [stderr] Adding sp-debug-derive v12.0.0 (latest: v14.0.0) [INFO] [stderr] Adding sp-externalities v0.23.0 (latest: v0.27.0) [INFO] [stderr] Adding sp-genesis-builder v0.5.0 (latest: v0.10.0) [INFO] [stderr] Adding sp-inherents v24.0.0 (latest: v29.0.0) [INFO] [stderr] Adding sp-io v28.0.0 (latest: v33.0.0) [INFO] [stderr] Adding sp-keystore v0.32.0 (latest: v0.37.0) [INFO] [stderr] Adding sp-metadata-ir v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding sp-npos-elections v24.0.0 (latest: v29.0.0) [INFO] [stderr] Adding sp-panic-handler v12.0.0 (latest: v13.0.0) [INFO] [stderr] Adding sp-runtime v29.0.0 (latest: v34.0.0) [INFO] [stderr] Adding sp-runtime-interface v22.0.0 (latest: v26.0.0) [INFO] [stderr] Adding sp-runtime-interface-proc-macro v15.0.0 (latest: v18.0.0) [INFO] [stderr] Adding sp-session v25.0.0 (latest: v30.0.0) [INFO] [stderr] Adding sp-staking v24.0.0 (latest: v29.0.0) [INFO] [stderr] Adding sp-state-machine v0.33.0 (latest: v0.38.0) [INFO] [stderr] Adding sp-std v12.0.0 (latest: v14.0.0) [INFO] [stderr] Adding sp-storage v17.0.0 (latest: v20.0.0) [INFO] [stderr] Adding sp-timestamp v24.0.0 (latest: v29.0.0) [INFO] [stderr] Adding sp-tracing v14.0.0 (latest: v16.0.0) [INFO] [stderr] Adding sp-trie v27.0.0 (latest: v32.0.0) [INFO] [stderr] Adding sp-version v27.0.0 (latest: v32.0.0) [INFO] [stderr] Adding sp-version-proc-macro v12.0.0 (latest: v13.0.0) [INFO] [stderr] Adding sp-wasm-interface v18.0.0 (latest: v20.0.0) [INFO] [stderr] Adding sp-weights v25.0.0 (latest: v30.0.0) [INFO] [stderr] Adding substrate-bip39 v0.4.6 (latest: v0.5.0) [INFO] [stderr] Adding subtle v2.4.1 (latest: v2.5.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding toml v0.8.2 (latest: v0.8.12) [INFO] [stderr] Adding toml_datetime v0.6.3 (latest: v0.6.5) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.9) [INFO] [stderr] Adding toml_edit v0.20.2 (latest: v0.22.9) [INFO] [stderr] Adding tracing-log v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (latest: v0.3.18) [INFO] [stderr] Adding unicode-normalization v0.1.22 (latest: v0.1.23) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasmparser v0.102.0 (latest: v0.202.0) [INFO] [stderr] Adding wasmtime v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-asm-macros v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-environ v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-jit v8.0.1 (latest: v17.0.2) [INFO] [stderr] Adding wasmtime-jit-debug v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-jit-icache-coherence v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-runtime v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding wasmtime-types v8.0.1 (latest: v19.0.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] [stderr] Adding windows-sys v0.45.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.5) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-session v26.0.0 [INFO] [stderr] Downloaded frame-election-provider-solution-type v12.0.0 [INFO] [stderr] Downloaded sp-session v25.0.0 [INFO] [stderr] Downloaded pallet-authorship v26.0.0 [INFO] [stderr] Downloaded sp-timestamp v24.0.0 [INFO] [stderr] Downloaded frame-election-provider-support v26.0.0 [INFO] [stderr] Downloaded pallet-timestamp v25.0.0 [INFO] [stderr] Downloaded sp-npos-elections v24.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23415bdeebba09e34beb7cd1f2da3286c7645fb8a6a0e8fffbea6671bdf2d0a5 [INFO] running `Command { std: "docker" "start" "-a" "23415bdeebba09e34beb7cd1f2da3286c7645fb8a6a0e8fffbea6671bdf2d0a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23415bdeebba09e34beb7cd1f2da3286c7645fb8a6a0e8fffbea6671bdf2d0a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23415bdeebba09e34beb7cd1f2da3286c7645fb8a6a0e8fffbea6671bdf2d0a5", kill_on_drop: false }` [INFO] [stdout] 23415bdeebba09e34beb7cd1f2da3286c7645fb8a6a0e8fffbea6671bdf2d0a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f200a5b5dd1ccef06fd16cf72b6852afc4b77a1f23e4314810cae2fee6027b69 [INFO] running `Command { std: "docker" "start" "-a" "f200a5b5dd1ccef06fd16cf72b6852afc4b77a1f23e4314810cae2fee6027b69", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking sp-std v12.0.0 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling wasmtime-runtime v8.0.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking wasmtime-jit-debug v8.0.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking wasmtime-asm-macros v8.0.1 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v8.0.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling wasmtime v8.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking trie-db v0.28.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking schnellru v0.2.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling prettier-please v0.2.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling sp-io v28.0.0 [INFO] [stderr] Compiling expander v2.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-warning v1.0.2 [INFO] [stderr] Compiling sp-core-hashing v13.0.0 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling sp-debug-derive v12.0.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v10.0.0 [INFO] [stderr] Compiling sp-core-hashing-proc-macro v13.0.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking sp-panic-handler v12.0.0 [INFO] [stderr] Compiling aquamarine v0.3.3 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling macro_magic_core v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.0 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling macro_magic v0.5.0 [INFO] [stderr] Checking substrate-bip39 v0.4.6 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking cranelift-entity v0.95.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking bip39 v2.0.0 [INFO] [stderr] Checking wasmparser v0.102.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Compiling ss58-registry v1.47.0 [INFO] [stderr] Checking wasmtime-types v8.0.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling frame-support-procedural-tools v9.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling docify_macros v0.2.7 [INFO] [stderr] Compiling scale-info-derive v2.11.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v13.0.0 [INFO] [stderr] Compiling frame-support-procedural v21.0.0 [INFO] [stderr] Compiling frame-election-provider-solution-type v12.0.0 [INFO] [stderr] Checking wasmtime-environ v8.0.1 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking docify v0.2.7 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Checking scale-info v2.11.1 [INFO] [stderr] Checking sp-storage v17.0.0 [INFO] [stderr] Checking wasmtime-jit v8.0.1 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking sp-tracing v14.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v12.0.0 [INFO] [stderr] Checking sp-externalities v0.23.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking bounded-collections v0.1.9 [INFO] [stderr] Checking sp-arithmetic v21.0.0 [INFO] [stderr] Checking frame-metadata v16.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.4.0 [INFO] [stderr] Checking sp-wasm-interface v18.0.0 [INFO] [stderr] Checking sp-runtime-interface v22.0.0 [INFO] [stderr] Checking sp-core v26.0.0 [INFO] [stderr] Checking sp-trie v27.0.0 [INFO] [stderr] Checking sp-keystore v0.32.0 [INFO] [stderr] Checking sp-weights v25.0.0 [INFO] [stderr] Checking sp-state-machine v0.33.0 [INFO] [stderr] Checking sp-application-crypto v28.0.0 [INFO] [stderr] Checking sp-runtime v29.0.0 [INFO] [stderr] Checking sp-version v27.0.0 [INFO] [stderr] Checking sp-staking v24.0.0 [INFO] [stderr] Checking sp-inherents v24.0.0 [INFO] [stderr] Checking sp-npos-elections v24.0.0 [INFO] [stderr] Checking sp-api v24.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.5.0 [INFO] [stderr] Checking sp-session v25.0.0 [INFO] [stderr] Checking frame-support v26.0.0 [INFO] [stderr] Checking sp-timestamp v24.0.0 [INFO] [stderr] Checking frame-system v26.0.0 [INFO] [stderr] Checking pallet-timestamp v25.0.0 [INFO] [stderr] Checking pallet-authorship v26.0.0 [INFO] [stderr] Checking frame-election-provider-support v26.0.0 [INFO] [stderr] Checking pallet-session v26.0.0 [INFO] [stderr] Checking pallet-staking v26.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ValueQuery` is imported redundantly [INFO] [stdout] --> src/migrations.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | -------- the item `ValueQuery` is already imported here [INFO] [stdout] 155 | use frame_support::{pallet_prelude::ValueQuery, storage_alias}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GetStorageVersion` is imported redundantly [INFO] [stdout] --> src/migrations.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 210 | use super::*; [INFO] [stdout] | -------- the item `GetStorageVersion` is already imported here [INFO] [stdout] ... [INFO] [stdout] 213 | traits::{GetStorageVersion, PalletInfoAccess}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Config` is imported redundantly [INFO] [stdout] --> src/migrations.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Config` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Nominators` is imported redundantly [INFO] [stdout] --> src/migrations.rs:419:22 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Nominators` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pallet` is imported redundantly [INFO] [stdout] --> src/migrations.rs:419:34 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Pallet` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migrations.rs:419:42 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Weight` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SortedListProvider` is imported redundantly [INFO] [stdout] --> src/migrations.rs:420:6 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `SortedListProvider` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] 420 | use frame_election_provider_support::SortedListProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Get` is imported redundantly [INFO] [stdout] --> src/migrations.rs:421:6 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Get` is already imported here [INFO] [stdout] ... [INFO] [stdout] 421 | use frame_support::traits::Get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Get` is imported redundantly [INFO] [stdout] --> src/migrations.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 505 | use super::*; [INFO] [stdout] | -------- the item `Get` is already imported here [INFO] [stdout] 506 | use frame_support::{storage_alias, traits::Get, weights::Weight}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migrations.rs:506:50 [INFO] [stdout] | [INFO] [stdout] 505 | use super::*; [INFO] [stdout] | -------- the item `Weight` is already imported here [INFO] [stdout] 506 | use frame_support::{storage_alias, traits::Get, weights::Weight}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/slashing.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use sp_std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Get` is imported redundantly [INFO] [stdout] --> src/pallet/impls.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 28 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Get` is already imported here [INFO] [stdout] 29 | traits::{ [INFO] [stdout] 30 | Currency, Defensive, EstimateNextNewSession, Get, Imbalance, Len, OnUnbalanced, TryCollect, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/pallet/impls.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 28 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] ... [INFO] [stdout] 33 | weights::Weight, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/election_size_tracker.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 179 | use sp_core::bounded_vec; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `sp_application_crypto::sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_benchmarking` [INFO] [stdout] --> src/testing_utils.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use frame_benchmarking::account; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `sp_application_crypto::sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_balances` [INFO] [stdout] --> src/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pallet_balances::Error as BalancesError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::mock::Staking`, `crate::mock::Test` [INFO] [stdout] --> src/election_size_tracker.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | mock::{AccountId, Staking, Test}, [INFO] [stdout] | ^^^^^^^ ^^^^ no `Test` in `mock` [INFO] [stdout] | | [INFO] [stdout] | no `Staking` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] --> src/inflation.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 56 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] --> src/mock.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | VoterBagsList: pallet_bags_list::, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let stash = Ledger::::get(&controller).unwrap().stash; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 82 | pub fn is_disabled(controller: AccountId) -> bool { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | 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] 92 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 132 | type RuntimeOrigin = Self::RuntimeOrigin; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 134 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 140 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | type PalletInfo = PalletInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 143 | type PalletInfo = 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 `Test` in this scope [INFO] [stdout] --> src/mock.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | impl pallet_balances::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:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | type AccountStore = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [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:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | impl pallet_session::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:175:71 [INFO] [stdout] | [INFO] [stdout] 175 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | impl pallet_session::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:175:77 [INFO] [stdout] | [INFO] [stdout] 175 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 175 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | impl pallet_session::Config for Test { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 179 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 181 | type ValidatorIdOf = crate::StashOf; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | impl pallet_session::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:186:45 [INFO] [stdout] | [INFO] [stdout] 186 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | type FullIdentificationOf = crate::ExposureOf; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 186 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:190:36 [INFO] [stdout] | [INFO] [stdout] 190 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:192:29 [INFO] [stdout] | [INFO] [stdout] 192 | type EventHandler = Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 190 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 195 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/mock.rs:214:62 [INFO] [stdout] | [INFO] [stdout] 214 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &I_NPOS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | 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] 224 | 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:225:55 [INFO] [stdout] | [INFO] [stdout] 225 | 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] 224 | 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:248:58 [INFO] [stdout] | [INFO] [stdout] 248 | 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:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | 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:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | type ScoreProvider = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | 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:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:268:39 [INFO] [stdout] | [INFO] [stdout] 268 | 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] 268 | 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:269:42 [INFO] [stdout] | [INFO] [stdout] 269 | 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] 268 | 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:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | (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:276:50 [INFO] [stdout] | [INFO] [stdout] 276 | (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:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | impl crate::pallet::pallet::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub(crate) type Balance = u128; [INFO] [stdout] | ------------------------------- similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 293 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timestamp` in this scope [INFO] [stdout] --> src/mock.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 295 | type UnixTime = Timestamp; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 298 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | type NextNewSession = Session; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterBagsList` in this scope [INFO] [stdout] --> src/mock.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 313 | 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:342:43 [INFO] [stdout] | [INFO] [stdout] 342 | pub(crate) type StakingCall = crate::Call; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 342 | pub(crate) type StakingCall = crate::Call; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:343:29 [INFO] [stdout] | [INFO] [stdout] 343 | pub(crate) type TestCall = ::RuntimeCall; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/mock.rs:455:3 [INFO] [stdout] | [INFO] [stdout] 455 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 455 | 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:456:51 [INFO] [stdout] | [INFO] [stdout] 456 | 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] 379 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:458:44 [INFO] [stdout] | [INFO] [stdout] 458 | let _ = pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 379 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:533:43 [INFO] [stdout] | [INFO] [stdout] 533 | let _ = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 379 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:545:43 [INFO] [stdout] | [INFO] [stdout] 545 | let _ = pallet_session::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 379 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 568 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:570:6 [INFO] [stdout] | [INFO] [stdout] 570 | >::on_initialize(1); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/mock.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | Timestamp::set_timestamp(INIT_TIMESTAMP); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/mock.rs:578:3 [INFO] [stdout] | [INFO] [stdout] 578 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 578 | 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:582:26 [INFO] [stdout] | [INFO] [stdout] 582 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:621:23 [INFO] [stdout] | [INFO] [stdout] 621 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [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:622:12 [INFO] [stdout] | [INFO] [stdout] 622 | for b in (System::block_number() + 1)..=n { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [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:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | System::set_block_number(b); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:625:4 [INFO] [stdout] | [INFO] [stdout] 625 | >::on_initialize(b); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/mock.rs:626:3 [INFO] [stdout] | [INFO] [stdout] 626 | Timestamp::set_timestamp(System::block_number() * BLOCK_TIME + INIT_TIMESTAMP); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:626:28 [INFO] [stdout] | [INFO] [stdout] 626 | Timestamp::set_timestamp(System::block_number() * BLOCK_TIME + INIT_TIMESTAMP); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [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:628:25 [INFO] [stdout] | [INFO] [stdout] 628 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [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:667:25 [INFO] [stdout] | [INFO] [stdout] 667 | let (payout, _rest) = ::EraPayout::era_payout( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:677:24 [INFO] [stdout] | [INFO] [stdout] 677 | 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:707:17 [INFO] [stdout] | [INFO] [stdout] 707 | let rewards = ::SessionInterface::validators().into_iter().map(|v| (v, 1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:709:10 [INFO] [stdout] | [INFO] [stdout] 709 | >::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] 706 | pub(crate) fn reward_all_elected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:722:51 [INFO] [stdout] | [INFO] [stdout] 722 | pallet_session::historical::IdentificationTuple, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 719 | pub(crate) fn on_offence_in_era( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:728:40 [INFO] [stdout] | [INFO] [stdout] 728 | let bonded_eras = crate::BondedEras::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 719 | pub(crate) fn on_offence_in_era( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:753:51 [INFO] [stdout] | [INFO] [stdout] 753 | pallet_session::historical::IdentificationTuple, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 750 | pub(crate) fn on_offence_now( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:773:50 [INFO] [stdout] | [INFO] [stdout] 773 | 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] 772 | 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:781:24 [INFO] [stdout] | [INFO] [stdout] 781 | 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] 772 | 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:782:28 [INFO] [stdout] | [INFO] [stdout] 782 | for page in 0..EraInfo::::get_page_count(era, &ledger.stash) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 772 | 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:794:10 [INFO] [stdout] | [INFO] [stdout] 794 | >::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] 793 | 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:795:10 [INFO] [stdout] | [INFO] [stdout] 795 | >::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] 793 | 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:797:10 [INFO] [stdout] | [INFO] [stdout] 797 | >::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] 793 | 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:798:10 [INFO] [stdout] | [INFO] [stdout] 798 | >::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] 793 | 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:798:53 [INFO] [stdout] | [INFO] [stdout] 798 | >::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] 793 | 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:823:52 [INFO] [stdout] | [INFO] [stdout] 823 | 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] 823 | 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:824:2 [INFO] [stdout] | [INFO] [stdout] 824 | System::events() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [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:840:68 [INFO] [stdout] | [INFO] [stdout] 840 | 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] 840 | 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:841:20 [INFO] [stdout] | [INFO] [stdout] 841 | let all: Vec<_> = System::events() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(MinNominatorBond::::get(), 1_500); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(MinValidatorBond::::get(), 2_000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(MaxNominatorsCount::::get(), Some(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(MaxValidatorsCount::::get(), Some(20)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(ChillThreshold::::get(), Some(Percent::from_percent(75))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(MinCommission::::get(), Perbill::from_percent(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | 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] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | 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] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | 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] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | 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] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | 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] 48 | fn set_staking_configs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | Error::::IncorrectSlashingSpans [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 98 | fn force_unstake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:133:53 [INFO] [stdout] | [INFO] [stdout] 133 | assert_noop!(Staking::kill_stash(&12, 0), Error::::NotStash); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 126 | fn kill_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:135:53 [INFO] [stdout] | [INFO] [stdout] 135 | assert_noop!(Staking::kill_stash(&11, 0), Error::::IncorrectSlashingSpans); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 126 | fn kill_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:157:27 [INFO] [stdout] | [INFO] [stdout] 157 | StakingLedgerInspect:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 144 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | StakingLedgerInspect:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 144 | fn basic_setup_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:239:77 [INFO] [stdout] | [INFO] [stdout] 239 | 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] 237 | fn change_controller_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | 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] 237 | fn change_controller_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | Error::::AlreadyPaired [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 268 | fn change_controller_already_paired_once_stash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | 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] 268 | fn change_controller_already_paired_once_stash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:301:11 [INFO] [stdout] | [INFO] [stdout] 301 | 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] 294 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 302 | Payee::::insert(21, 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] 294 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:303:11 [INFO] [stdout] | [INFO] [stdout] 303 | Payee::::insert(101, 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] 294 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | Pallet::::reward_by_ids(vec![(11, 50)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 294 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | Pallet::::reward_by_ids(vec![(11, 50)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 294 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | Pallet::::reward_by_ids(vec![(21, 50)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 294 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 294 | fn rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:475:60 [INFO] [stdout] | [INFO] [stdout] 475 | assert_noop!(Balances::reserve(&3, 501), BalancesError::::LiquidityRestrictions); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 407 | fn staking_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:495:28 [INFO] [stdout] | [INFO] [stdout] 495 | 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] 481 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | 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] 481 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | 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] 481 | fn blocking_and_kicking_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:526:31 [INFO] [stdout] | [INFO] [stdout] 526 | assert!(ErasStakersPaged::::iter_prefix_values((active_era(),)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 509 | fn less_than_needed_candidates_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:542:17 [INFO] [stdout] | [INFO] [stdout] 542 | Validators::::insert(11, prefs.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 532 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:545:28 [INFO] [stdout] | [INFO] [stdout] 545 | MinimumValidatorCount::::put(11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 532 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:551:35 [INFO] [stdout] | [INFO] [stdout] 551 | let current_era = CurrentEra::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 532 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:557:41 [INFO] [stdout] | [INFO] [stdout] 557 | assert_eq!(current_era, CurrentEra::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 532 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:566:26 [INFO] [stdout] | [INFO] [stdout] 566 | assert!(!Validators::::contains_key(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 532 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:568:41 [INFO] [stdout] | [INFO] [stdout] 568 | assert_eq!(current_era, CurrentEra::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 532 | fn no_candidate_emergency_condition() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | Pallet::::reward_by_ids(vec![(41, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 573 | fn nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:629:13 [INFO] [stdout] | [INFO] [stdout] 629 | Pallet::::reward_by_ids(vec![(21, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 573 | fn nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:644:34 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(ErasStakersPaged::::iter_prefix_values((active_era(),)).count(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 573 | fn nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:670:13 [INFO] [stdout] | [INFO] [stdout] 670 | Pallet::::reward_by_ids(vec![(21, 2)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 573 | fn nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 573 | fn nominating_and_rewards_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:774:77 [INFO] [stdout] | [INFO] [stdout] 774 | 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] 767 | fn double_staking_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:789:12 [INFO] [stdout] | [INFO] [stdout] 789 | 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] 767 | fn double_staking_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:794:12 [INFO] [stdout] | [INFO] [stdout] 794 | 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] 767 | fn double_staking_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:808:68 [INFO] [stdout] | [INFO] [stdout] 808 | let (stash, _) = testing_utils::create_unique_stash_controller::( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 802 | fn double_controlling_attempt_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:823:12 [INFO] [stdout] | [INFO] [stdout] 823 | 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] 802 | fn double_controlling_attempt_should_fail() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:834:14 [INFO] [stdout] | [INFO] [stdout] 834 | assert_eq!(System::block_number(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:840:14 [INFO] [stdout] | [INFO] [stdout] 840 | assert_eq!(System::block_number(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:846:14 [INFO] [stdout] | [INFO] [stdout] 846 | assert_eq!(System::block_number(), 2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:852:14 [INFO] [stdout] | [INFO] [stdout] 852 | assert_eq!(System::block_number(), 3); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:858:14 [INFO] [stdout] | [INFO] [stdout] 858 | assert_eq!(System::block_number(), 4); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:864:14 [INFO] [stdout] | [INFO] [stdout] 864 | assert_eq!(System::block_number(), 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:870:14 [INFO] [stdout] | [INFO] [stdout] 870 | assert_eq!(System::block_number(), 6); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:879:14 [INFO] [stdout] | [INFO] [stdout] 879 | assert_eq!(System::block_number(), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:884:14 [INFO] [stdout] | [INFO] [stdout] 884 | assert_eq!(System::block_number(), 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:889:14 [INFO] [stdout] | [INFO] [stdout] 889 | assert_eq!(System::block_number(), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:894:14 [INFO] [stdout] | [INFO] [stdout] 894 | assert_eq!(System::block_number(), 15); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:899:14 [INFO] [stdout] | [INFO] [stdout] 899 | assert_eq!(System::block_number(), 20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:904:14 [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(System::block_number(), 25); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:909:14 [INFO] [stdout] | [INFO] [stdout] 909 | assert_eq!(System::block_number(), 30); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:966:25 [INFO] [stdout] | [INFO] [stdout] 966 | 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] 914 | fn forcing_new_era_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1031:59 [INFO] [stdout] | [INFO] [stdout] 1031 | assert_noop!(Balances::reserve(&11, 1), BalancesError::::LiquidityRestrictions); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1021 | fn cannot_reserve_staked_balance() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1064:12 [INFO] [stdout] | [INFO] [stdout] 1064 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1041 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1089:10 [INFO] [stdout] | [INFO] [stdout] 1089 | >::insert(&11, RewardDestination::Stash); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1041 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1093:12 [INFO] [stdout] | [INFO] [stdout] 1093 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1041 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1120:10 [INFO] [stdout] | [INFO] [stdout] 1120 | >::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] 1041 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1127:12 [INFO] [stdout] | [INFO] [stdout] 1127 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1041 | fn reward_destination_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1160:15 [INFO] [stdout] | [INFO] [stdout] 1160 | >::insert(&11, ValidatorPrefs { commission, ..Default::default() }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1154 | fn validator_payment_prefs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1163:10 [INFO] [stdout] | [INFO] [stdout] 1163 | >::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] 1154 | fn validator_payment_prefs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1164:10 [INFO] [stdout] | [INFO] [stdout] 1164 | >::insert(&101, 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] 1154 | fn validator_payment_prefs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1175:12 [INFO] [stdout] | [INFO] [stdout] 1175 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1154 | fn validator_payment_prefs_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1196:23 [INFO] [stdout] | [INFO] [stdout] 1196 | 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] 1190 | fn bond_extra_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1390:32 [INFO] [stdout] | [INFO] [stdout] 1390 | let max_unlocking_chunks = <::MaxUnlockingChunks as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1407:6 [INFO] [stdout] | [INFO] [stdout] 1407 | <::MaxUnlockingChunks as Get>::get() as usize [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1422:6 [INFO] [stdout] | [INFO] [stdout] 1422 | <::BondingDuration>::get() as usize [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1447:71 [INFO] [stdout] | [INFO] [stdout] 1447 | assert_noop!(Staking::unbond(RuntimeOrigin::signed(11), 1), Error::::NoMoreChunks); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1428 | fn auto_withdraw_may_not_unlock_all_chunks() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1489:73 [INFO] [stdout] | [INFO] [stdout] 1489 | assert_noop!(Staking::rebond(RuntimeOrigin::signed(11), 500), Error::::NoUnlockChunk); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1457 | fn rebond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1750:24 [INFO] [stdout] | [INFO] [stdout] 1750 | assert!(>::contains_key(&11) && >::contains_key(&21)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1741 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1750:65 [INFO] [stdout] | [INFO] [stdout] 1750 | assert!(>::contains_key(&11) && >::contains_key(&21)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1741 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1760:14 [INFO] [stdout] | [INFO] [stdout] 1760 | EraInfo::::set_exposure(0, &21, Exposure { total: 69, own: 69, others: vec![] }); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1741 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1761:12 [INFO] [stdout] | [INFO] [stdout] 1761 | >::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1741 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1774:13 [INFO] [stdout] | [INFO] [stdout] 1774 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1741 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1775:13 [INFO] [stdout] | [INFO] [stdout] 1775 | Pallet::::reward_by_ids(vec![(21, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1741 | fn reward_to_stake_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1806:20 [INFO] [stdout] | [INFO] [stdout] 1806 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1807:20 [INFO] [stdout] | [INFO] [stdout] 1807 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1808:24 [INFO] [stdout] | [INFO] [stdout] 1808 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1809:19 [INFO] [stdout] | [INFO] [stdout] 1809 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1814:13 [INFO] [stdout] | [INFO] [stdout] 1814 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1819:13 [INFO] [stdout] | [INFO] [stdout] 1819 | Ledger::::insert(11, StakingLedger::::new(11, 5)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1819:47 [INFO] [stdout] | [INFO] [stdout] 1819 | Ledger::::insert(11, StakingLedger::::new(11, 5)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1825:21 [INFO] [stdout] | [INFO] [stdout] 1825 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1826:21 [INFO] [stdout] | [INFO] [stdout] 1826 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1827:25 [INFO] [stdout] | [INFO] [stdout] 1827 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1828:20 [INFO] [stdout] | [INFO] [stdout] 1828 | 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] 1797 | fn reap_stash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1932:13 [INFO] [stdout] | [INFO] [stdout] 1932 | 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] 1919 | fn bond_with_no_staked_value() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2047:17 [INFO] [stdout] | [INFO] [stdout] 2047 | >::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2038 | fn bond_with_duplicate_vote_should_be_ignored_by_election_provider() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2053:24 [INFO] [stdout] | [INFO] [stdout] 2053 | assert!(>::iter().map(|(n, _)| n).collect::>().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2038 | fn bond_with_duplicate_vote_should_be_ignored_by_election_provider() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2077:20 [INFO] [stdout] | [INFO] [stdout] 2077 | let supports = ::ElectionProvider::elect().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2099:17 [INFO] [stdout] | [INFO] [stdout] 2099 | >::iter() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2089 | fn bond_with_duplicate_vote_should_be_ignored_by_election_provider_elected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2106:24 [INFO] [stdout] | [INFO] [stdout] 2106 | assert!(>::iter().collect::>().is_empty()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2089 | fn bond_with_duplicate_vote_should_be_ignored_by_election_provider_elected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2129:20 [INFO] [stdout] | [INFO] [stdout] 2129 | let supports = ::ElectionProvider::elect().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2146:26 [INFO] [stdout] | [INFO] [stdout] 2146 | Session::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2196:22 [INFO] [stdout] | [INFO] [stdout] 2196 | ErasRewardPoints::::insert(0, reward); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2178 | fn reward_validator_slashing_validator_does_not_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2197:13 [INFO] [stdout] | [INFO] [stdout] 2197 | EraInfo::::set_exposure(0, &11, exposure); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2178 | fn reward_validator_slashing_validator_does_not_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2198:25 [INFO] [stdout] | [INFO] [stdout] 2198 | ErasValidatorReward::::insert(0, stake); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2178 | fn reward_validator_slashing_validator_does_not_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2209:13 [INFO] [stdout] | [INFO] [stdout] 2209 | EraInfo::::set_exposure( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2178 | fn reward_validator_slashing_validator_does_not_overflow() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2238:41 [INFO] [stdout] | [INFO] [stdout] 2238 | assert_eq!(>::author(), Some(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2234 | fn reward_from_authorship_event_handler_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2240:12 [INFO] [stdout] | [INFO] [stdout] 2240 | Pallet::::note_author(11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2234 | fn reward_from_authorship_event_handler_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2241:12 [INFO] [stdout] | [INFO] [stdout] 2241 | Pallet::::note_author(11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2234 | fn reward_from_authorship_event_handler_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2249:23 [INFO] [stdout] | [INFO] [stdout] 2249 | ErasRewardPoints::::get(active_era()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2234 | fn reward_from_authorship_event_handler_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2261:12 [INFO] [stdout] | [INFO] [stdout] 2261 | Pallet::::reward_by_ids(vec![(21, 1), (11, 1), (11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2256 | fn add_reward_points_fns_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2263:12 [INFO] [stdout] | [INFO] [stdout] 2263 | Pallet::::reward_by_ids(vec![(21, 1), (11, 1), (11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2256 | fn add_reward_points_fns_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2266:23 [INFO] [stdout] | [INFO] [stdout] 2266 | ErasRewardPoints::::get(active_era()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2256 | fn add_reward_points_fns_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2353:23 [INFO] [stdout] | [INFO] [stdout] 2353 | 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] 2350 | fn offence_deselects_validator_even_when_slash_is_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2364:24 [INFO] [stdout] | [INFO] [stdout] 2364 | 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] 2350 | fn offence_deselects_validator_even_when_slash_is_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2369:24 [INFO] [stdout] | [INFO] [stdout] 2369 | 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] 2350 | fn offence_deselects_validator_even_when_slash_is_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2399:23 [INFO] [stdout] | [INFO] [stdout] 2399 | 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] 2395 | fn slash_in_old_span_does_not_deselect() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2411:24 [INFO] [stdout] | [INFO] [stdout] 2411 | 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] 2395 | fn slash_in_old_span_does_not_deselect() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2417:23 [INFO] [stdout] | [INFO] [stdout] 2417 | 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] 2395 | fn slash_in_old_span_does_not_deselect() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2436:24 [INFO] [stdout] | [INFO] [stdout] 2436 | assert!(Validators::::iter().any(|(stash, _)| stash == 11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2395 | fn slash_in_old_span_does_not_deselect() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2453:24 [INFO] [stdout] | [INFO] [stdout] 2453 | assert!(Validators::::iter().any(|(stash, _)| stash == 11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2395 | fn slash_in_old_span_does_not_deselect() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2652:28 [INFO] [stdout] | [INFO] [stdout] 2652 | assert!(SlashingSpans::::get(&11).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2635 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2653:27 [INFO] [stdout] | [INFO] [stdout] 2653 | assert_eq!(SpanSlash::::get(&(11, 0)).amount(), &200); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2635 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2669:41 [INFO] [stdout] | [INFO] [stdout] 2669 | let slashing_spans = SlashingSpans::::get(&11).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2635 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2675:13 [INFO] [stdout] | [INFO] [stdout] 2675 | Error::::IncorrectSlashingSpans [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2635 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2679:28 [INFO] [stdout] | [INFO] [stdout] 2679 | assert!(SlashingSpans::::get(&11).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2635 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2680:27 [INFO] [stdout] | [INFO] [stdout] 2680 | assert_eq!(SpanSlash::::get(&(11, 0)).amount(), &0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2635 | fn garbage_collection_after_slashing() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2709:33 [INFO] [stdout] | [INFO] [stdout] 2709 | assert!(ValidatorSlashInEra::::get(&now, &11).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2685 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2710:33 [INFO] [stdout] | [INFO] [stdout] 2710 | assert!(NominatorSlashInEra::::get(&now, &101).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2685 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2714:34 [INFO] [stdout] | [INFO] [stdout] 2714 | assert!(ValidatorSlashInEra::::get(&now, &11).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2685 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2715:34 [INFO] [stdout] | [INFO] [stdout] 2715 | assert!(NominatorSlashInEra::::get(&now, &101).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2685 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2720:33 [INFO] [stdout] | [INFO] [stdout] 2720 | assert!(ValidatorSlashInEra::::get(&now, &11).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2685 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2721:33 [INFO] [stdout] | [INFO] [stdout] 2721 | assert!(NominatorSlashInEra::::get(&now, &101).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2685 | fn garbage_collection_on_window_pruning() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2762:44 [INFO] [stdout] | [INFO] [stdout] 2762 | let get_span = |account| SlashingSpans::::get(&account).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2726 | fn slashing_nominators_by_span_max() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2824:44 [INFO] [stdout] | [INFO] [stdout] 2824 | let get_span = |account| SlashingSpans::::get(&account).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2815 | fn slashes_are_summed_across_spans() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2879:3 [INFO] [stdout] | [INFO] [stdout] 2879 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2940:3 [INFO] [stdout] | [INFO] [stdout] 2940 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2978:3 [INFO] [stdout] | [INFO] [stdout] 2978 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3037:13 [INFO] [stdout] | [INFO] [stdout] 3037 | Ledger::::get(101).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3010 | fn staker_cannot_bail_deferred_slash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3070:13 [INFO] [stdout] | [INFO] [stdout] 3070 | Ledger::::get(101).unwrap().unlocking.into_inner(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3010 | fn staker_cannot_bail_deferred_slash() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3108:3 [INFO] [stdout] | [INFO] [stdout] 3108 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3119:12 [INFO] [stdout] | [INFO] [stdout] 3119 | Error::::EmptyTargets [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3086 | fn remove_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3199:33 [INFO] [stdout] | [INFO] [stdout] 3199 | assert_eq!(UnappliedSlashes::::get(&4).len(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3162 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3204:12 [INFO] [stdout] | [INFO] [stdout] 3204 | Error::::NotSortedAndUnique [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3162 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3209:12 [INFO] [stdout] | [INFO] [stdout] 3209 | Error::::NotSortedAndUnique [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3162 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3214:12 [INFO] [stdout] | [INFO] [stdout] 3214 | Error::::InvalidSlashIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3162 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3219:36 [INFO] [stdout] | [INFO] [stdout] 3219 | let slashes = UnappliedSlashes::::get(&4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3162 | fn remove_multi_deferred() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3274:24 [INFO] [stdout] | [INFO] [stdout] 3274 | assert!(Validators::::iter().all(|(stash, _)| stash != 11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3227 | fn slash_kicks_validators_not_nominators_and_disables_nominator_for_kicked_validator() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3422:6 [INFO] [stdout] | [INFO] [stdout] 3422 | ::OffendingValidatorsThreshold::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3438:26 [INFO] [stdout] | [INFO] [stdout] 3438 | 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] 3413 | fn offence_threshold_triggers_new_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3445:26 [INFO] [stdout] | [INFO] [stdout] 3445 | 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] 3413 | fn offence_threshold_triggers_new_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3452:26 [INFO] [stdout] | [INFO] [stdout] 3452 | assert_eq!(ForceEra::::get(), Forcing::ForceNew); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3413 | fn offence_threshold_triggers_new_era() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3464:16 [INFO] [stdout] | [INFO] [stdout] 3464 | assert_eq!(::SessionsPerEra::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3524:21 [INFO] [stdout] | [INFO] [stdout] 3524 | let err_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3533:11 [INFO] [stdout] | [INFO] [stdout] 3533 | 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] 3517 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3534:11 [INFO] [stdout] | [INFO] [stdout] 3534 | Payee::::insert(101, 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] 3517 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3536:12 [INFO] [stdout] | [INFO] [stdout] 3536 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3517 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3542:12 [INFO] [stdout] | [INFO] [stdout] 3542 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3517 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3552:12 [INFO] [stdout] | [INFO] [stdout] 3552 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3517 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3572:12 [INFO] [stdout] | [INFO] [stdout] 3572 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3517 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3579:12 [INFO] [stdout] | [INFO] [stdout] 3579 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3517 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3584:12 [INFO] [stdout] | [INFO] [stdout] 3584 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3517 | fn claim_reward_at_the_last_era_and_no_double_claim_and_invalid_claim() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3620:24 [INFO] [stdout] | [INFO] [stdout] 3620 | assert!(Validators::::iter().all(|(stash, _)| stash != 11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3602 | fn zero_slash_keeps_nominators() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3636:15 [INFO] [stdout] | [INFO] [stdout] 3636 | assert_eq!(>::new_session(init_session + 2), None); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3638:5 [INFO] [stdout] | [INFO] [stdout] 3638 | >::new_session(init_session + 3), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3641:15 [INFO] [stdout] | [INFO] [stdout] 3641 | assert_eq!(>::new_session(init_session + 4), None); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3642:15 [INFO] [stdout] | [INFO] [stdout] 3642 | assert_eq!(>::new_session(init_session + 5), None); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3644:5 [INFO] [stdout] | [INFO] [stdout] 3644 | >::new_session(init_session + 6), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3648:4 [INFO] [stdout] | [INFO] [stdout] 3648 | >::end_session(init_session); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3649:4 [INFO] [stdout] | [INFO] [stdout] 3649 | >::start_session(init_session + 1); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3652:4 [INFO] [stdout] | [INFO] [stdout] 3652 | >::end_session(init_session + 1); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3653:4 [INFO] [stdout] | [INFO] [stdout] 3653 | >::start_session(init_session + 2); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3660:4 [INFO] [stdout] | [INFO] [stdout] 3660 | >::end_session(init_session + 2); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3661:4 [INFO] [stdout] | [INFO] [stdout] 3661 | >::start_session(init_session + 3); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3664:4 [INFO] [stdout] | [INFO] [stdout] 3664 | >::end_session(init_session + 3); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3665:4 [INFO] [stdout] | [INFO] [stdout] 3665 | >::start_session(init_session + 4); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3668:4 [INFO] [stdout] | [INFO] [stdout] 3668 | >::end_session(init_session + 4); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3669:4 [INFO] [stdout] | [INFO] [stdout] 3669 | >::start_session(init_session + 5); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3676:4 [INFO] [stdout] | [INFO] [stdout] 3676 | >::end_session(init_session + 5); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:3677:4 [INFO] [stdout] | [INFO] [stdout] 3677 | >::start_session(init_session + 6); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3703:12 [INFO] [stdout] | [INFO] [stdout] 3703 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3687 | fn test_nominators_over_max_exposure_page_size_are_rewarded() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3744:12 [INFO] [stdout] | [INFO] [stdout] 3744 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3726 | fn test_nominators_are_rewarded_for_all_exposure_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3751:24 [INFO] [stdout] | [INFO] [stdout] 3751 | assert_eq!(EraInfo::::get_page_count(1, &11), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3726 | fn test_nominators_are_rewarded_for_all_exposure_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3779:27 [INFO] [stdout] | [INFO] [stdout] 3779 | assert_eq!(Validators::::count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3771 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3793:24 [INFO] [stdout] | [INFO] [stdout] 3793 | assert_eq!(EraInfo::::get_page_count(1, &11), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3771 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3800:37 [INFO] [stdout] | [INFO] [stdout] 3800 | let actual_exposure_0 = EraInfo::::get_paged_exposure(1, &11, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3771 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3804:37 [INFO] [stdout] | [INFO] [stdout] 3804 | let actual_exposure_1 = EraInfo::::get_paged_exposure(1, &11, 1).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3771 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:3812:3 [INFO] [stdout] | [INFO] [stdout] 3812 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3878:28 [INFO] [stdout] | [INFO] [stdout] 3878 | for page in 0..EraInfo::::get_page_count(1, &11) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3771 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3880:15 [INFO] [stdout] | [INFO] [stdout] 3880 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3771 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3908:29 [INFO] [stdout] | [INFO] [stdout] 3908 | for page in 0..EraInfo::::get_page_count(i - 1, &11) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3771 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3910:16 [INFO] [stdout] | [INFO] [stdout] 3910 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3771 | fn test_multi_page_payout_stakers_by_page() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3994:27 [INFO] [stdout] | [INFO] [stdout] 3994 | assert_eq!(Validators::::count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:3996:21 [INFO] [stdout] | [INFO] [stdout] 3996 | let err_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4010:24 [INFO] [stdout] | [INFO] [stdout] 4010 | assert_eq!(EraInfo::::get_page_count(1, &11), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4017:37 [INFO] [stdout] | [INFO] [stdout] 4017 | let actual_exposure_0 = EraInfo::::get_paged_exposure(1, &11, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4021:37 [INFO] [stdout] | [INFO] [stdout] 4021 | let actual_exposure_1 = EraInfo::::get_paged_exposure(1, &11, 1).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4036:12 [INFO] [stdout] | [INFO] [stdout] 4036 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4054:12 [INFO] [stdout] | [INFO] [stdout] 4054 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4085:28 [INFO] [stdout] | [INFO] [stdout] 4085 | for page in 0..EraInfo::::get_page_count(1, &11) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4087:15 [INFO] [stdout] | [INFO] [stdout] 4087 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4115:29 [INFO] [stdout] | [INFO] [stdout] 4115 | for page in 0..EraInfo::::get_page_count(i - 1, &11) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4117:16 [INFO] [stdout] | [INFO] [stdout] 4117 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4179:12 [INFO] [stdout] | [INFO] [stdout] 4179 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4206:12 [INFO] [stdout] | [INFO] [stdout] 4206 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3986 | fn test_multi_page_payout_stakers_backward_compatible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4225:27 [INFO] [stdout] | [INFO] [stdout] 4225 | assert_eq!(Validators::::count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4236:24 [INFO] [stdout] | [INFO] [stdout] 4236 | assert_eq!(EraInfo::::get_page_count(1, &11), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4239:24 [INFO] [stdout] | [INFO] [stdout] 4239 | assert_eq!(EraInfo::::get_paged_exposure(1, &11, 0).unwrap().others().len(), 64); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4241:24 [INFO] [stdout] | [INFO] [stdout] 4241 | assert_eq!(EraInfo::::get_paged_exposure(1, &11, 1).unwrap().others().len(), 36); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4247:24 [INFO] [stdout] | [INFO] [stdout] 4247 | assert_eq!(EraInfo::::get_page_count(2, &11), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4249:24 [INFO] [stdout] | [INFO] [stdout] 4249 | assert_eq!(EraInfo::::get_paged_exposure(2, &11, 0).unwrap().others().len(), 32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4250:24 [INFO] [stdout] | [INFO] [stdout] 4250 | assert_eq!(EraInfo::::get_paged_exposure(2, &11, 1).unwrap().others().len(), 32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4251:24 [INFO] [stdout] | [INFO] [stdout] 4251 | assert_eq!(EraInfo::::get_paged_exposure(2, &11, 2).unwrap().others().len(), 32); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4252:24 [INFO] [stdout] | [INFO] [stdout] 4252 | assert_eq!(EraInfo::::get_paged_exposure(2, &11, 3).unwrap().others().len(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4259:24 [INFO] [stdout] | [INFO] [stdout] 4259 | assert_eq!(EraInfo::::get_page_count(3, &11), 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4218 | fn test_page_count_and_size() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4268:21 [INFO] [stdout] | [INFO] [stdout] 4268 | let err_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4290:12 [INFO] [stdout] | [INFO] [stdout] 4290 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4264 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4295:12 [INFO] [stdout] | [INFO] [stdout] 4295 | Error::::NotStash.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4264 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4320:12 [INFO] [stdout] | [INFO] [stdout] 4320 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4264 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4329:12 [INFO] [stdout] | [INFO] [stdout] 4329 | Error::::InvalidEraToReward.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4264 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4360:12 [INFO] [stdout] | [INFO] [stdout] 4360 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4264 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4370:12 [INFO] [stdout] | [INFO] [stdout] 4370 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4264 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4380:12 [INFO] [stdout] | [INFO] [stdout] 4380 | Error::::AlreadyClaimed.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4264 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4391:12 [INFO] [stdout] | [INFO] [stdout] 4391 | Error::::InvalidPage.with_weight(err_weight) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4264 | fn payout_stakers_handles_basic_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4407:27 [INFO] [stdout] | [INFO] [stdout] 4407 | assert_eq!(Validators::::count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4397 | fn test_commission_paid_across_pages() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4420:24 [INFO] [stdout] | [INFO] [stdout] 4420 | assert_eq!(EraInfo::::get_page_count(1, &11), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4397 | fn test_commission_paid_across_pages() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4462:5 [INFO] [stdout] | [INFO] [stdout] 4462 | ::WeightInfo::payout_stakers_alive_staked(max_nom_rewarded); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4464:5 [INFO] [stdout] | [INFO] [stdout] 4464 | ::WeightInfo::payout_stakers_alive_staked(half_max_nom_rewarded); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4465:34 [INFO] [stdout] | [INFO] [stdout] 4465 | let zero_nom_payouts_weight = ::WeightInfo::payout_stakers_alive_staked(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4624:5 [INFO] [stdout] | [INFO] [stdout] 4624 | ::DbWeight::get().reads_writes(4, 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4631:37 [INFO] [stdout] | [INFO] [stdout] 4631 | let n_offence_unapplied_weight = ::DbWeight::get() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4633:5 [INFO] [stdout] | [INFO] [stdout] 4633 | ::DbWeight::get().reads_writes(4, 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4637:6 [INFO] [stdout] | [INFO] [stdout] 4637 | ::AccountId, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4620 | fn offences_weight_calculated_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4638:53 [INFO] [stdout] | [INFO] [stdout] 4638 | pallet_session::historical::IdentificationTuple, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4620 | fn offences_weight_calculated_correctly() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4665:5 [INFO] [stdout] | [INFO] [stdout] 4665 | ::DbWeight::get().reads_writes(4, 1) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4667:5 [INFO] [stdout] | [INFO] [stdout] 4667 | ::DbWeight::get().reads_writes(rw, rw) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4669:7 [INFO] [stdout] | [INFO] [stdout] 4669 | + ::DbWeight::get().reads_writes(6, 5) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4671:7 [INFO] [stdout] | [INFO] [stdout] 4671 | + ::DbWeight::get().reads_writes(6, 5) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4673:7 [INFO] [stdout] | [INFO] [stdout] 4673 | + ::DbWeight::get().reads_writes(2, 2) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4696:77 [INFO] [stdout] | [INFO] [stdout] 4696 | 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] 4689 | fn payout_creates_controller() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4766:15 [INFO] [stdout] | [INFO] [stdout] 4766 | assert_eq!(System::block_number(), 2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4772:15 [INFO] [stdout] | [INFO] [stdout] 4772 | assert_eq!(System::block_number(), 7); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4778:15 [INFO] [stdout] | [INFO] [stdout] 4778 | assert_eq!(System::block_number(), 12); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4785:15 [INFO] [stdout] | [INFO] [stdout] 4785 | assert_eq!(System::block_number(), 17); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4791:15 [INFO] [stdout] | [INFO] [stdout] 4791 | assert_eq!(System::block_number(), 22); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4817:15 [INFO] [stdout] | [INFO] [stdout] 4817 | assert_eq!(System::block_number(), 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4823:15 [INFO] [stdout] | [INFO] [stdout] 4823 | assert_eq!(System::block_number(), 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4829:15 [INFO] [stdout] | [INFO] [stdout] 4829 | assert_eq!(System::block_number(), 15); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4836:15 [INFO] [stdout] | [INFO] [stdout] 4836 | assert_eq!(System::block_number(), 20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:4842:15 [INFO] [stdout] | [INFO] [stdout] 4842 | assert_eq!(System::block_number(), 25); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4887:13 [INFO] [stdout] | [INFO] [stdout] 4887 | 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] 4853 | fn cannot_rebond_to_lower_than_ed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4927:13 [INFO] [stdout] | [INFO] [stdout] 4927 | 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] 4893 | fn cannot_bond_extra_to_lower_than_ed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4973:29 [INFO] [stdout] | [INFO] [stdout] 4973 | let on_finalize_weight = ::DbWeight::get().reads(1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:4974:12 [INFO] [stdout] | [INFO] [stdout] 4974 | assert!(>::on_initialize(1).all_gte(on_finalize_weight)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:4985:10 [INFO] [stdout] | [INFO] [stdout] 4985 | while ::WeightInfo::get_npos_targets(validators).all_lt(Weight::from_parts( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5002:10 [INFO] [stdout] | [INFO] [stdout] 5002 | while ::WeightInfo::get_npos_voters(validators, nominators).all_lt( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5026:17 [INFO] [stdout] | [INFO] [stdout] 5026 | assert_ok!(::electing_voters( [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5029:37 [INFO] [stdout] | [INFO] [stdout] 5029 | 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] 5018 | fn set_minimum_active_stake_is_correct() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5034:17 [INFO] [stdout] | [INFO] [stdout] 5034 | assert_ok!(::electing_voters(bounds.voters)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5035:37 [INFO] [stdout] | [INFO] [stdout] 5035 | 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] 5018 | fn set_minimum_active_stake_is_correct() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5044:16 [INFO] [stdout] | [INFO] [stdout] 5044 | assert_ok!(::electing_voters( [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5047:16 [INFO] [stdout] | [INFO] [stdout] 5047 | assert_eq!(::VoterList::count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5048:36 [INFO] [stdout] | [INFO] [stdout] 5048 | assert_eq!(MinimumActiveStake::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5040 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5054:34 [INFO] [stdout] | [INFO] [stdout] 5054 | 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] 5040 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5055:16 [INFO] [stdout] | [INFO] [stdout] 5055 | assert_eq!(::VoterList::count(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5059:16 [INFO] [stdout] | [INFO] [stdout] 5059 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5062:6 [INFO] [stdout] | [INFO] [stdout] 5062 | ::electing_voters(DataProviderBounds::default()) [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5064:36 [INFO] [stdout] | [INFO] [stdout] 5064 | 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] 5040 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5067:23 [INFO] [stdout] | [INFO] [stdout] 5067 | 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] 5040 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5068:34 [INFO] [stdout] | [INFO] [stdout] 5068 | 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] 5040 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5071:16 [INFO] [stdout] | [INFO] [stdout] 5071 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5074:6 [INFO] [stdout] | [INFO] [stdout] 5074 | ::electing_voters(DataProviderBounds::default()) [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5079:36 [INFO] [stdout] | [INFO] [stdout] 5079 | 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] 5040 | fn set_minimum_active_stake_lower_bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5091:19 [INFO] [stdout] | [INFO] [stdout] 5091 | let voters = ::electing_voters( [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5096:37 [INFO] [stdout] | [INFO] [stdout] 5096 | 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] 5084 | fn set_minimum_active_bond_corrupt_state() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:5106:19 [INFO] [stdout] | [INFO] [stdout] 5106 | let voters = ::electing_voters( [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5114:37 [INFO] [stdout] | [INFO] [stdout] 5114 | 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] 5084 | fn set_minimum_active_bond_corrupt_state() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5128:24 [INFO] [stdout] | [INFO] [stdout] 5128 | 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] 5125 | fn voters_include_self_vote() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5169:7 [INFO] [stdout] | [INFO] [stdout] 5169 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5199:17 [INFO] [stdout] | [INFO] [stdout] 5199 | assert_eq!(::VoterList::count(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5301:13 [INFO] [stdout] | [INFO] [stdout] 5301 | 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] 5288 | fn nomination_quota_checks_at_nominate_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5382:50 [INFO] [stdout] | [INFO] [stdout] 5382 | assert_eq!(Staking::next_election_prediction(System::block_number()), 20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5387:49 [INFO] [stdout] | [INFO] [stdout] 5387 | assert_eq!(Staking::next_election_prediction(System::block_number()), 45); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5393:50 [INFO] [stdout] | [INFO] [stdout] 5393 | assert_eq!(Staking::next_election_prediction(System::block_number()), 45); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5398:49 [INFO] [stdout] | [INFO] [stdout] 5398 | assert_eq!(Staking::next_election_prediction(System::block_number()), 70); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5403:49 [INFO] [stdout] | [INFO] [stdout] 5403 | assert_eq!(Staking::next_election_prediction(System::block_number()), u64::MAX); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5406:49 [INFO] [stdout] | [INFO] [stdout] 5406 | assert_eq!(Staking::next_election_prediction(System::block_number()), 45 + 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5409:49 [INFO] [stdout] | [INFO] [stdout] 5409 | assert_eq!(Staking::next_election_prediction(System::block_number()), 45 + 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5412:28 [INFO] [stdout] | [INFO] [stdout] 5412 | MinimumValidatorCount::::put(1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5377 | fn estimate_next_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5415:49 [INFO] [stdout] | [INFO] [stdout] 5415 | assert_eq!(Staking::next_election_prediction(System::block_number()), 50 + 5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5417:26 [INFO] [stdout] | [INFO] [stdout] 5417 | assert_eq!(ForceEra::::get(), Forcing::ForceNew); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5377 | fn estimate_next_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5419:28 [INFO] [stdout] | [INFO] [stdout] 5419 | MinimumValidatorCount::::put(2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5377 | fn estimate_next_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:5421:49 [INFO] [stdout] | [INFO] [stdout] 5421 | assert_eq!(Staking::next_election_prediction(System::block_number()), 55 + 25); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4979 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 4979 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5432:26 [INFO] [stdout] | [INFO] [stdout] 5432 | 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] 5377 | fn estimate_next_election_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5444:16 [INFO] [stdout] | [INFO] [stdout] 5444 | 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] 5439 | fn count_check_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5445:16 [INFO] [stdout] | [INFO] [stdout] 5445 | 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] 5439 | fn count_check_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5468:13 [INFO] [stdout] | [INFO] [stdout] 5468 | 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] 5457 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5472:13 [INFO] [stdout] | [INFO] [stdout] 5472 | 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] 5457 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5480:13 [INFO] [stdout] | [INFO] [stdout] 5480 | 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] 5457 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5491:13 [INFO] [stdout] | [INFO] [stdout] 5491 | 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] 5457 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5499:13 [INFO] [stdout] | [INFO] [stdout] 5499 | 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] 5457 | fn min_bond_checks_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5516:42 [INFO] [stdout] | [INFO] [stdout] 5516 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5517:42 [INFO] [stdout] | [INFO] [stdout] 5517 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5554:13 [INFO] [stdout] | [INFO] [stdout] 5554 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5558:13 [INFO] [stdout] | [INFO] [stdout] 5558 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5575:13 [INFO] [stdout] | [INFO] [stdout] 5575 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5579:13 [INFO] [stdout] | [INFO] [stdout] 5579 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5596:13 [INFO] [stdout] | [INFO] [stdout] 5596 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5600:13 [INFO] [stdout] | [INFO] [stdout] 5600 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5617:13 [INFO] [stdout] | [INFO] [stdout] 5617 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5621:13 [INFO] [stdout] | [INFO] [stdout] 5621 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5636:28 [INFO] [stdout] | [INFO] [stdout] 5636 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5637:28 [INFO] [stdout] | [INFO] [stdout] 5637 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5649:28 [INFO] [stdout] | [INFO] [stdout] 5649 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5652:13 [INFO] [stdout] | [INFO] [stdout] 5652 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5655:28 [INFO] [stdout] | [INFO] [stdout] 5655 | 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] 5509 | fn chill_other_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5663:38 [INFO] [stdout] | [INFO] [stdout] 5663 | 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] 5661 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5665:38 [INFO] [stdout] | [INFO] [stdout] 5665 | 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] 5661 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5683:67 [INFO] [stdout] | [INFO] [stdout] 5683 | 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] 5661 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5697:70 [INFO] [stdout] | [INFO] [stdout] 5697 | let (_, last_validator) = 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] 5661 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5706:12 [INFO] [stdout] | [INFO] [stdout] 5706 | 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] 5661 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5712:67 [INFO] [stdout] | [INFO] [stdout] 5712 | 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] 5661 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5723:70 [INFO] [stdout] | [INFO] [stdout] 5723 | 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] 5661 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5731:12 [INFO] [stdout] | [INFO] [stdout] 5731 | 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] 5661 | fn capped_stakers_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5794:12 [INFO] [stdout] | [INFO] [stdout] 5794 | Error::::CommissionTooLow [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5761 | fn min_commission_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5823:18 [INFO] [stdout] | [INFO] [stdout] 5823 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5839:18 [INFO] [stdout] | [INFO] [stdout] 5839 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5850:18 [INFO] [stdout] | [INFO] [stdout] 5850 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5862:18 [INFO] [stdout] | [INFO] [stdout] 5862 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5868:25 [INFO] [stdout] | [INFO] [stdout] 5868 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5870:25 [INFO] [stdout] | [INFO] [stdout] 5870 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5873:25 [INFO] [stdout] | [INFO] [stdout] 5873 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5880:18 [INFO] [stdout] | [INFO] [stdout] 5880 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5885:25 [INFO] [stdout] | [INFO] [stdout] 5885 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5886:25 [INFO] [stdout] | [INFO] [stdout] 5886 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5887:25 [INFO] [stdout] | [INFO] [stdout] 5887 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5888:25 [INFO] [stdout] | [INFO] [stdout] 5888 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5894:18 [INFO] [stdout] | [INFO] [stdout] 5894 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5901:25 [INFO] [stdout] | [INFO] [stdout] 5901 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5902:25 [INFO] [stdout] | [INFO] [stdout] 5902 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5904:26 [INFO] [stdout] | [INFO] [stdout] 5904 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5905:25 [INFO] [stdout] | [INFO] [stdout] 5905 | 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] 5812 | fn change_of_absolute_max_nominations() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5920:34 [INFO] [stdout] | [INFO] [stdout] 5920 | 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] 5910 | fn nomination_quota_max_changes_decoding() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5925:18 [INFO] [stdout] | [INFO] [stdout] 5925 | 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] 5910 | fn nomination_quota_max_changes_decoding() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5938:69 [INFO] [stdout] | [INFO] [stdout] 5938 | 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] 5936 | fn api_nominations_quota_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5939:70 [INFO] [stdout] | [INFO] [stdout] 5939 | 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] 5936 | fn api_nominations_quota_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5954:19 [INFO] [stdout] | [INFO] [stdout] 5954 | (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] 5950 | fn re_nominate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5954:49 [INFO] [stdout] | [INFO] [stdout] 5954 | (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] 5950 | fn re_nominate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5955:16 [INFO] [stdout] | [INFO] [stdout] 5955 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5958:6 [INFO] [stdout] | [INFO] [stdout] 5958 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5966:16 [INFO] [stdout] | [INFO] [stdout] 5966 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5969:6 [INFO] [stdout] | [INFO] [stdout] 5969 | ::VoterList::iter().collect::>(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5980:19 [INFO] [stdout] | [INFO] [stdout] 5980 | (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] 5976 | fn re_validate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5980:49 [INFO] [stdout] | [INFO] [stdout] 5980 | (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] 5976 | fn re_validate_does_not_change_counters_or_list() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5981:16 [INFO] [stdout] | [INFO] [stdout] 5981 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5983:16 [INFO] [stdout] | [INFO] [stdout] 5983 | assert_eq!(::VoterList::iter().collect::>(), vec![11, 21, 31]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5989:16 [INFO] [stdout] | [INFO] [stdout] 5989 | assert_eq!(::VoterList::count(), pre_insert_voter_count); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5991:16 [INFO] [stdout] | [INFO] [stdout] 5991 | assert_eq!(::VoterList::iter().collect::>(), vec![11, 21, 31]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:5999:35 [INFO] [stdout] | [INFO] [stdout] 5999 | let validators = || Validators::::iter().collect::>(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5997 | fn force_apply_min_commission_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6006:19 [INFO] [stdout] | [INFO] [stdout] 6006 | MinCommission::::set(Perbill::from_percent(5)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5997 | fn force_apply_min_commission_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6026:12 [INFO] [stdout] | [INFO] [stdout] 6026 | 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] 5997 | fn force_apply_min_commission_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6039:35 [INFO] [stdout] | [INFO] [stdout] 6039 | let mut ledger = StakingLedger::::new(123, 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6032 | fn proportional_slash_stop_slashing_if_remaining_zero() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6053:35 [INFO] [stdout] | [INFO] [stdout] 6053 | let mut ledger = StakingLedger::::new(123, 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6050 | fn proportional_ledger_slash_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6308:71 [INFO] [stdout] | [INFO] [stdout] 6308 | 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] 6270 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6313:71 [INFO] [stdout] | [INFO] [stdout] 6313 | 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] 6270 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6314:72 [INFO] [stdout] | [INFO] [stdout] 6314 | 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] 6270 | fn reducing_max_unlocking_chunks_abrupt() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6331:12 [INFO] [stdout] | [INFO] [stdout] 6331 | 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] 6322 | fn cannot_set_unsupported_validator_count() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6344:31 [INFO] [stdout] | [INFO] [stdout] 6344 | 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] 6337 | fn increase_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6349:12 [INFO] [stdout] | [INFO] [stdout] 6349 | 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] 6337 | fn increase_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6365:31 [INFO] [stdout] | [INFO] [stdout] 6365 | 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] 6355 | fn scale_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6370:12 [INFO] [stdout] | [INFO] [stdout] 6370 | 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] 6355 | fn scale_validator_count_errors() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6379:30 [INFO] [stdout] | [INFO] [stdout] 6379 | assert_eq!(MinCommission::::get(), Zero::zero()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6376 | fn set_min_commission_works_with_admin_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6384:30 [INFO] [stdout] | [INFO] [stdout] 6384 | assert_eq!(MinCommission::::get(), Perbill::from_percent(10)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6376 | fn set_min_commission_works_with_admin_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6404:12 [INFO] [stdout] | [INFO] [stdout] 6404 | Error::::CommissionTooLow [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6376 | fn set_min_commission_works_with_admin_origin() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6464:12 [INFO] [stdout] | [INFO] [stdout] 6464 | Pallet::::clear_era_information(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6468:21 [INFO] [stdout] | [INFO] [stdout] 6468 | ClaimedRewards::::insert(era, &validator_stash, vec![0, 1, 2]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6470:24 [INFO] [stdout] | [INFO] [stdout] 6470 | ErasStakersPaged::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6479:32 [INFO] [stdout] | [INFO] [stdout] 6479 | assert_eq!(ClaimedRewards::::iter().count(), (4 - i)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6481:32 [INFO] [stdout] | [INFO] [stdout] 6481 | assert_eq!(ClaimedRewards::::iter_prefix(i as EraIndex).count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6483:34 [INFO] [stdout] | [INFO] [stdout] 6483 | assert_eq!(ErasStakersPaged::::iter_prefix((i as EraIndex,)).count(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6486:13 [INFO] [stdout] | [INFO] [stdout] 6486 | Pallet::::clear_era_information(i as EraIndex); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6489:32 [INFO] [stdout] | [INFO] [stdout] 6489 | assert_eq!(ClaimedRewards::::iter_prefix(i as EraIndex).count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6490:34 [INFO] [stdout] | [INFO] [stdout] 6490 | assert_eq!(ErasStakersPaged::::iter_prefix((i as EraIndex,)).count(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6461 | fn should_retain_era_info_only_upto_history_depth() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6503:12 [INFO] [stdout] | [INFO] [stdout] 6503 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6505:12 [INFO] [stdout] | [INFO] [stdout] 6505 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6510:14 [INFO] [stdout] | [INFO] [stdout] 6510 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6519:14 [INFO] [stdout] | [INFO] [stdout] 6519 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6529:12 [INFO] [stdout] | [INFO] [stdout] 6529 | 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] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6543:12 [INFO] [stdout] | [INFO] [stdout] 6543 | Error::::AlreadyClaimed [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6544:19 [INFO] [stdout] | [INFO] [stdout] 6544 | .with_weight(::WeightInfo::payout_stakers_alive_staked(0)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6547:14 [INFO] [stdout] | [INFO] [stdout] 6547 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6559:14 [INFO] [stdout] | [INFO] [stdout] 6559 | EraInfo::::is_rewards_claimed_with_legacy_fallback( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6569:13 [INFO] [stdout] | [INFO] [stdout] 6569 | Ledger::::get(11).unwrap(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6579:31 [INFO] [stdout] | [INFO] [stdout] 6579 | assert_eq!(ClaimedRewards::::get(2, 11), vec![0]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6496 | fn test_legacy_claimed_rewards_is_checked_at_reward_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6611:12 [INFO] [stdout] | [INFO] [stdout] 6611 | Pallet::::reward_by_ids(vec![(11, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6617:51 [INFO] [stdout] | [INFO] [stdout] 6617 | let actual_exposure_page_0 = ErasStakersPaged::::get((1, 11, 0)).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6618:51 [INFO] [stdout] | [INFO] [stdout] 6618 | let actual_exposure_page_1 = ErasStakersPaged::::get((1, 11, 1)).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6631:14 [INFO] [stdout] | [INFO] [stdout] 6631 | EraInfo::::get_paged_exposure(1, &11, 0).unwrap().others(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6635:14 [INFO] [stdout] | [INFO] [stdout] 6635 | EraInfo::::get_paged_exposure(1, &11, 1).unwrap().others(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6638:24 [INFO] [stdout] | [INFO] [stdout] 6638 | assert_eq!(EraInfo::::get_page_count(1, &11), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6642:21 [INFO] [stdout] | [INFO] [stdout] 6642 | >::remove((1, 11, 0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6643:21 [INFO] [stdout] | [INFO] [stdout] 6643 | >::remove((1, 11, 1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6644:24 [INFO] [stdout] | [INFO] [stdout] 6644 | >::remove(1, 11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6646:16 [INFO] [stdout] | [INFO] [stdout] 6646 | >::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6658:23 [INFO] [stdout] | [INFO] [stdout] 6658 | >::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6665:41 [INFO] [stdout] | [INFO] [stdout] 6665 | let actual_exposure_paged = EraInfo::::get_paged_exposure(1, &11, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6670:40 [INFO] [stdout] | [INFO] [stdout] 6670 | let actual_exposure_full = EraInfo::::get_full_exposure(1, &11); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6676:24 [INFO] [stdout] | [INFO] [stdout] 6676 | assert_eq!(EraInfo::::get_paged_exposure(1, &11, 1), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6678:24 [INFO] [stdout] | [INFO] [stdout] 6678 | assert_eq!(EraInfo::::get_page_count(1, &11), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6685:12 [INFO] [stdout] | [INFO] [stdout] 6685 | Error::::InvalidPage [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6584 | fn test_validator_exposure_is_backward_compatible_with_non_paged_rewards_payout() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6686:19 [INFO] [stdout] | [INFO] [stdout] 6686 | .with_weight(::WeightInfo::payout_stakers_alive_staked(0)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:6704:17 [INFO] [stdout] | [INFO] [stdout] 6704 | assert_ok!(::force_unstake(11)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:6711:16 [INFO] [stdout] | [INFO] [stdout] 6711 | assert_ok!(::force_unstake(11)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/string.rs:365:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6730:13 [INFO] [stdout] | [INFO] [stdout] 6730 | Error::::IncorrectSlashingSpans [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6716 | fn do_withdraw_unbonded_with_wrong_slash_spans_works_as_expected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6777:23 [INFO] [stdout] | [INFO] [stdout] 6777 | 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] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6779:21 [INFO] [stdout] | [INFO] [stdout] 6779 | StakingLedger::::paired_account(StakingAccount::Controller(10)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6782:31 [INFO] [stdout] | [INFO] [stdout] 6782 | 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] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6784:23 [INFO] [stdout] | [INFO] [stdout] 6784 | 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] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6785:31 [INFO] [stdout] | [INFO] [stdout] 6785 | 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] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6786:31 [INFO] [stdout] | [INFO] [stdout] 6786 | 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] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6791:23 [INFO] [stdout] | [INFO] [stdout] 6791 | 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] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6793:21 [INFO] [stdout] | [INFO] [stdout] 6793 | 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] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6797:21 [INFO] [stdout] | [INFO] [stdout] 6797 | StakingLedger::::paired_account(StakingAccount::Stash(200)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6769 | fn paired_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6807:28 [INFO] [stdout] | [INFO] [stdout] 6807 | 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] 6804 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6810:23 [INFO] [stdout] | [INFO] [stdout] 6810 | 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] 6804 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6812:26 [INFO] [stdout] | [INFO] [stdout] 6812 | 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] 6804 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6823:23 [INFO] [stdout] | [INFO] [stdout] 6823 | 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] 6804 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6825:26 [INFO] [stdout] | [INFO] [stdout] 6825 | 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] 6804 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6833:26 [INFO] [stdout] | [INFO] [stdout] 6833 | 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] 6804 | fn get_ledger_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6846:29 [INFO] [stdout] | [INFO] [stdout] 6846 | 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] 6844 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6847:20 [INFO] [stdout] | [INFO] [stdout] 6847 | 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] 6844 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6849:34 [INFO] [stdout] | [INFO] [stdout] 6849 | let mut ledger: StakingLedger = StakingLedger::default_from(42); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6844 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6853:28 [INFO] [stdout] | [INFO] [stdout] 6853 | 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] 6844 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6854:20 [INFO] [stdout] | [INFO] [stdout] 6854 | 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] 6844 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6855:22 [INFO] [stdout] | [INFO] [stdout] 6855 | assert_eq!(>::get(&42), 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] 6844 | fn bond_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6869:29 [INFO] [stdout] | [INFO] [stdout] 6869 | 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] 6867 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6870:29 [INFO] [stdout] | [INFO] [stdout] 6870 | 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] 6867 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6873:12 [INFO] [stdout] | [INFO] [stdout] 6873 | >::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] 6867 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6874:29 [INFO] [stdout] | [INFO] [stdout] 6874 | 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] 6867 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6876:23 [INFO] [stdout] | [INFO] [stdout] 6876 | 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] 6867 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6877:28 [INFO] [stdout] | [INFO] [stdout] 6877 | 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] 6867 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6878:28 [INFO] [stdout] | [INFO] [stdout] 6878 | 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] 6867 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:6880:12 [INFO] [stdout] | [INFO] [stdout] 6880 | >::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] 6867 | fn is_bonded_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | assert_eq!(super::compute_total_payout(&I_NPOS, 0, 100_000u64, YEAR).1, 9_993); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(super::compute_total_payout(&I_NPOS, 0, 100_000u64, YEAR).0, 2_498); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(super::compute_total_payout(&I_NPOS, 5_000, 100_000u64, YEAR).0, 3_248); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, YEAR).0, 6_246); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(super::compute_total_payout(&I_NPOS, 40_000, 100_000u64, YEAR).0, 8_494); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, YEAR).0, 9_993); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(super::compute_total_payout(&I_NPOS, 60_000, 100_000u64, YEAR).0, 4_379); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, YEAR).0, 2_733); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:83:43 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(super::compute_total_payout(&I_NPOS, 95_000, 100_000u64, YEAR).0, 2_513); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(super::compute_total_payout(&I_NPOS, 100_000, 100_000u64, YEAR).0, 2_505); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, DAY).0, 17); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, DAY).0, 27); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, DAY).0, 7); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, SIX_HOURS).0, 4); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, SIX_HOURS).0, 7); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, SIX_HOURS).0, 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | &I_NPOS, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Currency` is imported redundantly [INFO] [stdout] --> src/testing_utils.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{Pallet as Staking, *}; [INFO] [stdout] | - the item `Currency` is already imported here [INFO] [stdout] ... [INFO] [stdout] 31 | use frame_support::{pallet_prelude::*, traits::Currency}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `StaticLookup` is imported redundantly [INFO] [stdout] --> src/testing_utils.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{Pallet as Staking, *}; [INFO] [stdout] | - the item `StaticLookup` is already imported here [INFO] [stdout] ... [INFO] [stdout] 32 | use sp_runtime::{traits::StaticLookup, Perbill}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Perbill` is imported redundantly [INFO] [stdout] --> src/testing_utils.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{Pallet as Staking, *}; [INFO] [stdout] | - the item `Perbill` is already imported here [INFO] [stdout] ... [INFO] [stdout] 32 | use sp_runtime::{traits::StaticLookup, Perbill}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Currency` [INFO] [stdout] --> src/mock.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | ConstU64, Currency, EitherOfDiverse, FindAuthor, Get, Hooks, Imbalance, OnUnbalanced, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Get` is imported redundantly [INFO] [stdout] --> src/mock.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::{self as pallet_staking, *}; [INFO] [stdout] | - the item `Get` is already imported here [INFO] [stdout] ... [INFO] [stdout] 28 | ConstU64, Currency, EitherOfDiverse, FindAuthor, Get, Hooks, Imbalance, OnUnbalanced, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sp_io` is imported redundantly [INFO] [stdout] --> src/mock.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sp_io; [INFO] [stdout] | ^^^^^ the item `sp_io` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PiecewiseLinear` is imported redundantly [INFO] [stdout] --> src/mock.rs:37:2 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::{self as pallet_staking, *}; [INFO] [stdout] | - the item `PiecewiseLinear` is already imported here [INFO] [stdout] ... [INFO] [stdout] 37 | curve::PiecewiseLinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Zero` is imported redundantly [INFO] [stdout] --> src/mock.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::{self as pallet_staking, *}; [INFO] [stdout] | - the item `Zero` is already imported here [INFO] [stdout] ... [INFO] [stdout] 39 | traits::{IdentityLookup, Zero}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OnOffenceHandler` [INFO] [stdout] --> src/mock.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | offence::{DisableStrategy, OffenceDetails, OnOffenceHandler}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OnStakingUpdate` is imported redundantly [INFO] [stdout] --> src/mock.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::{self as pallet_staking, *}; [INFO] [stdout] | - the item `OnStakingUpdate` is already imported here [INFO] [stdout] ... [INFO] [stdout] 44 | OnStakingUpdate, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConfigOp` is imported redundantly [INFO] [stdout] --> src/tests.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use super::{ConfigOp, Event, *}; [INFO] [stdout] | ^^^^^^^^ - the item `ConfigOp` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReservableCurrency` [INFO] [stdout] --> src/tests.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | traits::{Currency, Get, ReservableCurrency}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Currency` is imported redundantly [INFO] [stdout] --> src/tests.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 20 | use super::{ConfigOp, Event, *}; [INFO] [stdout] | - the item `Currency` is already imported here [INFO] [stdout] ... [INFO] [stdout] 30 | traits::{Currency, Get, ReservableCurrency}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Get` is imported redundantly [INFO] [stdout] --> src/tests.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 29 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Get` is already imported here [INFO] [stdout] 30 | traits::{Currency, Get, ReservableCurrency}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Perquintill` is imported redundantly [INFO] [stdout] --> src/tests.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 20 | use super::{ConfigOp, Event, *}; [INFO] [stdout] | - the item `Perquintill` is already imported here [INFO] [stdout] ... [INFO] [stdout] 38 | Perbill, Percent, Perquintill, Rounding, TokenError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rounding` is imported redundantly [INFO] [stdout] --> src/tests.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 20 | use super::{ConfigOp, Event, *}; [INFO] [stdout] | - the item `Rounding` is already imported here [INFO] [stdout] ... [INFO] [stdout] 38 | Perbill, Percent, Perquintill, Rounding, TokenError, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OnOffenceHandler` [INFO] [stdout] --> src/tests.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | offence::{DisableStrategy, OffenceDetails, OnOffenceHandler}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SessionIndex` is imported redundantly [INFO] [stdout] --> src/tests.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 20 | use super::{ConfigOp, Event, *}; [INFO] [stdout] | - the item `SessionIndex` is already imported here [INFO] [stdout] ... [INFO] [stdout] 42 | SessionIndex, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_election_provider_support::ElectionDataProvider` [INFO] [stdout] --> src/tests.rs:5813:6 [INFO] [stdout] | [INFO] [stdout] 5813 | 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.rs:5911:6 [INFO] [stdout] | [INFO] [stdout] 5911 | use frame_election_provider_support::ElectionDataProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SortedListProvider` is imported redundantly [INFO] [stdout] --> src/tests.rs:5947:6 [INFO] [stdout] | [INFO] [stdout] 5946 | use super::*; [INFO] [stdout] | -------- the item `SortedListProvider` is already imported here [INFO] [stdout] 5947 | use frame_election_provider_support::SortedListProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_runtime::curve::PiecewiseLinear` [INFO] [stdout] --> src/inflation.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | use sp_runtime::curve::PiecewiseLinear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueQuery` is imported redundantly [INFO] [stdout] --> src/migrations.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | -------- the item `ValueQuery` is already imported here [INFO] [stdout] 155 | use frame_support::{pallet_prelude::ValueQuery, storage_alias}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GetStorageVersion` is imported redundantly [INFO] [stdout] --> src/migrations.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 210 | use super::*; [INFO] [stdout] | -------- the item `GetStorageVersion` is already imported here [INFO] [stdout] ... [INFO] [stdout] 213 | traits::{GetStorageVersion, PalletInfoAccess}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Config` is imported redundantly [INFO] [stdout] --> src/migrations.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Config` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Nominators` is imported redundantly [INFO] [stdout] --> src/migrations.rs:419:22 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Nominators` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pallet` is imported redundantly [INFO] [stdout] --> src/migrations.rs:419:34 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Pallet` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migrations.rs:419:42 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Weight` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SortedListProvider` is imported redundantly [INFO] [stdout] --> src/migrations.rs:420:6 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `SortedListProvider` is already imported here [INFO] [stdout] 419 | use crate::{Config, Nominators, Pallet, Weight}; [INFO] [stdout] 420 | use frame_election_provider_support::SortedListProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Get` is imported redundantly [INFO] [stdout] --> src/migrations.rs:421:6 [INFO] [stdout] | [INFO] [stdout] 418 | use super::*; [INFO] [stdout] | -------- the item `Get` is already imported here [INFO] [stdout] ... [INFO] [stdout] 421 | use frame_support::traits::Get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Get` is imported redundantly [INFO] [stdout] --> src/migrations.rs:506:37 [INFO] [stdout] | [INFO] [stdout] 505 | use super::*; [INFO] [stdout] | -------- the item `Get` is already imported here [INFO] [stdout] 506 | use frame_support::{storage_alias, traits::Get, weights::Weight}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/migrations.rs:506:50 [INFO] [stdout] | [INFO] [stdout] 505 | use super::*; [INFO] [stdout] | -------- the item `Weight` is already imported here [INFO] [stdout] 506 | use frame_support::{storage_alias, traits::Get, weights::Weight}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Get` is imported redundantly [INFO] [stdout] --> src/pallet/impls.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 28 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Get` is already imported here [INFO] [stdout] 29 | traits::{ [INFO] [stdout] 30 | Currency, Defensive, EstimateNextNewSession, Get, Imbalance, Len, OnUnbalanced, TryCollect, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Weight` is imported redundantly [INFO] [stdout] --> src/pallet/impls.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 28 | pallet_prelude::*, [INFO] [stdout] | ----------------- the item `Weight` is already imported here [INFO] [stdout] ... [INFO] [stdout] 33 | weights::Weight, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let validator_index = match Session::validators().iter().position(|v| *v == stash) { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:89:2 [INFO] [stdout] | [INFO] [stdout] 89 | Session::disabled_validators().contains(&validator_index) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 152 | impl pallet_balances::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp` [INFO] [stdout] --> src/mock.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | const THRESHOLDS: [sp_npos_elections::VoteWeight; 9] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_npos_elections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_npos_elections` [INFO] [stdout] --> src/mock.rs:237:38 [INFO] [stdout] | [INFO] [stdout] 237 | pub static BagThresholds: &'static [sp_npos_elections::VoteWeight] = &THRESHOLDS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_npos_elections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | type VoterBagsListInstance = pallet_bags_list::Instance1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] --> src/mock.rs:248:6 [INFO] [stdout] | [INFO] [stdout] 248 | impl pallet_bags_list::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_bags_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:294:34 [INFO] [stdout] | [INFO] [stdout] 294 | type CurrencyBalance = ::Balance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:458:11 [INFO] [stdout] | [INFO] [stdout] 458 | let _ = pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:569:5 [INFO] [stdout] | [INFO] [stdout] 569 | Session::on_initialize(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:582:4 [INFO] [stdout] | [INFO] [stdout] 582 | Staking::do_try_state(System::block_number()).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:588:2 [INFO] [stdout] | [INFO] [stdout] 588 | Staking::active_era().unwrap().index [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:592:2 [INFO] [stdout] | [INFO] [stdout] 592 | Staking::current_era().unwrap() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:596:10 [INFO] [stdout] | [INFO] [stdout] 596 | let _ = Balances::make_free_balance_be(&who, val); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Controller)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:597:27 [INFO] [stdout] | [INFO] [stdout] 597 | assert_ok!(Staking::bond(RuntimeOrigin::signed(who), val, RewardDestination::Controller)); [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:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:602:31 [INFO] [stdout] | [INFO] [stdout] 602 | assert_ok!(Staking::validate(RuntimeOrigin::signed(who), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | assert_ok!(Session::set_keys( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:604:3 [INFO] [stdout] | [INFO] [stdout] 604 | RuntimeOrigin::signed(who), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:612:13 [INFO] [stdout] | [INFO] [stdout] 612 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(who), target)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:612:31 [INFO] [stdout] | [INFO] [stdout] 612 | 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:621:2 [INFO] [stdout] | [INFO] [stdout] 621 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 624 | Session::on_initialize(b); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:628:4 [INFO] [stdout] | [INFO] [stdout] 628 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:643:3 [INFO] [stdout] | [INFO] [stdout] 643 | Session::current_index(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:646:3 [INFO] [stdout] | [INFO] [stdout] 646 | Session::current_index(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:653:22 [INFO] [stdout] | [INFO] [stdout] 653 | let current_index = Session::current_index(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:668:3 [INFO] [stdout] | [INFO] [stdout] 668 | Staking::eras_total_stake(active_era()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:669:3 [INFO] [stdout] | [INFO] [stdout] 669 | Balances::total_issuance(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:678:3 [INFO] [stdout] | [INFO] [stdout] 678 | Staking::eras_total_stake(active_era()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:679:3 [INFO] [stdout] | [INFO] [stdout] 679 | Balances::total_issuance(), [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 `Session` [INFO] [stdout] --> src/mock.rs:713:2 [INFO] [stdout] | [INFO] [stdout] 713 | Session::validators() [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:715:12 [INFO] [stdout] | [INFO] [stdout] 715 | .map(|s| Staking::bonded(&s).expect("no controller for validator")) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:731:12 [INFO] [stdout] | [INFO] [stdout] 731 | let _ = Staking::on_offence(offenders, slash_fraction, start_session, disable_strategy); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | if Staking::active_era().unwrap().index == era { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:739:11 [INFO] [stdout] | [INFO] [stdout] 739 | let _ = Staking::on_offence( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:742:4 [INFO] [stdout] | [INFO] [stdout] 742 | Staking::eras_start_session_index(era).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:757:12 [INFO] [stdout] | [INFO] [stdout] 757 | let now = Staking::active_era().unwrap().index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:764:21 [INFO] [stdout] | [INFO] [stdout] 764 | offender: (*who, Staking::eras_stakers(active_era(), who)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:780:71 [INFO] [stdout] | [INFO] [stdout] 780 | for validator_controller in validators_with_reward.iter().filter_map(Staking::bonded) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:783:15 [INFO] [stdout] | [INFO] [stdout] 783 | assert_ok!(Staking::payout_stakers_by_page( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:784:5 [INFO] [stdout] | [INFO] [stdout] 784 | 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 `RuntimeEvent` [INFO] [stdout] --> src/mock.rs:827:26 [INFO] [stdout] | [INFO] [stdout] 827 | .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:843:26 [INFO] [stdout] | [INFO] [stdout] 843 | .filter_map(|r| if let RuntimeEvent::Staking(inner) = r.event { Some(inner) } else { None }) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:851:3 [INFO] [stdout] | [INFO] [stdout] 851 | (Balances::free_balance(who), Balances::reserved_balance(who)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:851:32 [INFO] [stdout] | [INFO] [stdout] 851 | (Balances::free_balance(who), Balances::reserved_balance(who)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | assert_ok!(Staking::set_staking_configs( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | assert_storage_noop!(assert_ok!(Staking::set_staking_configs( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | assert_ok!(Staking::set_staking_configs( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | Balances::transfer_allow_death(RuntimeOrigin::signed(11), 1, 10), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | Balances::transfer_allow_death(RuntimeOrigin::signed(11), 1, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | assert_noop!(Staking::force_unstake(RuntimeOrigin::signed(11), 11, 2), BadOrigin); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | assert_noop!(Staking::force_unstake(RuntimeOrigin::signed(11), 11, 2), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | Staking::force_unstake(RuntimeOrigin::root(), 11, 0), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | Staking::force_unstake(RuntimeOrigin::root(), 11, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | assert_ok!(Staking::force_unstake(RuntimeOrigin::root(), 11, 2)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | assert_ok!(Staking::force_unstake(RuntimeOrigin::root(), 11, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(Staking::bonded(&11), None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(11), 1, 10)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:121:45 [INFO] [stdout] | [INFO] [stdout] 121 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(11), 1, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | assert_noop!(Staking::kill_stash(&12, 0), Error::::NotStash); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | assert_noop!(Staking::kill_stash(&11, 0), Error::::IncorrectSlashingSpans); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | assert_ok!(Staking::kill_stash(&11, 2)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(Staking::bonded(&11), None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(Staking::bonded(&21), Some(21)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(Staking::bonded(&1), None); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | assert!(Staking::ledger(1.into()).is_err()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | Staking::ledger(101.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(Staking::nominators(101).unwrap().targets, vec![11, 21]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | Staking::eras_stakers(active_era(), &21), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(Staking::eras_total_stake(active_era()), 2500); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | assert_eq!(Staking::validator_count(), 2); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | assert_eq!(Balances::free_balance(10), 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | assert_eq!(Balances::free_balance(10), 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(Staking::force_era(), Forcing::NotForcing); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:248:14 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(Staking::bonded(&stash), Some(controller)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | assert_ok!(Staking::chill(RuntimeOrigin::signed(controller))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | assert_ok!(Staking::chill(RuntimeOrigin::signed(controller))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | assert_ok!(Staking::set_controller(RuntimeOrigin::signed(stash))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:254:38 [INFO] [stdout] | [INFO] [stdout] 254 | assert_ok!(Staking::set_controller(RuntimeOrigin::signed(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/tests.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(Staking::bonded(&stash), Some(stash)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | Staking::validate(RuntimeOrigin::signed(controller), ValidatorPrefs::default()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | Staking::validate(RuntimeOrigin::signed(controller), 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/tests.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | assert_ok!(Staking::validate(RuntimeOrigin::signed(stash), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | assert_ok!(Staking::validate(RuntimeOrigin::signed(stash), 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/tests.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(Staking::chill(RuntimeOrigin::signed(11))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(Staking::chill(RuntimeOrigin::signed(11))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | Staking::set_controller(RuntimeOrigin::signed(11)), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | Staking::set_controller(RuntimeOrigin::signed(11)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | Staking::validate(RuntimeOrigin::signed(10), ValidatorPrefs::default()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | Staking::validate(RuntimeOrigin::signed(10), 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/tests.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | assert_ok!(Staking::validate(RuntimeOrigin::signed(11), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:289:32 [INFO] [stdout] | [INFO] [stdout] 289 | assert_ok!(Staking::validate(RuntimeOrigin::signed(11), ValidatorPrefs::default())); [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.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let init_balance_11 = Balances::total_balance(&11); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | let init_balance_21 = Balances::total_balance(&21); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | let init_balance_101 = Balances::total_balance(&101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:317:14 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(Balances::total_balance(&11), init_balance_11); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | assert_eq!(Balances::total_balance(&21), init_balance_21); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 319 | assert_eq!(Balances::total_balance(&101), init_balance_101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | Staking::eras_reward_points(active_era()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | Balances::total_balance(&11), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | Balances::total_balance(&21), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:358:4 [INFO] [stdout] | [INFO] [stdout] 358 | Balances::total_balance(&101), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | Balances::total_balance(&11), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:392:4 [INFO] [stdout] | [INFO] [stdout] 392 | Balances::total_balance(&21), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:397:4 [INFO] [stdout] | [INFO] [stdout] 397 | Balances::total_balance(&101), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | let _ = Balances::make_free_balance_be(&i, 2000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 420 | assert_ok!(Staking::bond(RuntimeOrigin::signed(3), 1500, RewardDestination::Controller)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:420:28 [INFO] [stdout] | [INFO] [stdout] 420 | assert_ok!(Staking::bond(RuntimeOrigin::signed(3), 1500, RewardDestination::Controller)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:421:14 [INFO] [stdout] | [INFO] [stdout] 421 | assert_ok!(Staking::validate(RuntimeOrigin::signed(3), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:421:32 [INFO] [stdout] | [INFO] [stdout] 421 | assert_ok!(Staking::validate(RuntimeOrigin::signed(3), ValidatorPrefs::default())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | assert_ok!(Session::set_keys( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | RuntimeOrigin::signed(3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:450:3 [INFO] [stdout] | [INFO] [stdout] 450 | Staking::chill(RuntimeOrigin::signed(3)).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:450:18 [INFO] [stdout] | [INFO] [stdout] 450 | Staking::chill(RuntimeOrigin::signed(3)).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.rs:465:4 [INFO] [stdout] | [INFO] [stdout] 465 | Staking::ledger(3.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | assert_noop!(Balances::reserve(&3, 501), BalancesError::::LiquidityRestrictions); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:476:14 [INFO] [stdout] | [INFO] [stdout] 476 | assert_ok!(Balances::reserve(&3, 409)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:488:15 [INFO] [stdout] | [INFO] [stdout] 488 | assert_ok!(Staking::validate( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | RuntimeOrigin::signed(11), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:493:15 [INFO] [stdout] | [INFO] [stdout] 493 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(101), vec![11])); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:493:33 [INFO] [stdout] | [INFO] [stdout] 493 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(101), vec![11])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:497:15 [INFO] [stdout] | [INFO] [stdout] 497 | assert_ok!(Staking::kick(RuntimeOrigin::signed(11), vec![101])); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:497:29 [INFO] [stdout] | [INFO] [stdout] 497 | assert_ok!(Staking::kick(RuntimeOrigin::signed(11), vec![101])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | Staking::nominate(RuntimeOrigin::signed(101), vec![11]), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 502 | Staking::nominate(RuntimeOrigin::signed(101), vec![11]), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:515:15 [INFO] [stdout] | [INFO] [stdout] 515 | assert_eq!(Staking::validator_count(), 4); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:516:15 [INFO] [stdout] | [INFO] [stdout] 516 | assert_eq!(Staking::minimum_validator_count(), 1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | let res = Staking::chill(RuntimeOrigin::signed(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:548:29 [INFO] [stdout] | [INFO] [stdout] 548 | let res = Staking::chill(RuntimeOrigin::signed(11)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:584:15 [INFO] [stdout] | [INFO] [stdout] 584 | assert_ok!(Staking::validate(RuntimeOrigin::signed(11), Default::default())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:584:33 [INFO] [stdout] | [INFO] [stdout] 584 | assert_ok!(Staking::validate(RuntimeOrigin::signed(11), Default::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/tests.rs:585:15 [INFO] [stdout] | [INFO] [stdout] 585 | assert_ok!(Staking::validate(RuntimeOrigin::signed(31), Default::default())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:585:33 [INFO] [stdout] | [INFO] [stdout] 585 | assert_ok!(Staking::validate(RuntimeOrigin::signed(31), Default::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/tests.rs:588:15 [INFO] [stdout] | [INFO] [stdout] 588 | assert_ok!(Staking::set_payee( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | RuntimeOrigin::signed(11), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 592 | assert_ok!(Staking::set_payee( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 593 | 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.rs:596:15 [INFO] [stdout] | [INFO] [stdout] 596 | assert_ok!(Staking::set_payee( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 597 | RuntimeOrigin::signed(31), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:600:15 [INFO] [stdout] | [INFO] [stdout] 600 | assert_ok!(Staking::set_payee( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 601 | RuntimeOrigin::signed(41), [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.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let _ = Balances::make_free_balance_be(i, initial_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:612:15 [INFO] [stdout] | [INFO] [stdout] 612 | assert_ok!(Staking::bond( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:617:15 [INFO] [stdout] | [INFO] [stdout] 617 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(1), vec![11, 21, 31])); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:617:33 [INFO] [stdout] | [INFO] [stdout] 617 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(1), vec![11, 21, 31])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:619:15 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Staking::bond( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 620 | RuntimeOrigin::signed(3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:624:15 [INFO] [stdout] | [INFO] [stdout] 624 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(3), vec![11, 21, 41])); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:624:33 [INFO] [stdout] | [INFO] [stdout] 624 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(3), vec![11, 21, 41])); [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.rs:637:29 [INFO] [stdout] | [INFO] [stdout] 637 | let initial_balance_41 = Balances::total_balance(&41); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:638:33 [INFO] [stdout] | [INFO] [stdout] 638 | let mut initial_balance_21 = Balances::total_balance(&21); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | assert_eq!(Balances::total_balance(&41), initial_balance_41 + total_payout_0 / 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.rs:641:15 [INFO] [stdout] | [INFO] [stdout] 641 | assert_eq!(Balances::total_balance(&21), initial_balance_21 + total_payout_0 / 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.rs:642:25 [INFO] [stdout] | [INFO] [stdout] 642 | initial_balance_21 = Balances::total_balance(&21); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 646 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:657:5 [INFO] [stdout] | [INFO] [stdout] 657 | Staking::eras_stakers(active_era(), &21), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:684:5 [INFO] [stdout] | [INFO] [stdout] 684 | Balances::total_balance(&1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:691:5 [INFO] [stdout] | [INFO] [stdout] 691 | Balances::total_balance(&3), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:698:5 [INFO] [stdout] | [INFO] [stdout] 698 | Balances::total_balance(&11), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | Balances::total_balance(&21), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:717:26 [INFO] [stdout] | [INFO] [stdout] 717 | let initial_exposure = Staking::eras_stakers(active_era(), &11); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:722:25 [INFO] [stdout] | [INFO] [stdout] 722 | let nominator_stake = Staking::ledger(101.into()).unwrap().active; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:724:25 [INFO] [stdout] | [INFO] [stdout] 724 | let validator_stake = Staking::ledger(11.into()).unwrap().active; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:737:11 [INFO] [stdout] | [INFO] [stdout] 737 | assert!(Staking::ledger(101.into()).unwrap().active < nominator_stake); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:738:11 [INFO] [stdout] | [INFO] [stdout] 738 | assert!(Staking::ledger(11.into()).unwrap().active < validator_stake); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:751:14 [INFO] [stdout] | [INFO] [stdout] 751 | assert_eq!(Staking::ledger(101.into()).unwrap().active, nominator_stake - nominator_share); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:752:14 [INFO] [stdout] | [INFO] [stdout] 752 | assert_eq!(Staking::ledger(11.into()).unwrap().active, validator_stake - validator_share); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:784:4 [INFO] [stdout] | [INFO] [stdout] 784 | Staking::bond( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:785:5 [INFO] [stdout] | [INFO] [stdout] 785 | RuntimeOrigin::signed(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/tests.rs:793:4 [INFO] [stdout] | [INFO] [stdout] 793 | Staking::nominate(RuntimeOrigin::signed(stash), vec![1]), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:793:22 [INFO] [stdout] | [INFO] [stdout] 793 | Staking::nominate(RuntimeOrigin::signed(stash), vec![1]), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:797:14 [INFO] [stdout] | [INFO] [stdout] 797 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(controller), vec![1])); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:797:32 [INFO] [stdout] | [INFO] [stdout] 797 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(controller), vec![1])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:818:4 [INFO] [stdout] | [INFO] [stdout] 818 | Staking::bond( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:819:5 [INFO] [stdout] | [INFO] [stdout] 819 | RuntimeOrigin::signed(stash), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:833:14 [INFO] [stdout] | [INFO] [stdout] 833 | assert_eq!(Session::current_index(), 1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:838:14 [INFO] [stdout] | [INFO] [stdout] 838 | assert_eq!(Session::current_index(), 1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:844:14 [INFO] [stdout] | [INFO] [stdout] 844 | assert_eq!(Session::current_index(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:850:14 [INFO] [stdout] | [INFO] [stdout] 850 | assert_eq!(Session::current_index(), 3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:856:14 [INFO] [stdout] | [INFO] [stdout] 856 | assert_eq!(Session::current_index(), 4); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:862:14 [INFO] [stdout] | [INFO] [stdout] 862 | assert_eq!(Session::current_index(), 5); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:868:14 [INFO] [stdout] | [INFO] [stdout] 868 | assert_eq!(Session::current_index(), 6); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:878:14 [INFO] [stdout] | [INFO] [stdout] 878 | assert_eq!(Session::current_index(), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:882:14 [INFO] [stdout] | [INFO] [stdout] 882 | assert_eq!(Session::current_index(), 1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:887:14 [INFO] [stdout] | [INFO] [stdout] 887 | assert_eq!(Session::current_index(), 2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:892:14 [INFO] [stdout] | [INFO] [stdout] 892 | assert_eq!(Session::current_index(), 3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:897:14 [INFO] [stdout] | [INFO] [stdout] 897 | assert_eq!(Session::current_index(), 4); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:902:14 [INFO] [stdout] | [INFO] [stdout] 902 | assert_eq!(Session::current_index(), 5); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:907:14 [INFO] [stdout] | [INFO] [stdout] 907 | assert_eq!(Session::current_index(), 6); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:927:3 [INFO] [stdout] | [INFO] [stdout] 927 | Staking::set_force_era(Forcing::ForceNone); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:943:3 [INFO] [stdout] | [INFO] [stdout] 943 | Staking::set_force_era(Forcing::NotForcing); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:951:3 [INFO] [stdout] | [INFO] [stdout] 951 | Staking::set_force_era(Forcing::ForceAlways); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:963:3 [INFO] [stdout] | [INFO] [stdout] 963 | Staking::set_force_era(Forcing::ForceNew); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:981:14 [INFO] [stdout] | [INFO] [stdout] 981 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:983:14 [INFO] [stdout] | [INFO] [stdout] 983 | assert_eq!(Balances::free_balance(11), 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:985:14 [INFO] [stdout] | [INFO] [stdout] 985 | assert_eq!(Staking::eras_stakers(active_era(), &11).total, 1000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:988:4 [INFO] [stdout] | [INFO] [stdout] 988 | 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.rs:988:35 [INFO] [stdout] | [INFO] [stdout] 988 | 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.rs:993:11 [INFO] [stdout] | [INFO] [stdout] 993 | let _ = Balances::make_free_balance_be(&11, 10000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:995:14 [INFO] [stdout] | [INFO] [stdout] 995 | 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.rs:995:45 [INFO] [stdout] | [INFO] [stdout] 995 | 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 `Staking` [INFO] [stdout] --> src/tests.rs:1006:14 [INFO] [stdout] | [INFO] [stdout] 1006 | assert_eq!(Staking::bonded(&21), Some(21)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1008:14 [INFO] [stdout] | [INFO] [stdout] 1008 | assert_eq!(Balances::free_balance(21), 2000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1010:14 [INFO] [stdout] | [INFO] [stdout] 1010 | assert_eq!(Staking::eras_stakers(active_era(), &21).total, 1000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1013:4 [INFO] [stdout] | [INFO] [stdout] 1013 | Balances::transfer_allow_death(RuntimeOrigin::signed(21), 21, 1001), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1013:35 [INFO] [stdout] | [INFO] [stdout] 1013 | Balances::transfer_allow_death(RuntimeOrigin::signed(21), 21, 1001), [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.rs:1016:14 [INFO] [stdout] | [INFO] [stdout] 1016 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(21), 21, 1000)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1016:45 [INFO] [stdout] | [INFO] [stdout] 1016 | assert_ok!(Balances::transfer_allow_death(RuntimeOrigin::signed(21), 21, 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.rs:1025:14 [INFO] [stdout] | [INFO] [stdout] 1025 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1027:14 [INFO] [stdout] | [INFO] [stdout] 1027 | assert_eq!(Balances::free_balance(11), 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1029:14 [INFO] [stdout] | [INFO] [stdout] 1029 | assert_eq!(Staking::eras_stakers(active_era(), &11).own, 1000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1031:16 [INFO] [stdout] | [INFO] [stdout] 1031 | assert_noop!(Balances::reserve(&11, 1), BalancesError::::LiquidityRestrictions); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1034:11 [INFO] [stdout] | [INFO] [stdout] 1034 | let _ = Balances::make_free_balance_be(&11, 10000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1036:14 [INFO] [stdout] | [INFO] [stdout] 1036 | assert_ok!(Balances::reserve(&11, 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 `Session` [INFO] [stdout] --> src/tests.rs:1045:11 [INFO] [stdout] | [INFO] [stdout] 1045 | assert!(Session::validators().contains(&11)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1047:14 [INFO] [stdout] | [INFO] [stdout] 1047 | assert_eq!(Balances::free_balance(10), 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1049:14 [INFO] [stdout] | [INFO] [stdout] 1049 | assert_eq!(Balances::free_balance(11), 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1052:4 [INFO] [stdout] | [INFO] [stdout] 1052 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1070:14 [INFO] [stdout] | [INFO] [stdout] 1070 | assert_eq!(Staking::payee(11.into()), RewardDestination::Staked); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1072:14 [INFO] [stdout] | [INFO] [stdout] 1072 | assert_eq!(Balances::free_balance(11), 1000 + total_payout_0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1075:4 [INFO] [stdout] | [INFO] [stdout] 1075 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1086:14 [INFO] [stdout] | [INFO] [stdout] 1086 | assert_eq!(Staking::claimed_rewards(0, &11), vec![0]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1099:14 [INFO] [stdout] | [INFO] [stdout] 1099 | assert_eq!(Staking::payee(11.into()), RewardDestination::Stash); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1101:14 [INFO] [stdout] | [INFO] [stdout] 1101 | assert_eq!(Balances::free_balance(11), 1000 + total_payout_0 + total_payout_1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1106:4 [INFO] [stdout] | [INFO] [stdout] 1106 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1117:14 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_eq!(Staking::claimed_rewards(1, &11), vec![0]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1123:14 [INFO] [stdout] | [INFO] [stdout] 1123 | assert_eq!(Balances::free_balance(11), 23150); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1133:14 [INFO] [stdout] | [INFO] [stdout] 1133 | assert_eq!(Staking::payee(11.into()), RewardDestination::Controller); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1135:14 [INFO] [stdout] | [INFO] [stdout] 1135 | assert_eq!(Balances::free_balance(11), recorded_stash_balance + total_payout_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 `Staking` [INFO] [stdout] --> src/tests.rs:1138:4 [INFO] [stdout] | [INFO] [stdout] 1138 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1149:14 [INFO] [stdout] | [INFO] [stdout] 1149 | assert_eq!(Staking::claimed_rewards(2, &11), vec![0]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1169:26 [INFO] [stdout] | [INFO] [stdout] 1169 | let balance_era_1_11 = Balances::total_balance(&11); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1170:27 [INFO] [stdout] | [INFO] [stdout] 1170 | let balance_era_1_101 = Balances::total_balance(&101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1174:20 [INFO] [stdout] | [INFO] [stdout] 1174 | let exposure_1 = Staking::eras_stakers(active_era(), &11); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1184:25 [INFO] [stdout] | [INFO] [stdout] 1184 | assert_eq_error_rate!(Balances::total_balance(&11), balance_era_1_11 + reward_of_10, 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.rs:1185:25 [INFO] [stdout] | [INFO] [stdout] 1185 | assert_eq_error_rate!(Balances::total_balance(&101), balance_era_1_101 + reward_of_100, 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 `Staking` [INFO] [stdout] --> src/tests.rs:1198:14 [INFO] [stdout] | [INFO] [stdout] 1198 | assert_eq!(Staking::bonded(&11), Some(11)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1201:4 [INFO] [stdout] | [INFO] [stdout] 1201 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1212:11 [INFO] [stdout] | [INFO] [stdout] 1212 | let _ = Balances::make_free_balance_be(&11, 1000000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1215:14 [INFO] [stdout] | [INFO] [stdout] 1215 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), 100)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1215:34 [INFO] [stdout] | [INFO] [stdout] 1215 | 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.rs:1218:4 [INFO] [stdout] | [INFO] [stdout] 1218 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1229:14 [INFO] [stdout] | [INFO] [stdout] 1229 | assert_ok!(Staking::bond_extra(RuntimeOrigin::signed(11), Balance::max_value())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1229:34 [INFO] [stdout] | [INFO] [stdout] 1229 | 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.rs:1232:4 [INFO] [stdout] | [INFO] [stdout] 1232 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1254:14 [INFO] [stdout] | [INFO] [stdout] 1254 | assert_ok!(Staking::set_payee(RuntimeOrigin::signed(11), RewardDestination::Controller)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1254:33 [INFO] [stdout] | [INFO] [stdout] 1254 | assert_ok!(Staking::set_payee(RuntimeOrigin::signed(11), RewardDestination::Controller)); [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.rs:1257:11 [INFO] [stdout] | [INFO] [stdout] 1257 | let _ = Balances::make_free_balance_be(&11, 1000000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1263:14 [INFO] [stdout] | [INFO] [stdout] 1263 | assert_eq!(Balances::total_balance(&11), 1000000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1270:4 [INFO] [stdout] | [INFO] [stdout] 1270 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1280:4 [INFO] [stdout] | [INFO] [stdout] 1280 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1285:3 [INFO] [stdout] | [INFO] [stdout] 1285 | Staking::bond_extra(RuntimeOrigin::signed(11), 100).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1285:23 [INFO] [stdout] | [INFO] [stdout] 1285 | 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.rs:1288:4 [INFO] [stdout] | [INFO] [stdout] 1288 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1299:4 [INFO] [stdout] | [INFO] [stdout] 1299 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1309:4 [INFO] [stdout] | [INFO] [stdout] 1309 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1320:4 [INFO] [stdout] | [INFO] [stdout] 1320 | Staking::eras_stakers(active_era(), &11), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1325:3 [INFO] [stdout] | [INFO] [stdout] 1325 | Staking::unbond(RuntimeOrigin::signed(11), 1000).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1325:19 [INFO] [stdout] | [INFO] [stdout] 1325 | Staking::unbond(RuntimeOrigin::signed(11), 1000).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.rs:1327:4 [INFO] [stdout] | [INFO] [stdout] 1327 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1338:14 [INFO] [stdout] | [INFO] [stdout] 1338 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1338:41 [INFO] [stdout] | [INFO] [stdout] 1338 | 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.rs:1340:4 [INFO] [stdout] | [INFO] [stdout] 1340 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1354:14 [INFO] [stdout] | [INFO] [stdout] 1354 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1354:41 [INFO] [stdout] | [INFO] [stdout] 1354 | 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.rs:1356:4 [INFO] [stdout] | [INFO] [stdout] 1356 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1369:14 [INFO] [stdout] | [INFO] [stdout] 1369 | assert_ok!(Staking::withdraw_unbonded(RuntimeOrigin::signed(11), 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1369:41 [INFO] [stdout] | [INFO] [stdout] 1369 | 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.rs:1372:4 [INFO] [stdout] | [INFO] [stdout] 1372 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1396:15 [INFO] [stdout] | [INFO] [stdout] 1396 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1396:31 [INFO] [stdout] | [INFO] [stdout] 1396 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1404:14 [INFO] [stdout] | [INFO] [stdout] 1404 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1404:30 [INFO] [stdout] | [INFO] [stdout] 1404 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1406:4 [INFO] [stdout] | [INFO] [stdout] 1406 | Staking::ledger(11.into()).map(|l| l.unlocking.len()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1416:15 [INFO] [stdout] | [INFO] [stdout] 1416 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1416:31 [INFO] [stdout] | [INFO] [stdout] 1416 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1421:4 [INFO] [stdout] | [INFO] [stdout] 1421 | Staking::ledger(11.into()).map(|l| l.unlocking.len()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1439:14 [INFO] [stdout] | [INFO] [stdout] 1439 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1439:30 [INFO] [stdout] | [INFO] [stdout] 1439 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1447:16 [INFO] [stdout] | [INFO] [stdout] 1447 | assert_noop!(Staking::unbond(RuntimeOrigin::signed(11), 1), Error::::NoMoreChunks); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1447:32 [INFO] [stdout] | [INFO] [stdout] 1447 | assert_noop!(Staking::unbond(RuntimeOrigin::signed(11), 1), Error::::NoMoreChunks); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1452:14 [INFO] [stdout] | [INFO] [stdout] 1452 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1452:30 [INFO] [stdout] | [INFO] [stdout] 1452 | assert_ok!(Staking::unbond(RuntimeOrigin::signed(11), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1465:14 [INFO] [stdout] | [INFO] [stdout] 1465 | assert_ok!(Staking::set_payee(RuntimeOrigin::signed(11), RewardDestination::Controller)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1465:33 [INFO] [stdout] | [INFO] [stdout] 1465 | assert_ok!(Staking::set_payee(RuntimeOrigin::signed(11), RewardDestination::Controller)); [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.rs:1468:11 [INFO] [stdout] | [INFO] [stdout] 1468 | let _ = Balances::make_free_balance_be(&11, 1000000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1475:4 [INFO] [stdout] | [INFO] [stdout] 1475 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1489:16 [INFO] [stdout] | [INFO] [stdout] 1489 | assert_noop!(Staking::rebond(RuntimeOrigin::signed(11), 500), Error::::NoUnlockChunk); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1489:32 [INFO] [stdout] | [INFO] [stdout] 1489 | assert_noop!(Staking::rebond(RuntimeOrigin::signed(11), 500), Error::::NoUnlockChunk); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1492:3 [INFO] [stdout] | [INFO] [stdout] 1492 | Staking::unbond(RuntimeOrigin::signed(11), 900).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1492:19 [INFO] [stdout] | [INFO] [stdout] 1492 | Staking::unbond(RuntimeOrigin::signed(11), 900).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.rs:1494:4 [INFO] [stdout] | [INFO] [stdout] 1494 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1505:3 [INFO] [stdout] | [INFO] [stdout] 1505 | Staking::rebond(RuntimeOrigin::signed(11), 900).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1505:19 [INFO] [stdout] | [INFO] [stdout] 1505 | Staking::rebond(RuntimeOrigin::signed(11), 900).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.rs:1507:4 [INFO] [stdout] | [INFO] [stdout] 1507 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1518:3 [INFO] [stdout] | [INFO] [stdout] 1518 | Staking::unbond(RuntimeOrigin::signed(11), 900).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1518:19 [INFO] [stdout] | [INFO] [stdout] 1518 | Staking::unbond(RuntimeOrigin::signed(11), 900).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.rs:1520:4 [INFO] [stdout] | [INFO] [stdout] 1520 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1531:3 [INFO] [stdout] | [INFO] [stdout] 1531 | Staking::rebond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1531:19 [INFO] [stdout] | [INFO] [stdout] 1531 | Staking::rebond(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.rs:1533:4 [INFO] [stdout] | [INFO] [stdout] 1533 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1544:3 [INFO] [stdout] | [INFO] [stdout] 1544 | Staking::rebond(RuntimeOrigin::signed(11), 500).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1544:19 [INFO] [stdout] | [INFO] [stdout] 1544 | Staking::rebond(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.rs:1546:4 [INFO] [stdout] | [INFO] [stdout] 1546 | Staking::ledger(11.into()).unwrap(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1557:3 [INFO] [stdout] | [INFO] [stdout] 1557 | Staking::unbond(RuntimeOrigin::signed(11), 300).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1557:19 [INFO] [stdout] | [INFO] [stdout] 1557 | Staking::unbond(RuntimeOrigin::signed(11), 300).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.rs:1558:3 [INFO] [stdout] | [INFO] [stdout] 1558 | Staking::unbond(RuntimeOrigin::signed(11), 300).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [WARN] too many lines in the log, truncating it