[INFO] fetching crate pallet-conviction-voting 43.0.0...
[INFO] testing pallet-conviction-voting-43.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate pallet-conviction-voting 43.0.0 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate pallet-conviction-voting 43.0.0
[INFO] finished tweaking crates.io crate pallet-conviction-voting 43.0.0
[INFO] tweaked toml for crates.io crate pallet-conviction-voting 43.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate pallet-conviction-voting 43.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate pallet-conviction-voting 43.0.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eae44c12d873f31695e3799f6d5085ed038488f5e40247500c7a1e1da7bd703e
[INFO] running `Command { std: "docker" "start" "-a" "eae44c12d873f31695e3799f6d5085ed038488f5e40247500c7a1e1da7bd703e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eae44c12d873f31695e3799f6d5085ed038488f5e40247500c7a1e1da7bd703e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eae44c12d873f31695e3799f6d5085ed038488f5e40247500c7a1e1da7bd703e", kill_on_drop: false }`
[INFO] [stdout] eae44c12d873f31695e3799f6d5085ed038488f5e40247500c7a1e1da7bd703e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f217ee84feea6f9515ac806eb3ddc6e8cff9d688cc342a6ed492f6ac2eb50859
[INFO] running `Command { std: "docker" "start" "-a" "f217ee84feea6f9515ac806eb3ddc6e8cff9d688cc342a6ed492f6ac2eb50859", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling winnow v0.5.15
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling const-oid v0.9.5
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling aho-corasick v1.0.4
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling semver v1.0.18
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling const_format v0.2.34
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling keccak v0.1.4
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling cc v1.2.33
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling constant_time_eq v0.3.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling integer-sqrt v0.1.5
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling jam-codec v0.1.0
[INFO] [stderr]    Compiling hash-db v0.16.0
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]    Compiling prettyplease v0.2.12
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]    Compiling winnow v0.6.18
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling uint v0.10.0
[INFO] [stderr]    Compiling getrandom_or_panic v0.0.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling expander v2.2.1
[INFO] [stderr]    Compiling hex-conservative v0.1.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling atomic-waker v1.1.1
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling bitcoin_hashes v0.13.0
[INFO] [stderr]    Compiling impl-num-traits v0.2.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling signature v2.1.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.0
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling sp-debug-derive v14.0.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling ed25519 v2.2.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling spki v0.7.2
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling blake2b_simd v1.0.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling file-guard v0.2.0
[INFO] [stderr]    Compiling num-format v0.4.4
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling fs-err v2.9.0
[INFO] [stderr]    Compiling prometheus v0.13.3
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling sp-std v14.0.0
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling sp-crypto-hashing v0.1.0
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling ed25519-zebra v4.0.3
[INFO] [stderr]    Compiling secrecy v0.8.0
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling gimli v0.28.0
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling array-bytes v6.2.2
[INFO] [stderr]    Compiling dyn-clone v1.0.17
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.7
[INFO] [stderr]    Compiling toml_edit v0.21.0
[INFO] [stderr]    Compiling impl-serde v0.5.0
[INFO] [stderr]    Compiling serdect v0.2.0
[INFO] [stderr]    Compiling serde_bytes v0.11.12
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling ecdsa v0.16.8
[INFO] [stderr]    Compiling schnorrkel v0.11.4
[INFO] [stderr]    Compiling ss58-registry v1.43.0
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling parity-bip39 v2.0.1
[INFO] [stderr]    Compiling substrate-bip39 v0.6.0
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling jam-codec-derive v0.1.0
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling rustc-demangle v0.1.23
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling docify_macros v0.2.9
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling substrate-prometheus-endpoint v0.17.7
[INFO] [stderr]    Compiling schnellru v0.2.3
[INFO] [stderr]    Compiling trie-db v0.30.0
[INFO] [stderr]    Compiling docify v0.2.9
[INFO] [stderr]    Compiling memory-db v0.34.0
[INFO] [stderr]    Compiling trie-root v0.18.0
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v20.0.0
[INFO] [stderr]    Compiling sp-io v43.0.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling scale-info v2.11.6
[INFO] [stderr]    Compiling sp-storage v22.0.0
[INFO] [stderr]    Compiling sp-externalities v0.30.0
[INFO] [stderr]    Compiling impl-codec v0.7.1
[INFO] [stderr]    Compiling sp-tracing v19.0.0
[INFO] [stderr]    Compiling sp-wasm-interface v24.0.0
[INFO] [stderr]    Compiling proc-macro-warning v1.0.0
[INFO] [stderr]    Compiling sp-runtime-interface v32.0.0
[INFO] [stderr]    Compiling const-random-macro v0.1.15
[INFO] [stderr]    Compiling binary-merkle-tree v16.1.0
[INFO] [stderr]    Compiling bounded-collections v0.3.2
[INFO] [stderr]    Compiling primitive-types v0.13.1
[INFO] [stderr]    Compiling sp-arithmetic v28.0.0
[INFO] [stderr]    Compiling sp-panic-handler v13.0.2
[INFO] [stderr]    Compiling simple-mermaid v0.1.1
[INFO] [stderr]    Compiling tuplex v0.1.2
[INFO] [stderr]    Compiling const-random v0.1.15
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling sp-core v38.1.0
[INFO] [stderr]    Compiling sp-weights v33.1.0
[INFO] [stderr]    Compiling sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]    Compiling sp-version-proc-macro v15.0.0
[INFO] [stderr]    Compiling frame-metadata v23.0.0
[INFO] [stderr]    Compiling parity-wasm v0.45.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling sp-api-proc-macro v25.0.0
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.3
[INFO] [stderr]    Compiling frame-support-procedural-tools v13.0.1
[INFO] [stderr]    Compiling include_dir v0.7.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cfg-expr v0.15.5
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling sp-trie v41.1.0
[INFO] [stderr]    Compiling sp-keystore v0.44.1
[INFO] [stderr]    Compiling sp-metadata-ir v0.12.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling sp-state-machine v0.48.0
[INFO] [stderr]    Compiling frame-support-procedural v35.0.0
[INFO] [stderr]    Compiling tt-call v1.0.9
[INFO] [stderr]    Compiling assert_matches v1.5.0
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]    Compiling sp-application-crypto v43.0.0
[INFO] [stderr]    Compiling sp-runtime v44.0.0
[INFO] [stderr]    Compiling sp-version v42.0.0
[INFO] [stderr]    Compiling sp-inherents v39.0.0
[INFO] [stderr]    Compiling sp-staking v41.0.0
[INFO] [stderr]    Compiling sp-api v39.0.0
[INFO] [stderr]    Compiling sp-genesis-builder v0.20.0
[INFO] [stderr]    Compiling frame-support v43.0.0
[INFO] [stderr]    Compiling frame-system v43.0.0
[INFO] [stderr]    Compiling pallet-conviction-voting v43.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "f217ee84feea6f9515ac806eb3ddc6e8cff9d688cc342a6ed492f6ac2eb50859", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f217ee84feea6f9515ac806eb3ddc6e8cff9d688cc342a6ed492f6ac2eb50859", kill_on_drop: false }`
[INFO] [stdout] f217ee84feea6f9515ac806eb3ddc6e8cff9d688cc342a6ed492f6ac2eb50859
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42f528524d0ba3bcd5e00cbbb79e398627a7df490305b8fd0cfd4ad60dc63748
[INFO] running `Command { std: "docker" "start" "-a" "42f528524d0ba3bcd5e00cbbb79e398627a7df490305b8fd0cfd4ad60dc63748", kill_on_drop: false }`
[INFO] [stderr]    Compiling pallet-conviction-voting v43.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Balances: pallet_balances,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:178:14
[INFO] [stdout]     |
[INFO] [stdout] 178 |         assert_eq!(pallet_balances::TotalIssuance::<Test>::get(), 210);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:244:36
[INFO] [stdout]     |
[INFO] [stdout] 244 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:251:36
[INFO] [stdout]     |
[INFO] [stdout] 251 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:260:36
[INFO] [stdout]     |
[INFO] [stdout] 260 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:271:36
[INFO] [stdout]     |
[INFO] [stdout] 271 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:283:36
[INFO] [stdout]     |
[INFO] [stdout] 283 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:291:36
[INFO] [stdout]     |
[INFO] [stdout] 291 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteUnlocked {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:303:36
[INFO] [stdout]     |
[INFO] [stdout] 303 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:311:36
[INFO] [stdout]     |
[INFO] [stdout] 311 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:320:36
[INFO] [stdout]     |
[INFO] [stdout] 320 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:328:36
[INFO] [stdout]     |
[INFO] [stdout] 328 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteUnlocked {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:348:36
[INFO] [stdout]     |
[INFO] [stdout] 348 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:356:36
[INFO] [stdout]     |
[INFO] [stdout] 356 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:367:36
[INFO] [stdout]     |
[INFO] [stdout] 367 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests`
[INFO] [stdout]    --> src/tests.rs:375:36
[INFO] [stdout]     |
[INFO] [stdout] 375 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests`
[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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these 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-1949cf8c6b5b557f/frame-system-43.0.0/src/lib.rs:358:9
[INFO] [stdout]     |
[INFO] [stdout] 358 |             type Self::RuntimeEvent = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/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-1949cf8c6b5b557f/frame-system-43.0.0/src/lib.rs:360:9
[INFO] [stdout]     |
[INFO] [stdout] 360 |             type Self::RuntimeOrigin = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/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-1949cf8c6b5b557f/frame-system-43.0.0/src/lib.rs:362:9
[INFO] [stdout]     |
[INFO] [stdout] 362 |             type Self::RuntimeCall = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]    --> src/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-1949cf8c6b5b557f/frame-system-43.0.0/src/lib.rs:364:9
[INFO] [stdout]     |
[INFO] [stdout] 364 |             type Self::PalletInfo = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]  20 + use frame_support::traits::PalletInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope
[INFO] [stdout]    --> src/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-1949cf8c6b5b557f/frame-system-43.0.0/src/lib.rs:366:9
[INFO] [stdout]     |
[INFO] [stdout] 366 |             type Self::RuntimeTask = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/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:73:1
[INFO] [stdout]     |
[INFO] [stdout]  73 | / pub type BalanceOf<T, I = ()> =
[INFO] [stdout]  74 | |     <<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<Balances, Self::AccountId>;
[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 `System` in this scope
[INFO] [stdout]    --> src/tests.rs:157:29
[INFO] [stdout]     |
[INFO] [stdout] 157 |     type BlockNumberProvider = System;
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[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:162:44
[INFO] [stdout]     |
[INFO] [stdout] 162 |     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] 161 | 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:163:35
[INFO] [stdout]     |
[INFO] [stdout] 163 |     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] 161 | 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:170:22
[INFO] [stdout]     |
[INFO] [stdout] 170 |     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:178:47
[INFO] [stdout]     |
[INFO] [stdout] 178 |         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] 175 | 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:183:2
[INFO] [stdout]     |
[INFO] [stdout] 183 |     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:183:27
[INFO] [stdout]     |
[INFO] [stdout] 183 |     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:188:8
[INFO] [stdout]     |
[INFO] [stdout] 188 |     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:211:32
[INFO] [stdout]     |
[INFO] [stdout] 211 | 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] 211 | 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:212:32
[INFO] [stdout]     |
[INFO] [stdout] 212 |     <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] 211 | 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:216:32
[INFO] [stdout]     |
[INFO] [stdout] 216 |     <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] 215 | fn class<Test>(index: u8) -> u8 {
[INFO] [stdout]     |         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:244:3
[INFO] [stdout]     |
[INFO] [stdout] 244 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:251:3
[INFO] [stdout]     |
[INFO] [stdout] 251 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:260:3
[INFO] [stdout]     |
[INFO] [stdout] 260 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:271:3
[INFO] [stdout]     |
[INFO] [stdout] 271 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:283:3
[INFO] [stdout]     |
[INFO] [stdout] 283 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved {
[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:291:3
[INFO] [stdout]     |
[INFO] [stdout] 291 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteUnlocked {
[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:303:3
[INFO] [stdout]     |
[INFO] [stdout] 303 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:311:3
[INFO] [stdout]     |
[INFO] [stdout] 311 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:320:3
[INFO] [stdout]     |
[INFO] [stdout] 320 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved {
[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:328:3
[INFO] [stdout]     |
[INFO] [stdout] 328 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteUnlocked {
[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:340:3
[INFO] [stdout]     |
[INFO] [stdout] 340 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:348:3
[INFO] [stdout]     |
[INFO] [stdout] 348 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:356:3
[INFO] [stdout]     |
[INFO] [stdout] 356 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted {
[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:367:3
[INFO] [stdout]     |
[INFO] [stdout] 367 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved {
[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:375:3
[INFO] [stdout]     |
[INFO] [stdout] 375 |         System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved {
[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:828:12
[INFO] [stdout]     |
[INFO] [stdout] 828 |             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] 824 | 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:832:12
[INFO] [stdout]     |
[INFO] [stdout] 832 |             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] 824 | 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:836:12
[INFO] [stdout]     |
[INFO] [stdout] 836 |             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] 824 | 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:840:12
[INFO] [stdout]     |
[INFO] [stdout] 840 |             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] 824 | 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:846:12
[INFO] [stdout]     |
[INFO] [stdout] 846 |             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] 824 | 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:865:12
[INFO] [stdout]     |
[INFO] [stdout] 865 |             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] 824 | 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:875:12
[INFO] [stdout]     |
[INFO] [stdout] 875 |             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] 871 | 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:879:12
[INFO] [stdout]     |
[INFO] [stdout] 879 |             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] 871 | 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:885:12
[INFO] [stdout]     |
[INFO] [stdout] 885 |             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] 871 | 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:888:73
[INFO] [stdout]     |
[INFO] [stdout] 888 |         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] 871 | 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:897:12
[INFO] [stdout]     |
[INFO] [stdout] 897 |             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] 893 | 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:902:12
[INFO] [stdout]     |
[INFO] [stdout] 902 |             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] 893 | 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:908:12
[INFO] [stdout]     |
[INFO] [stdout] 908 |             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] 893 | 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:920:12
[INFO] [stdout]     |
[INFO] [stdout] 920 |             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] 916 | 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:926:12
[INFO] [stdout]     |
[INFO] [stdout] 926 |             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] 916 | 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:177:14
[INFO] [stdout]     |
[INFO] [stdout] 177 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:243:22
[INFO] [stdout]     |
[INFO] [stdout] 243 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:243:27
[INFO] [stdout]     |
[INFO] [stdout] 243 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:250:22
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:250:27
[INFO] [stdout]     |
[INFO] [stdout] 250 |         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:257:14
[INFO] [stdout]     |
[INFO] [stdout] 257 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:259:22
[INFO] [stdout]     |
[INFO] [stdout] 259 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:259:27
[INFO] [stdout]     |
[INFO] [stdout] 259 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:266:22
[INFO] [stdout]     |
[INFO] [stdout] 266 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:266:27
[INFO] [stdout]     |
[INFO] [stdout] 266 |         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:268:14
[INFO] [stdout]     |
[INFO] [stdout] 268 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:270:22
[INFO] [stdout]     |
[INFO] [stdout] 270 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:270:27
[INFO] [stdout]     |
[INFO] [stdout] 270 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:278:22
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:278:27
[INFO] [stdout]     |
[INFO] [stdout] 278 |         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:280:14
[INFO] [stdout]     |
[INFO] [stdout] 280 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:282:22
[INFO] [stdout]     |
[INFO] [stdout] 282 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:282:34
[INFO] [stdout]     |
[INFO] [stdout] 282 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:290:22
[INFO] [stdout]     |
[INFO] [stdout] 290 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:290:29
[INFO] [stdout]     |
[INFO] [stdout] 290 |         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:295:14
[INFO] [stdout]     |
[INFO] [stdout] 295 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:302:22
[INFO] [stdout]     |
[INFO] [stdout] 302 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:302:27
[INFO] [stdout]     |
[INFO] [stdout] 302 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:310:22
[INFO] [stdout]     |
[INFO] [stdout] 310 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(5, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:310:27
[INFO] [stdout]     |
[INFO] [stdout] 310 |         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:317:14
[INFO] [stdout]     |
[INFO] [stdout] 317 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:319:22
[INFO] [stdout]     |
[INFO] [stdout] 319 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:319:34
[INFO] [stdout]     |
[INFO] [stdout] 319 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:327:22
[INFO] [stdout]     |
[INFO] [stdout] 327 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:327:29
[INFO] [stdout]     |
[INFO] [stdout] 327 |         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:332:14
[INFO] [stdout]     |
[INFO] [stdout] 332 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:339:22
[INFO] [stdout]     |
[INFO] [stdout] 339 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split_abstain(0, 0, 10)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:339:27
[INFO] [stdout]     |
[INFO] [stdout] 339 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:347:22
[INFO] [stdout]     |
[INFO] [stdout] 347 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(6), 3, split_abstain(10, 0, 20)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:347:27
[INFO] [stdout]     |
[INFO] [stdout] 347 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(6), 3, split_abstain(10, 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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:355:22
[INFO] [stdout]     |
[INFO] [stdout] 355 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(6), 3, split_abstain(0, 0, 40)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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(6), 3, split_abstain(0, 0, 40)));
[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:363:14
[INFO] [stdout]     |
[INFO] [stdout] 363 |         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:364:14
[INFO] [stdout]     |
[INFO] [stdout] 364 |         assert_eq!(Balances::usable_balance(6), 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 `remove_vote` found for enum `vote::Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:366:22
[INFO] [stdout]     |
[INFO] [stdout] 366 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:366:34
[INFO] [stdout]     |
[INFO] [stdout] 366 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:374:22
[INFO] [stdout]     |
[INFO] [stdout] 374 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(6), Some(class(3)), 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:374:34
[INFO] [stdout]     |
[INFO] [stdout] 374 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(6), Some(class(3)), 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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:382:22
[INFO] [stdout]     |
[INFO] [stdout] 382 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:382:29
[INFO] [stdout]     |
[INFO] [stdout] 382 |         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:383:14
[INFO] [stdout]     |
[INFO] [stdout] 383 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:385:22
[INFO] [stdout]     |
[INFO] [stdout] 385 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(6), class(3), 6));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:385:29
[INFO] [stdout]     |
[INFO] [stdout] 385 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(6), class(3), 6));
[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:386:14
[INFO] [stdout]     |
[INFO] [stdout] 386 |         assert_eq!(Balances::usable_balance(6), 60);
[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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:393:22
[INFO] [stdout]     |
[INFO] [stdout] 393 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:393:27
[INFO] [stdout]     |
[INFO] [stdout] 393 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:395:22
[INFO] [stdout]     |
[INFO] [stdout] 395 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:395:27
[INFO] [stdout]     |
[INFO] [stdout] 395 |         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:397:14
[INFO] [stdout]     |
[INFO] [stdout] 397 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:399:22
[INFO] [stdout]     |
[INFO] [stdout] 399 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:399:27
[INFO] [stdout]     |
[INFO] [stdout] 399 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:401:22
[INFO] [stdout]     |
[INFO] [stdout] 401 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:401:27
[INFO] [stdout]     |
[INFO] [stdout] 401 |         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:403:14
[INFO] [stdout]     |
[INFO] [stdout] 403 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:405:22
[INFO] [stdout]     |
[INFO] [stdout] 405 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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(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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:407:22
[INFO] [stdout]     |
[INFO] [stdout] 407 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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(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:409:14
[INFO] [stdout]     |
[INFO] [stdout] 409 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:411:22
[INFO] [stdout]     |
[INFO] [stdout] 411 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:411:34
[INFO] [stdout]     |
[INFO] [stdout] 411 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:414:22
[INFO] [stdout]     |
[INFO] [stdout] 414 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:414:29
[INFO] [stdout]     |
[INFO] [stdout] 414 |         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:415:14
[INFO] [stdout]     |
[INFO] [stdout] 415 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:422:22
[INFO] [stdout]     |
[INFO] [stdout] 422 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:422:27
[INFO] [stdout]     |
[INFO] [stdout] 422 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:423:22
[INFO] [stdout]     |
[INFO] [stdout] 423 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:423:27
[INFO] [stdout]     |
[INFO] [stdout] 423 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:426:22
[INFO] [stdout]     |
[INFO] [stdout] 426 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:426:34
[INFO] [stdout]     |
[INFO] [stdout] 426 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:427:22
[INFO] [stdout]     |
[INFO] [stdout] 427 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), c, 2));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:427:29
[INFO] [stdout]     |
[INFO] [stdout] 427 |         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:428:14
[INFO] [stdout]     |
[INFO] [stdout] 428 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:435:22
[INFO] [stdout]     |
[INFO] [stdout] 435 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:435:27
[INFO] [stdout]     |
[INFO] [stdout] 435 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:436:22
[INFO] [stdout]     |
[INFO] [stdout] 436 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:436:27
[INFO] [stdout]     |
[INFO] [stdout] 436 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:439:22
[INFO] [stdout]     |
[INFO] [stdout] 439 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:439:34
[INFO] [stdout]     |
[INFO] [stdout] 439 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:440:22
[INFO] [stdout]     |
[INFO] [stdout] 440 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:440:29
[INFO] [stdout]     |
[INFO] [stdout] 440 |         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:441:14
[INFO] [stdout]     |
[INFO] [stdout] 441 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:449:23
[INFO] [stdout]     |
[INFO] [stdout] 449 |             assert_ok!(Voting::vote(RuntimeOrigin::signed(i), 3, aye(10, i as u8)));
[INFO] [stdout]     |                                ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:449:28
[INFO] [stdout]     |
[INFO] [stdout] 449 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:454:23
[INFO] [stdout]     |
[INFO] [stdout] 454 |             assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(i), Some(c), 3));
[INFO] [stdout]     |                                ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:454:35
[INFO] [stdout]     |
[INFO] [stdout] 454 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:459:24
[INFO] [stdout]     |
[INFO] [stdout] 459 |                 assert_ok!(Voting::unlock(RuntimeOrigin::signed(i), c, i));
[INFO] [stdout]     |                                    ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:459:31
[INFO] [stdout]     |
[INFO] [stdout] 459 |                 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:461:16
[INFO] [stdout]     |
[INFO] [stdout] 461 |                 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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:480:22
[INFO] [stdout]     |
[INFO] [stdout] 480 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:480:31
[INFO] [stdout]     |
[INFO] [stdout] 480 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:481:22
[INFO] [stdout]     |
[INFO] [stdout] 481 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:481:31
[INFO] [stdout]     |
[INFO] [stdout] 481 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:482:22
[INFO] [stdout]     |
[INFO] [stdout] 482 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:482:31
[INFO] [stdout]     |
[INFO] [stdout] 482 |         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:483:14
[INFO] [stdout]     |
[INFO] [stdout] 483 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:485:22
[INFO] [stdout]     |
[INFO] [stdout] 485 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:485:27
[INFO] [stdout]     |
[INFO] [stdout] 485 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:486:22
[INFO] [stdout]     |
[INFO] [stdout] 486 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 1, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:486:27
[INFO] [stdout]     |
[INFO] [stdout] 486 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:487:22
[INFO] [stdout]     |
[INFO] [stdout] 487 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 2, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:487:27
[INFO] [stdout]     |
[INFO] [stdout] 487 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:488:22
[INFO] [stdout]     |
[INFO] [stdout] 488 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 0, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:488:27
[INFO] [stdout]     |
[INFO] [stdout] 488 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:489:22
[INFO] [stdout]     |
[INFO] [stdout] 489 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 1, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:489:27
[INFO] [stdout]     |
[INFO] [stdout] 489 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:490:22
[INFO] [stdout]     |
[INFO] [stdout] 490 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 2, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:490:27
[INFO] [stdout]     |
[INFO] [stdout] 490 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:491:22
[INFO] [stdout]     |
[INFO] [stdout] 491 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 0, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:491:27
[INFO] [stdout]     |
[INFO] [stdout] 491 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:492:22
[INFO] [stdout]     |
[INFO] [stdout] 492 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 1, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:492:27
[INFO] [stdout]     |
[INFO] [stdout] 492 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:493:22
[INFO] [stdout]     |
[INFO] [stdout] 493 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 2, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:493:27
[INFO] [stdout]     |
[INFO] [stdout] 493 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:509:22
[INFO] [stdout]     |
[INFO] [stdout] 509 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 3, nay(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:509:27
[INFO] [stdout]     |
[INFO] [stdout] 509 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:523:22
[INFO] [stdout]     |
[INFO] [stdout] 523 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:523:33
[INFO] [stdout]     |
[INFO] [stdout] 523 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:524:22
[INFO] [stdout]     |
[INFO] [stdout] 524 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 3, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:524:31
[INFO] [stdout]     |
[INFO] [stdout] 524 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:538:22
[INFO] [stdout]     |
[INFO] [stdout] 538 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:538:33
[INFO] [stdout]     |
[INFO] [stdout] 538 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:539:22
[INFO] [stdout]     |
[INFO] [stdout] 539 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:539:33
[INFO] [stdout]     |
[INFO] [stdout] 539 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:540:22
[INFO] [stdout]     |
[INFO] [stdout] 540 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:540:33
[INFO] [stdout]     |
[INFO] [stdout] 540 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:541:22
[INFO] [stdout]     |
[INFO] [stdout] 541 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 3));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:541:31
[INFO] [stdout]     |
[INFO] [stdout] 541 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:542:22
[INFO] [stdout]     |
[INFO] [stdout] 542 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 3));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:542:31
[INFO] [stdout]     |
[INFO] [stdout] 542 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:543:22
[INFO] [stdout]     |
[INFO] [stdout] 543 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 3));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:543:31
[INFO] [stdout]     |
[INFO] [stdout] 543 |         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:555:14
[INFO] [stdout]     |
[INFO] [stdout] 555 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:557:22
[INFO] [stdout]     |
[INFO] [stdout] 557 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:557:29
[INFO] [stdout]     |
[INFO] [stdout] 557 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:558:22
[INFO] [stdout]     |
[INFO] [stdout] 558 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:558:29
[INFO] [stdout]     |
[INFO] [stdout] 558 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:559:22
[INFO] [stdout]     |
[INFO] [stdout] 559 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:559:29
[INFO] [stdout]     |
[INFO] [stdout] 559 |         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:561:14
[INFO] [stdout]     |
[INFO] [stdout] 561 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:564:22
[INFO] [stdout]     |
[INFO] [stdout] 564 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:564:33
[INFO] [stdout]     |
[INFO] [stdout] 564 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:565:22
[INFO] [stdout]     |
[INFO] [stdout] 565 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 6));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:565:31
[INFO] [stdout]     |
[INFO] [stdout] 565 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:566:22
[INFO] [stdout]     |
[INFO] [stdout] 566 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:566:29
[INFO] [stdout]     |
[INFO] [stdout] 566 |         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:567:14
[INFO] [stdout]     |
[INFO] [stdout] 567 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:568:22
[INFO] [stdout]     |
[INFO] [stdout] 568 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:568:33
[INFO] [stdout]     |
[INFO] [stdout] 568 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:569:22
[INFO] [stdout]     |
[INFO] [stdout] 569 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 7));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:569:31
[INFO] [stdout]     |
[INFO] [stdout] 569 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:570:22
[INFO] [stdout]     |
[INFO] [stdout] 570 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:570:29
[INFO] [stdout]     |
[INFO] [stdout] 570 |         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:571:14
[INFO] [stdout]     |
[INFO] [stdout] 571 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:572:22
[INFO] [stdout]     |
[INFO] [stdout] 572 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:572:33
[INFO] [stdout]     |
[INFO] [stdout] 572 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:573:22
[INFO] [stdout]     |
[INFO] [stdout] 573 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 8));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:573:31
[INFO] [stdout]     |
[INFO] [stdout] 573 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:574:22
[INFO] [stdout]     |
[INFO] [stdout] 574 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:574:29
[INFO] [stdout]     |
[INFO] [stdout] 574 |         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:575:14
[INFO] [stdout]     |
[INFO] [stdout] 575 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:594:22
[INFO] [stdout]     |
[INFO] [stdout] 594 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:594:31
[INFO] [stdout]     |
[INFO] [stdout] 594 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:595:22
[INFO] [stdout]     |
[INFO] [stdout] 595 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:595:27
[INFO] [stdout]     |
[INFO] [stdout] 595 |         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:597:14
[INFO] [stdout]     |
[INFO] [stdout] 597 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:598:22
[INFO] [stdout]     |
[INFO] [stdout] 598 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:598:33
[INFO] [stdout]     |
[INFO] [stdout] 598 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:599:22
[INFO] [stdout]     |
[INFO] [stdout] 599 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 3, Conviction::Locked1x, 3));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:599:31
[INFO] [stdout]     |
[INFO] [stdout] 599 |         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:600:14
[INFO] [stdout]     |
[INFO] [stdout] 600 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:601:22
[INFO] [stdout]     |
[INFO] [stdout] 601 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:601:29
[INFO] [stdout]     |
[INFO] [stdout] 601 |         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:602:14
[INFO] [stdout]     |
[INFO] [stdout] 602 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:618:22
[INFO] [stdout]     |
[INFO] [stdout] 618 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:618:27
[INFO] [stdout]     |
[INFO] [stdout] 618 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:619:22
[INFO] [stdout]     |
[INFO] [stdout] 619 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:619:27
[INFO] [stdout]     |
[INFO] [stdout] 619 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:620:22
[INFO] [stdout]     |
[INFO] [stdout] 620 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:620:27
[INFO] [stdout]     |
[INFO] [stdout] 620 |         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: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 `remove_vote` found for enum `vote::Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:628:22
[INFO] [stdout]     |
[INFO] [stdout] 628 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:628:34
[INFO] [stdout]     |
[INFO] [stdout] 628 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:629:22
[INFO] [stdout]     |
[INFO] [stdout] 629 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:629:29
[INFO] [stdout]     |
[INFO] [stdout] 629 |         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:630:14
[INFO] [stdout]     |
[INFO] [stdout] 630 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:632:22
[INFO] [stdout]     |
[INFO] [stdout] 632 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:632:34
[INFO] [stdout]     |
[INFO] [stdout] 632 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:633:22
[INFO] [stdout]     |
[INFO] [stdout] 633 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:633:29
[INFO] [stdout]     |
[INFO] [stdout] 633 |         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:634:14
[INFO] [stdout]     |
[INFO] [stdout] 634 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:636:22
[INFO] [stdout]     |
[INFO] [stdout] 636 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:636:34
[INFO] [stdout]     |
[INFO] [stdout] 636 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:637:22
[INFO] [stdout]     |
[INFO] [stdout] 637 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:637:29
[INFO] [stdout]     |
[INFO] [stdout] 637 |         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:638:14
[INFO] [stdout]     |
[INFO] [stdout] 638 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:641:22
[INFO] [stdout]     |
[INFO] [stdout] 641 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:641:29
[INFO] [stdout]     |
[INFO] [stdout] 641 |         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:642:14
[INFO] [stdout]     |
[INFO] [stdout] 642 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:645:22
[INFO] [stdout]     |
[INFO] [stdout] 645 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:645:29
[INFO] [stdout]     |
[INFO] [stdout] 645 |         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:646:11
[INFO] [stdout]     |
[INFO] [stdout] 646 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:649:22
[INFO] [stdout]     |
[INFO] [stdout] 649 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:649:29
[INFO] [stdout]     |
[INFO] [stdout] 649 |         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:650:14
[INFO] [stdout]     |
[INFO] [stdout] 650 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:657:22
[INFO] [stdout]     |
[INFO] [stdout] 657 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:657:31
[INFO] [stdout]     |
[INFO] [stdout] 657 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:658:22
[INFO] [stdout]     |
[INFO] [stdout] 658 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:658:33
[INFO] [stdout]     |
[INFO] [stdout] 658 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:659:22
[INFO] [stdout]     |
[INFO] [stdout] 659 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:659:31
[INFO] [stdout]     |
[INFO] [stdout] 659 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:660:22
[INFO] [stdout]     |
[INFO] [stdout] 660 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:660:33
[INFO] [stdout]     |
[INFO] [stdout] 660 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:661:22
[INFO] [stdout]     |
[INFO] [stdout] 661 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:661:31
[INFO] [stdout]     |
[INFO] [stdout] 661 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` 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 `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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), 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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:664:22
[INFO] [stdout]     |
[INFO] [stdout] 664 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:664:33
[INFO] [stdout]     |
[INFO] [stdout] 664 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:667:22
[INFO] [stdout]     |
[INFO] [stdout] 667 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:667:29
[INFO] [stdout]     |
[INFO] [stdout] 667 |         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:668:14
[INFO] [stdout]     |
[INFO] [stdout] 668 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:671:22
[INFO] [stdout]     |
[INFO] [stdout] 671 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:671:29
[INFO] [stdout]     |
[INFO] [stdout] 671 |         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:672:11
[INFO] [stdout]     |
[INFO] [stdout] 672 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:675:22
[INFO] [stdout]     |
[INFO] [stdout] 675 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:675:29
[INFO] [stdout]     |
[INFO] [stdout] 675 |         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:676:14
[INFO] [stdout]     |
[INFO] [stdout] 676 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:684:22
[INFO] [stdout]     |
[INFO] [stdout] 684 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:684:27
[INFO] [stdout]     |
[INFO] [stdout] 684 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:686:22
[INFO] [stdout]     |
[INFO] [stdout] 686 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:686:34
[INFO] [stdout]     |
[INFO] [stdout] 686 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:687:22
[INFO] [stdout]     |
[INFO] [stdout] 687 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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), 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: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 `delegate` found for enum `vote::Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:690:22
[INFO] [stdout]     |
[INFO] [stdout] 690 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:690:31
[INFO] [stdout]     |
[INFO] [stdout] 690 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:691:22
[INFO] [stdout]     |
[INFO] [stdout] 691 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:691:33
[INFO] [stdout]     |
[INFO] [stdout] 691 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:692:22
[INFO] [stdout]     |
[INFO] [stdout] 692 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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), 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:693:14
[INFO] [stdout]     |
[INFO] [stdout] 693 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:696:22
[INFO] [stdout]     |
[INFO] [stdout] 696 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(5, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:696:27
[INFO] [stdout]     |
[INFO] [stdout] 696 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:698:22
[INFO] [stdout]     |
[INFO] [stdout] 698 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:698:34
[INFO] [stdout]     |
[INFO] [stdout] 698 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:701:22
[INFO] [stdout]     |
[INFO] [stdout] 701 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:701:29
[INFO] [stdout]     |
[INFO] [stdout] 701 |         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:702:14
[INFO] [stdout]     |
[INFO] [stdout] 702 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:705:22
[INFO] [stdout]     |
[INFO] [stdout] 705 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:705:29
[INFO] [stdout]     |
[INFO] [stdout] 705 |         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:706:11
[INFO] [stdout]     |
[INFO] [stdout] 706 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:709:22
[INFO] [stdout]     |
[INFO] [stdout] 709 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:709:29
[INFO] [stdout]     |
[INFO] [stdout] 709 |         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:710:14
[INFO] [stdout]     |
[INFO] [stdout] 710 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:717:22
[INFO] [stdout]     |
[INFO] [stdout] 717 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:717:31
[INFO] [stdout]     |
[INFO] [stdout] 717 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:718:22
[INFO] [stdout]     |
[INFO] [stdout] 718 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:33
[INFO] [stdout]     |
[INFO] [stdout] 718 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:720:22
[INFO] [stdout]     |
[INFO] [stdout] 720 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:720:29
[INFO] [stdout]     |
[INFO] [stdout] 720 |         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:721:14
[INFO] [stdout]     |
[INFO] [stdout] 721 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:724:22
[INFO] [stdout]     |
[INFO] [stdout] 724 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:724:27
[INFO] [stdout]     |
[INFO] [stdout] 724 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:726:22
[INFO] [stdout]     |
[INFO] [stdout] 726 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:726:34
[INFO] [stdout]     |
[INFO] [stdout] 726 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:728:22
[INFO] [stdout]     |
[INFO] [stdout] 728 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:728:29
[INFO] [stdout]     |
[INFO] [stdout] 728 |         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:729:14
[INFO] [stdout]     |
[INFO] [stdout] 729 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:731:22
[INFO] [stdout]     |
[INFO] [stdout] 731 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:731:31
[INFO] [stdout]     |
[INFO] [stdout] 731 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:732:22
[INFO] [stdout]     |
[INFO] [stdout] 732 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:732:33
[INFO] [stdout]     |
[INFO] [stdout] 732 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` 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 `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:736:14
[INFO] [stdout]     |
[INFO] [stdout] 736 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:739:22
[INFO] [stdout]     |
[INFO] [stdout] 739 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:739:29
[INFO] [stdout]     |
[INFO] [stdout] 739 |         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:740:11
[INFO] [stdout]     |
[INFO] [stdout] 740 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:743:22
[INFO] [stdout]     |
[INFO] [stdout] 743 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:743:29
[INFO] [stdout]     |
[INFO] [stdout] 743 |         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:744:14
[INFO] [stdout]     |
[INFO] [stdout] 744 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:751:22
[INFO] [stdout]     |
[INFO] [stdout] 751 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:751:31
[INFO] [stdout]     |
[INFO] [stdout] 751 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:752:22
[INFO] [stdout]     |
[INFO] [stdout] 752 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 2, Conviction::Locked2x, 5));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:752:31
[INFO] [stdout]     |
[INFO] [stdout] 752 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:753:22
[INFO] [stdout]     |
[INFO] [stdout] 753 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 2, Conviction::Locked1x, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:753:31
[INFO] [stdout]     |
[INFO] [stdout] 753 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:755:22
[INFO] [stdout]     |
[INFO] [stdout] 755 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:755:33
[INFO] [stdout]     |
[INFO] [stdout] 755 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:756:22
[INFO] [stdout]     |
[INFO] [stdout] 756 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:756:33
[INFO] [stdout]     |
[INFO] [stdout] 756 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:757:22
[INFO] [stdout]     |
[INFO] [stdout] 757 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:757:33
[INFO] [stdout]     |
[INFO] [stdout] 757 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:760:22
[INFO] [stdout]     |
[INFO] [stdout] 760 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:760:29
[INFO] [stdout]     |
[INFO] [stdout] 760 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:761:22
[INFO] [stdout]     |
[INFO] [stdout] 761 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:761:29
[INFO] [stdout]     |
[INFO] [stdout] 761 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:762:22
[INFO] [stdout]     |
[INFO] [stdout] 762 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:762:29
[INFO] [stdout]     |
[INFO] [stdout] 762 |         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:763:14
[INFO] [stdout]     |
[INFO] [stdout] 763 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:766:22
[INFO] [stdout]     |
[INFO] [stdout] 766 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:766:29
[INFO] [stdout]     |
[INFO] [stdout] 766 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:767:22
[INFO] [stdout]     |
[INFO] [stdout] 767 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:767:29
[INFO] [stdout]     |
[INFO] [stdout] 767 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:768:22
[INFO] [stdout]     |
[INFO] [stdout] 768 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:768:29
[INFO] [stdout]     |
[INFO] [stdout] 768 |         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:769:14
[INFO] [stdout]     |
[INFO] [stdout] 769 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:772:22
[INFO] [stdout]     |
[INFO] [stdout] 772 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:772:29
[INFO] [stdout]     |
[INFO] [stdout] 772 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:773:22
[INFO] [stdout]     |
[INFO] [stdout] 773 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:773:29
[INFO] [stdout]     |
[INFO] [stdout] 773 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:774:22
[INFO] [stdout]     |
[INFO] [stdout] 774 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:774:29
[INFO] [stdout]     |
[INFO] [stdout] 774 |         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:775:14
[INFO] [stdout]     |
[INFO] [stdout] 775 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:791:22
[INFO] [stdout]     |
[INFO] [stdout] 791 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:791:27
[INFO] [stdout]     |
[INFO] [stdout] 791 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:792:22
[INFO] [stdout]     |
[INFO] [stdout] 792 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:792:27
[INFO] [stdout]     |
[INFO] [stdout] 792 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:793:22
[INFO] [stdout]     |
[INFO] [stdout] 793 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:793:27
[INFO] [stdout]     |
[INFO] [stdout] 793 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:799:22
[INFO] [stdout]     |
[INFO] [stdout] 799 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:799:34
[INFO] [stdout]     |
[INFO] [stdout] 799 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:800:22
[INFO] [stdout]     |
[INFO] [stdout] 800 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(1), 1));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:800:34
[INFO] [stdout]     |
[INFO] [stdout] 800 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:801:22
[INFO] [stdout]     |
[INFO] [stdout] 801 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(2), 2));
[INFO] [stdout]     |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:801:34
[INFO] [stdout]     |
[INFO] [stdout] 801 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:804:22
[INFO] [stdout]     |
[INFO] [stdout] 804 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:804:29
[INFO] [stdout]     |
[INFO] [stdout] 804 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:805:22
[INFO] [stdout]     |
[INFO] [stdout] 805 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:805:29
[INFO] [stdout]     |
[INFO] [stdout] 805 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:806:22
[INFO] [stdout]     |
[INFO] [stdout] 806 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:806:29
[INFO] [stdout]     |
[INFO] [stdout] 806 |         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:807:14
[INFO] [stdout]     |
[INFO] [stdout] 807 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:810:22
[INFO] [stdout]     |
[INFO] [stdout] 810 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:810:29
[INFO] [stdout]     |
[INFO] [stdout] 810 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:811:22
[INFO] [stdout]     |
[INFO] [stdout] 811 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:811:29
[INFO] [stdout]     |
[INFO] [stdout] 811 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:812:22
[INFO] [stdout]     |
[INFO] [stdout] 812 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:812:29
[INFO] [stdout]     |
[INFO] [stdout] 812 |         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:813:14
[INFO] [stdout]     |
[INFO] [stdout] 813 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:816:22
[INFO] [stdout]     |
[INFO] [stdout] 816 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:816:29
[INFO] [stdout]     |
[INFO] [stdout] 816 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:817:22
[INFO] [stdout]     |
[INFO] [stdout] 817 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:817:29
[INFO] [stdout]     |
[INFO] [stdout] 817 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:818:22
[INFO] [stdout]     |
[INFO] [stdout] 818 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1));
[INFO] [stdout]     |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:818:29
[INFO] [stdout]     |
[INFO] [stdout] 818 |         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:819:14
[INFO] [stdout]     |
[INFO] [stdout] 819 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:827:12
[INFO] [stdout]     |
[INFO] [stdout] 827 |             Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:827:17
[INFO] [stdout]     |
[INFO] [stdout] 827 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:831:12
[INFO] [stdout]     |
[INFO] [stdout] 831 |             Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:831:17
[INFO] [stdout]     |
[INFO] [stdout] 831 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:835:12
[INFO] [stdout]     |
[INFO] [stdout] 835 |             Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:835:17
[INFO] [stdout]     |
[INFO] [stdout] 835 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:839:12
[INFO] [stdout]     |
[INFO] [stdout] 839 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(11, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:839:17
[INFO] [stdout]     |
[INFO] [stdout] 839 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:843:22
[INFO] [stdout]     |
[INFO] [stdout] 843 |         assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10));
[INFO] [stdout]     |                            ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:843:31
[INFO] [stdout]     |
[INFO] [stdout] 843 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:845:12
[INFO] [stdout]     |
[INFO] [stdout] 845 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:845:17
[INFO] [stdout]     |
[INFO] [stdout] 845 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:849:22
[INFO] [stdout]     |
[INFO] [stdout] 849 |         assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0));
[INFO] [stdout]     |                            ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:849:33
[INFO] [stdout]     |
[INFO] [stdout] 849 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:860:22
[INFO] [stdout]     |
[INFO] [stdout] 860 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:860:27
[INFO] [stdout]     |
[INFO] [stdout] 860 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:861:22
[INFO] [stdout]     |
[INFO] [stdout] 861 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:861:27
[INFO] [stdout]     |
[INFO] [stdout] 861 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:862:22
[INFO] [stdout]     |
[INFO] [stdout] 862 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:862:27
[INFO] [stdout]     |
[INFO] [stdout] 862 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:864:12
[INFO] [stdout]     |
[INFO] [stdout] 864 |             Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)),
[INFO] [stdout]     |                     ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:864:17
[INFO] [stdout]     |
[INFO] [stdout] 864 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:874:12
[INFO] [stdout]     |
[INFO] [stdout] 874 |             Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 11),
[INFO] [stdout]     |                     ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:874:21
[INFO] [stdout]     |
[INFO] [stdout] 874 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:878:12
[INFO] [stdout]     |
[INFO] [stdout] 878 |             Voting::delegate(RuntimeOrigin::signed(1), 3, 2, Conviction::None, 10),
[INFO] [stdout]     |                     ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:878:21
[INFO] [stdout]     |
[INFO] [stdout] 878 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:882:22
[INFO] [stdout]     |
[INFO] [stdout] 882 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:882:27
[INFO] [stdout]     |
[INFO] [stdout] 882 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:884:12
[INFO] [stdout]     |
[INFO] [stdout] 884 |             Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10),
[INFO] [stdout]     |                     ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:884:21
[INFO] [stdout]     |
[INFO] [stdout] 884 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:888:24
[INFO] [stdout]     |
[INFO] [stdout] 888 |         assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::<Test>::NotDelegating);
[INFO] [stdout]     |                              ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:888:35
[INFO] [stdout]     |
[INFO] [stdout] 888 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:896:12
[INFO] [stdout]     |
[INFO] [stdout] 896 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:896:30
[INFO] [stdout]     |
[INFO] [stdout] 896 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:899:22
[INFO] [stdout]     |
[INFO] [stdout] 899 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:899:27
[INFO] [stdout]     |
[INFO] [stdout] 899 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:901:12
[INFO] [stdout]     |
[INFO] [stdout] 901 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:901:30
[INFO] [stdout]     |
[INFO] [stdout] 901 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:907:12
[INFO] [stdout]     |
[INFO] [stdout] 907 |             Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:907:30
[INFO] [stdout]     |
[INFO] [stdout] 907 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:911:22
[INFO] [stdout]     |
[INFO] [stdout] 911 |         assert_ok!(Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:911:40
[INFO] [stdout]     |
[INFO] [stdout] 911 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:919:12
[INFO] [stdout]     |
[INFO] [stdout] 919 |             Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:919:24
[INFO] [stdout]     |
[INFO] [stdout] 919 |             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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:922:22
[INFO] [stdout]     |
[INFO] [stdout] 922 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2)));
[INFO] [stdout]     |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:922:27
[INFO] [stdout]     |
[INFO] [stdout] 922 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]    --> src/tests.rs:925:12
[INFO] [stdout]     |
[INFO] [stdout] 925 |             Voting::remove_vote(RuntimeOrigin::signed(1), None, 3),
[INFO] [stdout]     |                     ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/vote.rs:256:1
[INFO] [stdout]     |
[INFO] [stdout] 256 | 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:74:1
[INFO] [stdout]     |
[INFO] [stdout]  74 | 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:925:24
[INFO] [stdout]     |
[INFO] [stdout] 925 |             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 `Balances`
[INFO] [stdout]    --> src/tests.rs:999:26
[INFO] [stdout]     |
[INFO] [stdout] 999 |         let usable_balance_1 = Balances::usable_balance(1);
[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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]     --> src/tests.rs:1003:22
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1)));
[INFO] [stdout]      |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/vote.rs:256:1
[INFO] [stdout]      |
[INFO] [stdout]  256 | 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:1003:27
[INFO] [stdout]      |
[INFO] [stdout] 1003 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]     --> src/tests.rs:1015:22
[INFO] [stdout]      |
[INFO] [stdout] 1015 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 2)));
[INFO] [stdout]      |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/vote.rs:256:1
[INFO] [stdout]      |
[INFO] [stdout]  256 | 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:1015:27
[INFO] [stdout]      |
[INFO] [stdout] 1015 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 2)));
[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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]     --> src/tests.rs:1030:22
[INFO] [stdout]      |
[INFO] [stdout] 1030 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 3, nay(20, 0)));
[INFO] [stdout]      |                            ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/vote.rs:256:1
[INFO] [stdout]      |
[INFO] [stdout]  256 | 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:1030:27
[INFO] [stdout]      |
[INFO] [stdout] 1030 |         assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]     --> src/tests.rs:1042:22
[INFO] [stdout]      |
[INFO] [stdout] 1042 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(3), Some(c), 3));
[INFO] [stdout]      |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/vote.rs:256:1
[INFO] [stdout]      |
[INFO] [stdout]  256 | 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:74:1
[INFO] [stdout]      |
[INFO] [stdout]   74 | 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:1042:34
[INFO] [stdout]      |
[INFO] [stdout] 1042 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(3), Some(c), 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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]     --> src/tests.rs:1049:22
[INFO] [stdout]      |
[INFO] [stdout] 1049 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3));
[INFO] [stdout]      |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/vote.rs:256:1
[INFO] [stdout]      |
[INFO] [stdout]  256 | 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:74:1
[INFO] [stdout]      |
[INFO] [stdout]   74 | 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:1049:34
[INFO] [stdout]      |
[INFO] [stdout] 1049 |         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 `remove_vote` found for enum `vote::Voting<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]     --> src/tests.rs:1058:22
[INFO] [stdout]      |
[INFO] [stdout] 1058 |         assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3));
[INFO] [stdout]      |                            ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/vote.rs:256:1
[INFO] [stdout]      |
[INFO] [stdout]  256 | 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:74:1
[INFO] [stdout]      |
[INFO] [stdout]   74 | 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:1058:34
[INFO] [stdout]      |
[INFO] [stdout] 1058 |         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<Balance, AccountId, BlockNumber, PollIndex, MaxVotes>` in the current scope
[INFO] [stdout]     --> src/tests.rs:1063:22
[INFO] [stdout]      |
[INFO] [stdout] 1063 |         assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1));
[INFO] [stdout]      |                            ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: src/vote.rs:256:1
[INFO] [stdout]      |
[INFO] [stdout]  256 | 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:1063:29
[INFO] [stdout]      |
[INFO] [stdout] 1063 |         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:1064:14
[INFO] [stdout]      |
[INFO] [stdout] 1064 |         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[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 unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:54:21
[INFO] [stdout]    |
[INFO] [stdout] 54 |     type AccountData = pallet_balances::AccountData<u64>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:151:18
[INFO] [stdout]     |
[INFO] [stdout] 151 |     type Currency = pallet_balances::Pallet<Self>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:163:2
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 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 500 previous errors
[INFO] running `Command { std: "docker" "inspect" "42f528524d0ba3bcd5e00cbbb79e398627a7df490305b8fd0cfd4ad60dc63748", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42f528524d0ba3bcd5e00cbbb79e398627a7df490305b8fd0cfd4ad60dc63748", kill_on_drop: false }`
[INFO] [stdout] 42f528524d0ba3bcd5e00cbbb79e398627a7df490305b8fd0cfd4ad60dc63748
