[INFO] fetching crate pallet-conviction-voting 38.0.0...
[INFO] checking pallet-conviction-voting-38.0.0 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate pallet-conviction-voting 38.0.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate pallet-conviction-voting 38.0.0 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-conviction-voting 38.0.0
[INFO] finished tweaking crates.io crate pallet-conviction-voting 38.0.0
[INFO] tweaked toml for crates.io crate pallet-conviction-voting 38.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 329 packages to latest compatible versions
[INFO] [stderr]       Adding unicode-normalization v0.1.22 (available: v0.1.24)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 000964355f3b1455e58680b82e34ae7c96bda7424f43bf2e2447fddfb8cb49f6
[INFO] running `Command { std: "docker" "start" "-a" "000964355f3b1455e58680b82e34ae7c96bda7424f43bf2e2447fddfb8cb49f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "000964355f3b1455e58680b82e34ae7c96bda7424f43bf2e2447fddfb8cb49f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "000964355f3b1455e58680b82e34ae7c96bda7424f43bf2e2447fddfb8cb49f6", kill_on_drop: false }`
[INFO] [stdout] 000964355f3b1455e58680b82e34ae7c96bda7424f43bf2e2447fddfb8cb49f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ecb63c24e5aeb900d7c2e90fb4bab1073a421830ad91d54f042327b08aec4921
[INFO] running `Command { std: "docker" "start" "-a" "ecb63c24e5aeb900d7c2e90fb4bab1073a421830ad91d54f042327b08aec4921", kill_on_drop: false }`
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling parity-scale-codec v3.7.0
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]    Compiling expander v2.2.1
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling file-guard v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]     Checking serdect v0.2.0
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]    Compiling sp-debug-derive v14.0.0
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]     Checking sp-std v14.0.0
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hex-conservative v0.1.2
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]     Checking bitcoin_hashes v0.13.0
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]     Checking array-bytes v6.2.3
[INFO] [stderr]     Checking getrandom_or_panic v0.0.3
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking schnellru v0.2.3
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]     Checking ed25519-zebra v4.0.3
[INFO] [stderr]     Checking trie-db v0.29.1
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking sp-crypto-hashing v0.1.0
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling sp-io v38.0.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking parity-bip39 v2.0.1
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]     Checking sp-panic-handler v13.0.0
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking simple-mermaid v0.1.1
[INFO] [stderr]     Checking substrate-bip39 v0.6.0
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling proc-macro-warning v1.0.2
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]    Compiling ss58-registry v1.51.0
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]     Checking secp256k1 v0.28.2
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling frame-support-procedural-tools v13.0.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.0
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v18.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v20.0.0
[INFO] [stderr]    Compiling frame-support-procedural v30.0.4
[INFO] [stderr]    Compiling docify_macros v0.2.9
[INFO] [stderr]     Checking docify v0.2.9
[INFO] [stderr]     Checking scale-info v2.11.6
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-storage v21.0.0
[INFO] [stderr]     Checking sp-wasm-interface v21.0.1
[INFO] [stderr]     Checking sp-tracing v17.0.1
[INFO] [stderr]    Compiling sp-version-proc-macro v14.0.0
[INFO] [stderr]     Checking sp-externalities v0.29.0
[INFO] [stderr]     Checking bounded-collections v0.2.2
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking sp-arithmetic v26.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.7.0
[INFO] [stderr]     Checking sp-runtime-interface v28.0.0
[INFO] [stderr]     Checking sp-weights v31.0.0
[INFO] [stderr]     Checking sp-core v34.0.0
[INFO] [stderr]     Checking sp-trie v37.0.0
[INFO] [stderr]     Checking sp-keystore v0.40.0
[INFO] [stderr]     Checking sp-state-machine v0.43.0
[INFO] [stderr]     Checking sp-application-crypto v38.0.0
[INFO] [stderr]     Checking sp-runtime v39.0.2
[INFO] [stderr]     Checking sp-version v37.0.0
[INFO] [stderr]     Checking sp-staking v36.0.0
[INFO] [stderr]     Checking sp-inherents v34.0.0
[INFO] [stderr]     Checking sp-api v34.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.15.1
[INFO] [stderr]     Checking frame-support v38.0.0
[INFO] [stderr]     Checking frame-system v38.0.0
[INFO] [stderr]     Checking pallet-conviction-voting v38.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:57:15
[INFO] [stdout]    |
[INFO] [stdout] 57 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Balances: pallet_balances,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 |         assert_eq!(pallet_balances::TotalIssuance::<Test>::get(), 210);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:31:47
[INFO] [stdout]    |
[INFO] [stdout] 31 | type Block = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 31 | type Block<Test> = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Contains<RuntimeCall> for BaseFilter {
[INFO] [stdout]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<RuntimeCall> Contains<RuntimeCall> for BaseFilter {
[INFO] [stdout]    |     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn contains(call: &RuntimeCall) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:46:42
[INFO] [stdout]    |
[INFO] [stdout] 46 |         !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }))
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout] 20 + use crate::Call;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use frame_system::Call;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Call`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 46 -         !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }))
[INFO] [stdout] 46 +         !matches!(call, &RuntimeCall::Balances(Call::force_set_balance { .. }))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/tests.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:308:9
[INFO] [stdout]    |
[INFO] [stdout] 308|             type Self::RuntimeEvent = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:310:9
[INFO] [stdout]    |
[INFO] [stdout] 310|             type Self::RuntimeOrigin = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:312:9
[INFO] [stdout]    |
[INFO] [stdout] 312|             type Self::RuntimeCall = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/tests.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:314:9
[INFO] [stdout]    |
[INFO] [stdout] 314|             type Self::PalletInfo = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 20 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope
[INFO] [stdout]   --> src/tests.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:316:9
[INFO] [stdout]    |
[INFO] [stdout] 316|             type Self::RuntimeTask = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Ongoing(TallyOf<Test>, u8),
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum TestPollState<Test> {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Ongoing(TallyOf<Test>, u8),
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum TestPollState<Test> {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:78:22
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl Polling<TallyOf<Test>> for TestPolls {
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl<Test> Polling<TallyOf<Test>> for TestPolls {
[INFO] [stdout]    |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:86:46
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn as_ongoing(index: u8) -> Option<(TallyOf<Test>, Self::Class)> {
[INFO] [stdout]    |                                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl<Test> Polling<TallyOf<Test>> for TestPolls {
[INFO] [stdout]    |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:97:42
[INFO] [stdout]    |
[INFO] [stdout] 97 |         f: impl FnOnce(PollStatus<&mut TallyOf<Test>, u64, u8>) -> R,
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl<Test> Polling<TallyOf<Test>> for TestPolls {
[INFO] [stdout]    |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 |         f: impl FnOnce(PollStatus<&mut TallyOf<Test>, u64, u8>) -> Result<R, DispatchError>,
[INFO] [stdout]     |                                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 78  | impl<Test> Polling<TallyOf<Test>> for TestPolls {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:149:17
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl 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/tests.rs:150:22
[INFO] [stdout]     |
[INFO] [stdout] 150 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 150 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:155:59
[INFO] [stdout]     |
[INFO] [stdout] 155 |       type MaxTurnout = frame_support::traits::TotalIssuanceOf<Balances, Self::AccountId>;
[INFO] [stdout]     |                                                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:68:1
[INFO] [stdout]     |
[INFO] [stdout] 68  | / type BalanceOf<T, I = ()> =
[INFO] [stdout] 69  | |     <<T as Config<I>>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;
[INFO] [stdout]     | |______________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 155 |     type MaxTurnout = frame_support::traits::TotalIssuanceOf<BalanceOf, Self::AccountId>;
[INFO] [stdout]     |                                                              ~~~~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl<Balances> Config for Test {
[INFO] [stdout]     |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:160:44
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let mut t = frame_system::GenesisConfig::<Test>::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] 159 | pub fn new_test_ext<Test>() -> sp_io::TestExternalities {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:161:35
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn new_test_ext<Test>() -> sp_io::TestExternalities {
[INFO] [stdout]     |                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:167:22
[INFO] [stdout]     |
[INFO] [stdout] 167 |     ext.execute_with(|| System::set_block_number(1));
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:175:47
[INFO] [stdout]     |
[INFO] [stdout] 175 |         assert_eq!(pallet_balances::TotalIssuance::<Test>::get(), 210);
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn params_should_work<Test>() {
[INFO] [stdout]     |                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:180:2
[INFO] [stdout]     |
[INFO] [stdout] 180 |     System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:180:27
[INFO] [stdout]     |
[INFO] [stdout] 180 |     System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 |     while System::block_number() < n {
[INFO] [stdout]     |           ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:208:32
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn tally(index: u8) -> TallyOf<Test> {
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn tally<Test>(index: u8) -> TallyOf<Test> {
[INFO] [stdout]     |         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:209:32
[INFO] [stdout]     |
[INFO] [stdout] 209 |     <TestPolls as Polling<TallyOf<Test>>>::as_ongoing(index).expect("No poll").0
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn tally<Test>(index: u8) -> TallyOf<Test> {
[INFO] [stdout]     |         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:213:32
[INFO] [stdout]     |
[INFO] [stdout] 213 |     <TestPolls as Polling<TallyOf<Test>>>::as_ongoing(index).expect("No poll").1
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn class<Test>(index: u8) -> u8 {
[INFO] [stdout]     |         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:747:12
[INFO] [stdout]     |
[INFO] [stdout] 747 |             Error::<Test>::NotOngoing
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 743 | fn errors_with_vote_work<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:751:12
[INFO] [stdout]     |
[INFO] [stdout] 751 |             Error::<Test>::NotOngoing
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 743 | fn errors_with_vote_work<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:755:12
[INFO] [stdout]     |
[INFO] [stdout] 755 |             Error::<Test>::NotOngoing
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 743 | fn errors_with_vote_work<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:759:12
[INFO] [stdout]     |
[INFO] [stdout] 759 |             Error::<Test>::InsufficientFunds
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 743 | fn errors_with_vote_work<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:765:12
[INFO] [stdout]     |
[INFO] [stdout] 765 |             Error::<Test>::AlreadyDelegating
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 743 | fn errors_with_vote_work<Test>() {
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:784:12
[INFO] [stdout]     |
[INFO] [stdout] 784 |             Error::<Test>::MaxVotesReached
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 743 | fn errors_with_vote_work<Test>() {
[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::<Test>::InsufficientFunds
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 790 | fn errors_with_delegating_work<Test>() {
[INFO] [stdout]     |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:798:12
[INFO] [stdout]     |
[INFO] [stdout] 798 |             Error::<Test>::BadClass
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 790 | fn errors_with_delegating_work<Test>() {
[INFO] [stdout]     |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:804:12
[INFO] [stdout]     |
[INFO] [stdout] 804 |             Error::<Test>::AlreadyVoting
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 790 | fn errors_with_delegating_work<Test>() {
[INFO] [stdout]     |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:807:73
[INFO] [stdout]     |
[INFO] [stdout] 807 |         assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::<Test>::NotDelegating);
[INFO] [stdout]     |                                                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 790 | fn errors_with_delegating_work<Test>() {
[INFO] [stdout]     |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:816:12
[INFO] [stdout]     |
[INFO] [stdout] 816 |             Error::<Test>::NotVoter
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 812 | fn remove_other_vote_works<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:821:12
[INFO] [stdout]     |
[INFO] [stdout] 821 |             Error::<Test>::NoPermission
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 812 | fn remove_other_vote_works<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:827:12
[INFO] [stdout]     |
[INFO] [stdout] 827 |             Error::<Test>::NoPermissionYet
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 812 | fn remove_other_vote_works<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:839:12
[INFO] [stdout]     |
[INFO] [stdout] 839 |             Error::<Test>::NotVoter
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 835 | fn errors_with_remove_vote_work<Test>() {
[INFO] [stdout]     |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:845:12
[INFO] [stdout]     |
[INFO] [stdout] 845 |             Error::<Test>::ClassNeeded
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 835 | fn errors_with_remove_vote_work<Test>() {
[INFO] [stdout]     |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:174:14
[INFO] [stdout]     |
[INFO] [stdout] 174 |         assert_eq!(Balances::free_balance(42), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:240:22
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:240:27
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:242:22
[INFO] [stdout]     |
[INFO] [stdout] 242 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:242:27
[INFO] [stdout]     |
[INFO] [stdout] 242 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5)));
[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:244:14
[INFO] [stdout]     |
[INFO] [stdout] 244 |         assert_eq!(Balances::usable_balance(1), 8);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:246:22
[INFO] [stdout]     |
[INFO] [stdout] 246 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:246:27
[INFO] [stdout]     |
[INFO] [stdout] 246 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:248:22
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:248:27
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 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:250:14
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:252:22
[INFO] [stdout]     |
[INFO] [stdout] 252 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:252:27
[INFO] [stdout]     |
[INFO] [stdout] 252 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:254:22
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:254:27
[INFO] [stdout]     |
[INFO] [stdout] 254 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0)));
[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:256:14
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:258:22
[INFO] [stdout]     |
[INFO] [stdout] 258 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:258:34
[INFO] [stdout]     |
[INFO] [stdout] 258 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:261:22
[INFO] [stdout]     |
[INFO] [stdout] 261 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:261:29
[INFO] [stdout]     |
[INFO] [stdout] 261 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 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:262:14
[INFO] [stdout]     |
[INFO] [stdout] 262 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:269:22
[INFO] [stdout]     |
[INFO] [stdout] 269 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:269:27
[INFO] [stdout]     |
[INFO] [stdout] 269 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:271:22
[INFO] [stdout]     |
[INFO] [stdout] 271 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(5, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:271:27
[INFO] [stdout]     |
[INFO] [stdout] 271 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(5, 5)));
[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:273:14
[INFO] [stdout]     |
[INFO] [stdout] 273 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:275:22
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:275:34
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:278:22
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:278:29
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 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:279:14
[INFO] [stdout]     |
[INFO] [stdout] 279 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:286:22
[INFO] [stdout]     |
[INFO] [stdout] 286 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split_abstain(0, 0, 10)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:286:27
[INFO] [stdout]     |
[INFO] [stdout] 286 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split_abstain(0, 0, 10)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:288:22
[INFO] [stdout]     |
[INFO] [stdout] 288 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, split_abstain(0, 0, 20)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:288:27
[INFO] [stdout]     |
[INFO] [stdout] 288 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, split_abstain(0, 0, 20)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:290:22
[INFO] [stdout]     |
[INFO] [stdout] 290 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, split_abstain(10, 0, 10)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:290:27
[INFO] [stdout]     |
[INFO] [stdout] 290 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, split_abstain(10, 0, 10)));
[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:292:14
[INFO] [stdout]     |
[INFO] [stdout] 292 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:293:14
[INFO] [stdout]     |
[INFO] [stdout] 293 |         assert_eq!(Balances::usable_balance(2), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:295:22
[INFO] [stdout]     |
[INFO] [stdout] 295 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:295:34
[INFO] [stdout]     |
[INFO] [stdout] 295 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:298:22
[INFO] [stdout]     |
[INFO] [stdout] 298 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:298:34
[INFO] [stdout]     |
[INFO] [stdout] 298 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), None, 3));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:301:22
[INFO] [stdout]     |
[INFO] [stdout] 301 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:301:29
[INFO] [stdout]     |
[INFO] [stdout] 301 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 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:302:14
[INFO] [stdout]     |
[INFO] [stdout] 302 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:304:22
[INFO] [stdout]     |
[INFO] [stdout] 304 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), class(3), 2));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:304:29
[INFO] [stdout]     |
[INFO] [stdout] 304 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), class(3), 2));
[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:305:14
[INFO] [stdout]     |
[INFO] [stdout] 305 |         assert_eq!(Balances::usable_balance(2), 20);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:312:22
[INFO] [stdout]     |
[INFO] [stdout] 312 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:312:27
[INFO] [stdout]     |
[INFO] [stdout] 312 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:314:22
[INFO] [stdout]     |
[INFO] [stdout] 314 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:314:27
[INFO] [stdout]     |
[INFO] [stdout] 314 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5)));
[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:316:14
[INFO] [stdout]     |
[INFO] [stdout] 316 |         assert_eq!(Balances::usable_balance(1), 8);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:318:22
[INFO] [stdout]     |
[INFO] [stdout] 318 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:318:27
[INFO] [stdout]     |
[INFO] [stdout] 318 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:320:22
[INFO] [stdout]     |
[INFO] [stdout] 320 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:320:27
[INFO] [stdout]     |
[INFO] [stdout] 320 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 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:322:14
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:324:22
[INFO] [stdout]     |
[INFO] [stdout] 324 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:324:27
[INFO] [stdout]     |
[INFO] [stdout] 324 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:326:22
[INFO] [stdout]     |
[INFO] [stdout] 326 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:326:27
[INFO] [stdout]     |
[INFO] [stdout] 326 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0)));
[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:328:14
[INFO] [stdout]     |
[INFO] [stdout] 328 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:330:22
[INFO] [stdout]     |
[INFO] [stdout] 330 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:330:34
[INFO] [stdout]     |
[INFO] [stdout] 330 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:333:22
[INFO] [stdout]     |
[INFO] [stdout] 333 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:333:29
[INFO] [stdout]     |
[INFO] [stdout] 333 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 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:334:14
[INFO] [stdout]     |
[INFO] [stdout] 334 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:341:22
[INFO] [stdout]     |
[INFO] [stdout] 341 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:341:27
[INFO] [stdout]     |
[INFO] [stdout] 341 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:342:22
[INFO] [stdout]     |
[INFO] [stdout] 342 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:342:27
[INFO] [stdout]     |
[INFO] [stdout] 342 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:345:22
[INFO] [stdout]     |
[INFO] [stdout] 345 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:345:34
[INFO] [stdout]     |
[INFO] [stdout] 345 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:346:22
[INFO] [stdout]     |
[INFO] [stdout] 346 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), c, 2));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:346:29
[INFO] [stdout]     |
[INFO] [stdout] 346 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), c, 2));
[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:347:14
[INFO] [stdout]     |
[INFO] [stdout] 347 |         assert_eq!(Balances::usable_balance(2), 20);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:354:22
[INFO] [stdout]     |
[INFO] [stdout] 354 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:354:27
[INFO] [stdout]     |
[INFO] [stdout] 354 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:355:22
[INFO] [stdout]     |
[INFO] [stdout] 355 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:355:27
[INFO] [stdout]     |
[INFO] [stdout] 355 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:358:22
[INFO] [stdout]     |
[INFO] [stdout] 358 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:358:34
[INFO] [stdout]     |
[INFO] [stdout] 358 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:359:22
[INFO] [stdout]     |
[INFO] [stdout] 359 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:359:29
[INFO] [stdout]     |
[INFO] [stdout] 359 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 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:360:14
[INFO] [stdout]     |
[INFO] [stdout] 360 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:368:23
[INFO] [stdout]     |
[INFO] [stdout] 368 |             assert_ok!(Voting::vote(RuntimeOrigin::signed(i), 3, aye(10, i as u8)));
[INFO] [stdout]     |                                ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:368:28
[INFO] [stdout]     |
[INFO] [stdout] 368 |             assert_ok!(Voting::vote(RuntimeOrigin::signed(i), 3, aye(10, i as u8)));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:373:23
[INFO] [stdout]     |
[INFO] [stdout] 373 |             assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(i), Some(c), 3));
[INFO] [stdout]     |                                ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:373:35
[INFO] [stdout]     |
[INFO] [stdout] 373 |             assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(i), Some(c), 3));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:378:24
[INFO] [stdout]     |
[INFO] [stdout] 378 |                 assert_ok!(Voting::unlock(RuntimeOrigin::signed(i), c, i));
[INFO] [stdout]     |                                    ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:378:31
[INFO] [stdout]     |
[INFO] [stdout] 378 |                 assert_ok!(Voting::unlock(RuntimeOrigin::signed(i), c, i));
[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:380:16
[INFO] [stdout]     |
[INFO] [stdout] 380 |                 assert_eq!(Balances::usable_balance(i), i * 10 - if expired { 0 } else { 10 });
[INFO] [stdout]     |                            ^^^^^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            use of undeclared type `Balances`
[INFO] [stdout]     |                            help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:399:22
[INFO] [stdout]     |
[INFO] [stdout] 399 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:399:31
[INFO] [stdout]     |
[INFO] [stdout] 399 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:400:22
[INFO] [stdout]     |
[INFO] [stdout] 400 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:400:31
[INFO] [stdout]     |
[INFO] [stdout] 400 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:401:22
[INFO] [stdout]     |
[INFO] [stdout] 401 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:401:31
[INFO] [stdout]     |
[INFO] [stdout] 401 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 5));
[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:402:14
[INFO] [stdout]     |
[INFO] [stdout] 402 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:404:22
[INFO] [stdout]     |
[INFO] [stdout] 404 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:404:27
[INFO] [stdout]     |
[INFO] [stdout] 404 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:405:22
[INFO] [stdout]     |
[INFO] [stdout] 405 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 1, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:405:27
[INFO] [stdout]     |
[INFO] [stdout] 405 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 1, nay(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:406:22
[INFO] [stdout]     |
[INFO] [stdout] 406 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 2, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:406:27
[INFO] [stdout]     |
[INFO] [stdout] 406 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 2, nay(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:407:22
[INFO] [stdout]     |
[INFO] [stdout] 407 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 0, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:407:27
[INFO] [stdout]     |
[INFO] [stdout] 407 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 0, nay(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:408:22
[INFO] [stdout]     |
[INFO] [stdout] 408 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 1, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:408:27
[INFO] [stdout]     |
[INFO] [stdout] 408 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 1, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:409:22
[INFO] [stdout]     |
[INFO] [stdout] 409 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 2, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:409:27
[INFO] [stdout]     |
[INFO] [stdout] 409 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 2, nay(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:410:22
[INFO] [stdout]     |
[INFO] [stdout] 410 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 0, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:410:27
[INFO] [stdout]     |
[INFO] [stdout] 410 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 0, nay(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:411:22
[INFO] [stdout]     |
[INFO] [stdout] 411 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 1, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:411:27
[INFO] [stdout]     |
[INFO] [stdout] 411 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 1, nay(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:412:22
[INFO] [stdout]     |
[INFO] [stdout] 412 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 2, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:412:27
[INFO] [stdout]     |
[INFO] [stdout] 412 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 2, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:428:22
[INFO] [stdout]     |
[INFO] [stdout] 428 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 3, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:428:27
[INFO] [stdout]     |
[INFO] [stdout] 428 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 3, nay(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:442:22
[INFO] [stdout]     |
[INFO] [stdout] 442 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:442:33
[INFO] [stdout]     |
[INFO] [stdout] 442 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:443:22
[INFO] [stdout]     |
[INFO] [stdout] 443 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 3, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:443:31
[INFO] [stdout]     |
[INFO] [stdout] 443 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 3, Conviction::Locked1x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:457:22
[INFO] [stdout]     |
[INFO] [stdout] 457 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:457:33
[INFO] [stdout]     |
[INFO] [stdout] 457 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:458:22
[INFO] [stdout]     |
[INFO] [stdout] 458 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:458:33
[INFO] [stdout]     |
[INFO] [stdout] 458 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:459:22
[INFO] [stdout]     |
[INFO] [stdout] 459 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:459:33
[INFO] [stdout]     |
[INFO] [stdout] 459 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:460:22
[INFO] [stdout]     |
[INFO] [stdout] 460 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 3));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:460:31
[INFO] [stdout]     |
[INFO] [stdout] 460 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 3));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:461:22
[INFO] [stdout]     |
[INFO] [stdout] 461 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 3));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:461:31
[INFO] [stdout]     |
[INFO] [stdout] 461 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 3));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:462:22
[INFO] [stdout]     |
[INFO] [stdout] 462 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 3));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:462:31
[INFO] [stdout]     |
[INFO] [stdout] 462 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 3));
[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:474:14
[INFO] [stdout]     |
[INFO] [stdout] 474 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:476:22
[INFO] [stdout]     |
[INFO] [stdout] 476 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:476:29
[INFO] [stdout]     |
[INFO] [stdout] 476 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:477:22
[INFO] [stdout]     |
[INFO] [stdout] 477 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:477:29
[INFO] [stdout]     |
[INFO] [stdout] 477 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:478:22
[INFO] [stdout]     |
[INFO] [stdout] 478 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:478:29
[INFO] [stdout]     |
[INFO] [stdout] 478 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 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:480:14
[INFO] [stdout]     |
[INFO] [stdout] 480 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:483:22
[INFO] [stdout]     |
[INFO] [stdout] 483 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:483:33
[INFO] [stdout]     |
[INFO] [stdout] 483 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:484:22
[INFO] [stdout]     |
[INFO] [stdout] 484 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 6));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:484:31
[INFO] [stdout]     |
[INFO] [stdout] 484 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 6));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:485:22
[INFO] [stdout]     |
[INFO] [stdout] 485 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:485:29
[INFO] [stdout]     |
[INFO] [stdout] 485 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:486:14
[INFO] [stdout]     |
[INFO] [stdout] 486 |         assert_eq!(Balances::usable_balance(1), 4);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:487:22
[INFO] [stdout]     |
[INFO] [stdout] 487 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:487:33
[INFO] [stdout]     |
[INFO] [stdout] 487 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:488:22
[INFO] [stdout]     |
[INFO] [stdout] 488 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 7));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:488:31
[INFO] [stdout]     |
[INFO] [stdout] 488 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 7));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:489:22
[INFO] [stdout]     |
[INFO] [stdout] 489 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:489:29
[INFO] [stdout]     |
[INFO] [stdout] 489 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 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:490:14
[INFO] [stdout]     |
[INFO] [stdout] 490 |         assert_eq!(Balances::usable_balance(1), 3);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:491:22
[INFO] [stdout]     |
[INFO] [stdout] 491 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:491:33
[INFO] [stdout]     |
[INFO] [stdout] 491 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:492:22
[INFO] [stdout]     |
[INFO] [stdout] 492 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 8));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:492:31
[INFO] [stdout]     |
[INFO] [stdout] 492 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 8));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:493:22
[INFO] [stdout]     |
[INFO] [stdout] 493 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:493:29
[INFO] [stdout]     |
[INFO] [stdout] 493 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 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:494:14
[INFO] [stdout]     |
[INFO] [stdout] 494 |         assert_eq!(Balances::usable_balance(1), 2);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:513:22
[INFO] [stdout]     |
[INFO] [stdout] 513 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:513:31
[INFO] [stdout]     |
[INFO] [stdout] 513 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:514:22
[INFO] [stdout]     |
[INFO] [stdout] 514 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:514:27
[INFO] [stdout]     |
[INFO] [stdout] 514 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 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:516:14
[INFO] [stdout]     |
[INFO] [stdout] 516 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:517:22
[INFO] [stdout]     |
[INFO] [stdout] 517 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:517:33
[INFO] [stdout]     |
[INFO] [stdout] 517 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:518:22
[INFO] [stdout]     |
[INFO] [stdout] 518 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 3, Conviction::Locked1x, 3));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:518:31
[INFO] [stdout]     |
[INFO] [stdout] 518 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 3, Conviction::Locked1x, 3));
[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:519:14
[INFO] [stdout]     |
[INFO] [stdout] 519 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:520:22
[INFO] [stdout]     |
[INFO] [stdout] 520 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:520:29
[INFO] [stdout]     |
[INFO] [stdout] 520 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:521:14
[INFO] [stdout]     |
[INFO] [stdout] 521 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:537:22
[INFO] [stdout]     |
[INFO] [stdout] 537 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:537:27
[INFO] [stdout]     |
[INFO] [stdout] 537 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:538:22
[INFO] [stdout]     |
[INFO] [stdout] 538 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:538:27
[INFO] [stdout]     |
[INFO] [stdout] 538 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:539:22
[INFO] [stdout]     |
[INFO] [stdout] 539 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:539:27
[INFO] [stdout]     |
[INFO] [stdout] 539 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2)));
[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:540:14
[INFO] [stdout]     |
[INFO] [stdout] 540 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:547:22
[INFO] [stdout]     |
[INFO] [stdout] 547 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:547:34
[INFO] [stdout]     |
[INFO] [stdout] 547 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:548:22
[INFO] [stdout]     |
[INFO] [stdout] 548 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[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 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:549:14
[INFO] [stdout]     |
[INFO] [stdout] 549 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:551:22
[INFO] [stdout]     |
[INFO] [stdout] 551 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:551:34
[INFO] [stdout]     |
[INFO] [stdout] 551 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:552:22
[INFO] [stdout]     |
[INFO] [stdout] 552 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:552:29
[INFO] [stdout]     |
[INFO] [stdout] 552 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:553:14
[INFO] [stdout]     |
[INFO] [stdout] 553 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:555:22
[INFO] [stdout]     |
[INFO] [stdout] 555 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:555:34
[INFO] [stdout]     |
[INFO] [stdout] 555 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 2));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:556:22
[INFO] [stdout]     |
[INFO] [stdout] 556 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:556:29
[INFO] [stdout]     |
[INFO] [stdout] 556 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:557:14
[INFO] [stdout]     |
[INFO] [stdout] 557 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:560:22
[INFO] [stdout]     |
[INFO] [stdout] 560 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:560:29
[INFO] [stdout]     |
[INFO] [stdout] 560 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:561:14
[INFO] [stdout]     |
[INFO] [stdout] 561 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:564:22
[INFO] [stdout]     |
[INFO] [stdout] 564 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:564:29
[INFO] [stdout]     |
[INFO] [stdout] 564 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:565:11
[INFO] [stdout]     |
[INFO] [stdout] 565 |         assert!(Balances::usable_balance(1) <= 5);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:568:22
[INFO] [stdout]     |
[INFO] [stdout] 568 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:568:29
[INFO] [stdout]     |
[INFO] [stdout] 568 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:569:14
[INFO] [stdout]     |
[INFO] [stdout] 569 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:576:22
[INFO] [stdout]     |
[INFO] [stdout] 576 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:576:31
[INFO] [stdout]     |
[INFO] [stdout] 576 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:577:22
[INFO] [stdout]     |
[INFO] [stdout] 577 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:577:33
[INFO] [stdout]     |
[INFO] [stdout] 577 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:578:22
[INFO] [stdout]     |
[INFO] [stdout] 578 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:578:31
[INFO] [stdout]     |
[INFO] [stdout] 578 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:579:22
[INFO] [stdout]     |
[INFO] [stdout] 579 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:579:33
[INFO] [stdout]     |
[INFO] [stdout] 579 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:580:22
[INFO] [stdout]     |
[INFO] [stdout] 580 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:580:31
[INFO] [stdout]     |
[INFO] [stdout] 580 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:581:22
[INFO] [stdout]     |
[INFO] [stdout] 581 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:581:29
[INFO] [stdout]     |
[INFO] [stdout] 581 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:582:14
[INFO] [stdout]     |
[INFO] [stdout] 582 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:583:22
[INFO] [stdout]     |
[INFO] [stdout] 583 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:583:33
[INFO] [stdout]     |
[INFO] [stdout] 583 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:586:22
[INFO] [stdout]     |
[INFO] [stdout] 586 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:586:29
[INFO] [stdout]     |
[INFO] [stdout] 586 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:587:14
[INFO] [stdout]     |
[INFO] [stdout] 587 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:590:22
[INFO] [stdout]     |
[INFO] [stdout] 590 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:590:29
[INFO] [stdout]     |
[INFO] [stdout] 590 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:591:11
[INFO] [stdout]     |
[INFO] [stdout] 591 |         assert!(Balances::usable_balance(1) <= 5);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:594:22
[INFO] [stdout]     |
[INFO] [stdout] 594 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:594:29
[INFO] [stdout]     |
[INFO] [stdout] 594 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:595:14
[INFO] [stdout]     |
[INFO] [stdout] 595 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:603:22
[INFO] [stdout]     |
[INFO] [stdout] 603 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:603:27
[INFO] [stdout]     |
[INFO] [stdout] 603 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:605:22
[INFO] [stdout]     |
[INFO] [stdout] 605 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:605:34
[INFO] [stdout]     |
[INFO] [stdout] 605 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:606:22
[INFO] [stdout]     |
[INFO] [stdout] 606 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:606:29
[INFO] [stdout]     |
[INFO] [stdout] 606 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:607:14
[INFO] [stdout]     |
[INFO] [stdout] 607 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:609:22
[INFO] [stdout]     |
[INFO] [stdout] 609 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:609:31
[INFO] [stdout]     |
[INFO] [stdout] 609 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:610:22
[INFO] [stdout]     |
[INFO] [stdout] 610 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:610:33
[INFO] [stdout]     |
[INFO] [stdout] 610 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:611:22
[INFO] [stdout]     |
[INFO] [stdout] 611 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:611:29
[INFO] [stdout]     |
[INFO] [stdout] 611 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:612:14
[INFO] [stdout]     |
[INFO] [stdout] 612 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:615:22
[INFO] [stdout]     |
[INFO] [stdout] 615 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(5, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:615:27
[INFO] [stdout]     |
[INFO] [stdout] 615 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(5, 2)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:617:22
[INFO] [stdout]     |
[INFO] [stdout] 617 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:617:34
[INFO] [stdout]     |
[INFO] [stdout] 617 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:620:22
[INFO] [stdout]     |
[INFO] [stdout] 620 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:620:29
[INFO] [stdout]     |
[INFO] [stdout] 620 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:621:14
[INFO] [stdout]     |
[INFO] [stdout] 621 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:624:22
[INFO] [stdout]     |
[INFO] [stdout] 624 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:624:29
[INFO] [stdout]     |
[INFO] [stdout] 624 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:625:11
[INFO] [stdout]     |
[INFO] [stdout] 625 |         assert!(Balances::usable_balance(1) <= 5);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:628:22
[INFO] [stdout]     |
[INFO] [stdout] 628 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:628:29
[INFO] [stdout]     |
[INFO] [stdout] 628 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:629:14
[INFO] [stdout]     |
[INFO] [stdout] 629 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:636:22
[INFO] [stdout]     |
[INFO] [stdout] 636 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:636:31
[INFO] [stdout]     |
[INFO] [stdout] 636 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:637:22
[INFO] [stdout]     |
[INFO] [stdout] 637 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:637:33
[INFO] [stdout]     |
[INFO] [stdout] 637 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:639:22
[INFO] [stdout]     |
[INFO] [stdout] 639 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:639:29
[INFO] [stdout]     |
[INFO] [stdout] 639 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:640:14
[INFO] [stdout]     |
[INFO] [stdout] 640 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:643:22
[INFO] [stdout]     |
[INFO] [stdout] 643 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:643:27
[INFO] [stdout]     |
[INFO] [stdout] 643 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:645:22
[INFO] [stdout]     |
[INFO] [stdout] 645 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:645:34
[INFO] [stdout]     |
[INFO] [stdout] 645 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:647:22
[INFO] [stdout]     |
[INFO] [stdout] 647 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:647:29
[INFO] [stdout]     |
[INFO] [stdout] 647 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:648:14
[INFO] [stdout]     |
[INFO] [stdout] 648 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:650:22
[INFO] [stdout]     |
[INFO] [stdout] 650 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:650:31
[INFO] [stdout]     |
[INFO] [stdout] 650 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 10));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:651:22
[INFO] [stdout]     |
[INFO] [stdout] 651 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:651:33
[INFO] [stdout]     |
[INFO] [stdout] 651 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:654:22
[INFO] [stdout]     |
[INFO] [stdout] 654 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:654:29
[INFO] [stdout]     |
[INFO] [stdout] 654 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:655:14
[INFO] [stdout]     |
[INFO] [stdout] 655 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:658:22
[INFO] [stdout]     |
[INFO] [stdout] 658 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:658:29
[INFO] [stdout]     |
[INFO] [stdout] 658 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:659:11
[INFO] [stdout]     |
[INFO] [stdout] 659 |         assert!(Balances::usable_balance(1) <= 5);
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Balances`
[INFO] [stdout]     |                 help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:662:22
[INFO] [stdout]     |
[INFO] [stdout] 662 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:662:29
[INFO] [stdout]     |
[INFO] [stdout] 662 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 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:663:14
[INFO] [stdout]     |
[INFO] [stdout] 663 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:670:22
[INFO] [stdout]     |
[INFO] [stdout] 670 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:670:31
[INFO] [stdout]     |
[INFO] [stdout] 670 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:671:22
[INFO] [stdout]     |
[INFO] [stdout] 671 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 2, Conviction::Locked2x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:671:31
[INFO] [stdout]     |
[INFO] [stdout] 671 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 2, Conviction::Locked2x, 5));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:672:22
[INFO] [stdout]     |
[INFO] [stdout] 672 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:672:31
[INFO] [stdout]     |
[INFO] [stdout] 672 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:674:22
[INFO] [stdout]     |
[INFO] [stdout] 674 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:674:33
[INFO] [stdout]     |
[INFO] [stdout] 674 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:675:22
[INFO] [stdout]     |
[INFO] [stdout] 675 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:675:33
[INFO] [stdout]     |
[INFO] [stdout] 675 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:676:22
[INFO] [stdout]     |
[INFO] [stdout] 676 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:676:33
[INFO] [stdout]     |
[INFO] [stdout] 676 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:679:22
[INFO] [stdout]     |
[INFO] [stdout] 679 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:679:29
[INFO] [stdout]     |
[INFO] [stdout] 679 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:680:22
[INFO] [stdout]     |
[INFO] [stdout] 680 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:680:29
[INFO] [stdout]     |
[INFO] [stdout] 680 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:681:22
[INFO] [stdout]     |
[INFO] [stdout] 681 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:681:29
[INFO] [stdout]     |
[INFO] [stdout] 681 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 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:682:14
[INFO] [stdout]     |
[INFO] [stdout] 682 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:685:22
[INFO] [stdout]     |
[INFO] [stdout] 685 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:685:29
[INFO] [stdout]     |
[INFO] [stdout] 685 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:686:22
[INFO] [stdout]     |
[INFO] [stdout] 686 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:686:29
[INFO] [stdout]     |
[INFO] [stdout] 686 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:687:22
[INFO] [stdout]     |
[INFO] [stdout] 687 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:687:29
[INFO] [stdout]     |
[INFO] [stdout] 687 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 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:688:14
[INFO] [stdout]     |
[INFO] [stdout] 688 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:691:22
[INFO] [stdout]     |
[INFO] [stdout] 691 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:691:29
[INFO] [stdout]     |
[INFO] [stdout] 691 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:692:22
[INFO] [stdout]     |
[INFO] [stdout] 692 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:692:29
[INFO] [stdout]     |
[INFO] [stdout] 692 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:693:22
[INFO] [stdout]     |
[INFO] [stdout] 693 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:693:29
[INFO] [stdout]     |
[INFO] [stdout] 693 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 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:694:14
[INFO] [stdout]     |
[INFO] [stdout] 694 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:710:22
[INFO] [stdout]     |
[INFO] [stdout] 710 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:710:27
[INFO] [stdout]     |
[INFO] [stdout] 710 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:711:22
[INFO] [stdout]     |
[INFO] [stdout] 711 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:711:27
[INFO] [stdout]     |
[INFO] [stdout] 711 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:712:22
[INFO] [stdout]     |
[INFO] [stdout] 712 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:712:27
[INFO] [stdout]     |
[INFO] [stdout] 712 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:718:22
[INFO] [stdout]     |
[INFO] [stdout] 718 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:718:34
[INFO] [stdout]     |
[INFO] [stdout] 718 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:719:22
[INFO] [stdout]     |
[INFO] [stdout] 719 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(1), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:719:34
[INFO] [stdout]     |
[INFO] [stdout] 719 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(1), 1));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:720:22
[INFO] [stdout]     |
[INFO] [stdout] 720 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(2), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:720:34
[INFO] [stdout]     |
[INFO] [stdout] 720 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(2), 2));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:723:22
[INFO] [stdout]     |
[INFO] [stdout] 723 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:723:29
[INFO] [stdout]     |
[INFO] [stdout] 723 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:724:22
[INFO] [stdout]     |
[INFO] [stdout] 724 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:724:29
[INFO] [stdout]     |
[INFO] [stdout] 724 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:725:22
[INFO] [stdout]     |
[INFO] [stdout] 725 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:725:29
[INFO] [stdout]     |
[INFO] [stdout] 725 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 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:726:14
[INFO] [stdout]     |
[INFO] [stdout] 726 |         assert_eq!(Balances::usable_balance(1), 0);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:729:22
[INFO] [stdout]     |
[INFO] [stdout] 729 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:729:29
[INFO] [stdout]     |
[INFO] [stdout] 729 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:730:22
[INFO] [stdout]     |
[INFO] [stdout] 730 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:730:29
[INFO] [stdout]     |
[INFO] [stdout] 730 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:731:22
[INFO] [stdout]     |
[INFO] [stdout] 731 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:731:29
[INFO] [stdout]     |
[INFO] [stdout] 731 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 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:732:14
[INFO] [stdout]     |
[INFO] [stdout] 732 |         assert_eq!(Balances::usable_balance(1), 5);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:735:22
[INFO] [stdout]     |
[INFO] [stdout] 735 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:735:29
[INFO] [stdout]     |
[INFO] [stdout] 735 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:736:22
[INFO] [stdout]     |
[INFO] [stdout] 736 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:736:29
[INFO] [stdout]     |
[INFO] [stdout] 736 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:737:22
[INFO] [stdout]     |
[INFO] [stdout] 737 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `unlock`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `lock_api::mutex::RawMutex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:737:29
[INFO] [stdout]     |
[INFO] [stdout] 737 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 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:738:14
[INFO] [stdout]     |
[INFO] [stdout] 738 |         assert_eq!(Balances::usable_balance(1), 10);
[INFO] [stdout]     |                    ^^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Balances`
[INFO] [stdout]     |                    help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:746:12
[INFO] [stdout]     |
[INFO] [stdout] 746 |             Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:746:17
[INFO] [stdout]     |
[INFO] [stdout] 746 |             Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:750:12
[INFO] [stdout]     |
[INFO] [stdout] 750 |             Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:750:17
[INFO] [stdout]     |
[INFO] [stdout] 750 |             Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:754:12
[INFO] [stdout]     |
[INFO] [stdout] 754 |             Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:754:17
[INFO] [stdout]     |
[INFO] [stdout] 754 |             Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:758:12
[INFO] [stdout]     |
[INFO] [stdout] 758 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(11, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:758:17
[INFO] [stdout]     |
[INFO] [stdout] 758 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(11, 0)),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:762:22
[INFO] [stdout]     |
[INFO] [stdout] 762 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:762:31
[INFO] [stdout]     |
[INFO] [stdout] 762 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10));
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:764:12
[INFO] [stdout]     |
[INFO] [stdout] 764 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:764:17
[INFO] [stdout]     |
[INFO] [stdout] 764 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:768:22
[INFO] [stdout]     |
[INFO] [stdout] 768 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:768:33
[INFO] [stdout]     |
[INFO] [stdout] 768 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:779:22
[INFO] [stdout]     |
[INFO] [stdout] 779 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:779:27
[INFO] [stdout]     |
[INFO] [stdout] 779 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:780:22
[INFO] [stdout]     |
[INFO] [stdout] 780 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:780:27
[INFO] [stdout]     |
[INFO] [stdout] 780 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:781:22
[INFO] [stdout]     |
[INFO] [stdout] 781 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:781:27
[INFO] [stdout]     |
[INFO] [stdout] 781 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:783:12
[INFO] [stdout]     |
[INFO] [stdout] 783 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:783:17
[INFO] [stdout]     |
[INFO] [stdout] 783 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:793:12
[INFO] [stdout]     |
[INFO] [stdout] 793 |             Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 11),
[INFO] [stdout]     |                     ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:793:21
[INFO] [stdout]     |
[INFO] [stdout] 793 |             Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 11),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:797:12
[INFO] [stdout]     |
[INFO] [stdout] 797 |             Voting::delegate(RuntimeOrigin::signed(1), 3, 2, Conviction::None, 10),
[INFO] [stdout]     |                     ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:797:21
[INFO] [stdout]     |
[INFO] [stdout] 797 |             Voting::delegate(RuntimeOrigin::signed(1), 3, 2, Conviction::None, 10),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:801:22
[INFO] [stdout]     |
[INFO] [stdout] 801 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:801:27
[INFO] [stdout]     |
[INFO] [stdout] 801 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:803:12
[INFO] [stdout]     |
[INFO] [stdout] 803 |             Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10),
[INFO] [stdout]     |                     ^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `delegate`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `weights::WeightInfo`
[INFO] [stdout]             candidate #2: `sp_staking::DelegationInterface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:803:21
[INFO] [stdout]     |
[INFO] [stdout] 803 |             Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:807:24
[INFO] [stdout]     |
[INFO] [stdout] 807 |         assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::<Test>::NotDelegating);
[INFO] [stdout]     |                              ^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:807:35
[INFO] [stdout]     |
[INFO] [stdout] 807 |         assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::<Test>::NotDelegating);
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_other_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:815:12
[INFO] [stdout]     |
[INFO] [stdout] 815 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_other_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_other_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:815:30
[INFO] [stdout]     |
[INFO] [stdout] 815 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:818:22
[INFO] [stdout]     |
[INFO] [stdout] 818 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:818:27
[INFO] [stdout]     |
[INFO] [stdout] 818 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_other_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:820:12
[INFO] [stdout]     |
[INFO] [stdout] 820 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_other_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_other_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:820:30
[INFO] [stdout]     |
[INFO] [stdout] 820 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_other_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:826:12
[INFO] [stdout]     |
[INFO] [stdout] 826 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_other_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_other_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:826:30
[INFO] [stdout]     |
[INFO] [stdout] 826 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_other_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:830:22
[INFO] [stdout]     |
[INFO] [stdout] 830 |         assert_ok!(Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_other_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_other_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:830:40
[INFO] [stdout]     |
[INFO] [stdout] 830 |         assert_ok!(Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3));
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:838:12
[INFO] [stdout]     |
[INFO] [stdout] 838 |             Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:838:24
[INFO] [stdout]     |
[INFO] [stdout] 838 |             Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 3),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:841:22
[INFO] [stdout]     |
[INFO] [stdout] 841 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:841:27
[INFO] [stdout]     |
[INFO] [stdout] 841 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2)));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope
[INFO] [stdout]    --> src/tests.rs:844:12
[INFO] [stdout]     |
[INFO] [stdout] 844 |             Voting::remove_vote(RuntimeOrigin::signed(1), None, 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^ variant or associated item not found in `Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:190:1
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub enum Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>
[INFO] [stdout]     | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it
[INFO] [stdout]    --> src/weights.rs:53:1
[INFO] [stdout]     |
[INFO] [stdout] 53  | pub trait WeightInfo {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:844:24
[INFO] [stdout]     |
[INFO] [stdout] 844 |             Voting::remove_vote(RuntimeOrigin::signed(1), None, 3),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall`
[INFO] [stdout]   --> src/tests.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |         !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }))
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |     type AccountData = pallet_balances::AccountData<u64>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:151:18
[INFO] [stdout]     |
[INFO] [stdout] 151 |     type Currency = pallet_balances::Pallet<Self>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:161:2
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-conviction-voting` (lib test) due to 453 previous errors
[INFO] running `Command { std: "docker" "inspect" "ecb63c24e5aeb900d7c2e90fb4bab1073a421830ad91d54f042327b08aec4921", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecb63c24e5aeb900d7c2e90fb4bab1073a421830ad91d54f042327b08aec4921", kill_on_drop: false }`
[INFO] [stdout] ecb63c24e5aeb900d7c2e90fb4bab1073a421830ad91d54f042327b08aec4921
