[INFO] fetching crate pallet-democracy 26.0.0...
[INFO] checking pallet-democracy-26.0.0 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate pallet-democracy 26.0.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate pallet-democracy 26.0.0 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-democracy 26.0.0
[INFO] finished tweaking crates.io crate pallet-democracy 26.0.0
[INFO] tweaked toml for crates.io crate pallet-democracy 26.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef29f443a8eeba73641103fb9f312e734da052eead059eb635862a68b45ca499
[INFO] running `Command { std: "docker" "start" "-a" "ef29f443a8eeba73641103fb9f312e734da052eead059eb635862a68b45ca499", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef29f443a8eeba73641103fb9f312e734da052eead059eb635862a68b45ca499", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef29f443a8eeba73641103fb9f312e734da052eead059eb635862a68b45ca499", kill_on_drop: false }`
[INFO] [stdout] ef29f443a8eeba73641103fb9f312e734da052eead059eb635862a68b45ca499
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3853fb01415e5c5f29d44d2bfc1a201f4027fc69aa9d60a3e50314b4a87e611
[INFO] running `Command { std: "docker" "start" "-a" "f3853fb01415e5c5f29d44d2bfc1a201f4027fc69aa9d60a3e50314b4a87e611", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking byte-slice-cast v1.2.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling target-lexicon v0.12.14
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]     Checking sp-std v12.0.0
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]    Compiling rustix v0.36.17
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling wasmtime-runtime v8.0.1
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling cpp_demangle v0.3.5
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]     Checking memfd v0.6.4
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]     Checking wasmtime-jit-debug v8.0.1
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking wasmtime-asm-macros v8.0.1
[INFO] [stderr]    Compiling ref-cast v1.0.22
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]     Checking wasmtime-jit-icache-coherence v8.0.1
[INFO] [stderr]    Compiling wasmtime v8.0.1
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking chrono v0.4.37
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking getrandom_or_panic v0.0.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking constant_time_eq v0.3.0
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking bitcoin_hashes v0.11.0
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking array-bytes v6.2.2
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking trie-db v0.28.0
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking schnellru v0.2.1
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling ref-cast-impl v1.0.22
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking thiserror v1.0.58
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling sp-debug-derive v12.0.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking pbkdf2 v0.8.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]     Checking ed25519-zebra v3.1.0
[INFO] [stderr]     Checking schnorrkel v0.9.1
[INFO] [stderr]     Checking substrate-bip39 v0.4.6
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]     Checking sp-core-hashing v13.0.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking backtrace v0.3.71
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]    Compiling sp-io v28.0.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking sp-panic-handler v12.0.0
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling prettier-please v0.2.0
[INFO] [stderr]    Compiling derive-syn-parse v0.1.5
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling expander v2.1.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking der v0.7.8
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.0
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]    Compiling macro_magic_core v0.5.0
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling sp-core-hashing-proc-macro v13.0.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling macro_magic_macros v0.5.0
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v10.0.0
[INFO] [stderr]    Compiling include_dir_macros v0.7.3
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]    Compiling cfg-expr v0.15.7
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]    Compiling toml_edit v0.20.2
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]     Checking cranelift-entity v0.95.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking bip39 v2.0.0
[INFO] [stderr]     Checking wasmparser v0.102.0
[INFO] [stderr]     Checking gimli v0.27.3
[INFO] [stderr]     Checking object v0.30.4
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling ss58-registry v1.47.0
[INFO] [stderr]    Compiling proc-macro-crate v2.0.2
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling toml v0.8.2
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling frame-support-procedural-tools v9.0.0
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling include_dir v0.7.3
[INFO] [stderr]    Compiling macro_magic v0.5.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling async-trait v0.1.79
[INFO] [stderr]    Compiling proc-macro-warning v1.0.2
[INFO] [stderr]    Compiling scale-info-derive v2.11.1
[INFO] [stderr]     Checking addr2line v0.19.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.9
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v15.0.0
[INFO] [stderr]    Compiling sp-api-proc-macro v13.0.0
[INFO] [stderr]     Checking wasmtime-types v8.0.1
[INFO] [stderr]    Compiling docify_macros v0.2.7
[INFO] [stderr]     Checking wasmtime-environ v8.0.1
[INFO] [stderr]    Compiling aquamarine v0.3.3
[INFO] [stderr]    Compiling frame-support-procedural v21.0.0
[INFO] [stderr]     Checking k256 v0.13.3
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]     Checking docify v0.2.7
[INFO] [stderr]     Checking parity-scale-codec v3.6.9
[INFO] [stderr]     Checking wasmtime-jit v8.0.1
[INFO] [stderr]     Checking scale-info v2.11.1
[INFO] [stderr]     Checking sp-storage v17.0.0
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-tracing v14.0.0
[INFO] [stderr]     Checking sp-externalities v0.23.0
[INFO] [stderr]    Compiling sp-version-proc-macro v12.0.0
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking bounded-collections v0.1.9
[INFO] [stderr]     Checking sp-arithmetic v21.0.0
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.4.0
[INFO] [stderr]     Checking sp-wasm-interface v18.0.0
[INFO] [stderr]     Checking sp-runtime-interface v22.0.0
[INFO] [stderr]     Checking sp-core v26.0.0
[INFO] [stderr]     Checking sp-trie v27.0.0
[INFO] [stderr]     Checking sp-keystore v0.32.0
[INFO] [stderr]     Checking sp-weights v25.0.0
[INFO] [stderr]     Checking sp-state-machine v0.33.0
[INFO] [stderr]     Checking sp-application-crypto v28.0.0
[INFO] [stderr]     Checking sp-runtime v29.0.0
[INFO] [stderr]     Checking sp-version v27.0.0
[INFO] [stderr]     Checking sp-staking v24.0.0
[INFO] [stderr]     Checking sp-inherents v24.0.0
[INFO] [stderr]     Checking sp-api v24.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.5.0
[INFO] [stderr]     Checking frame-support v26.0.0
[INFO] [stderr]     Checking frame-system v26.0.0
[INFO] [stderr]     Checking pallet-democracy v26.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Result` is imported redundantly
[INFO] [stdout]   --> src/conviction.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 | use sp_std::{prelude::*, result::Result};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Result` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/migrations/unlock_and_unreserve_all_funds.rs:32:48
[INFO] [stdout]    |
[INFO] [stdout] 32 | use sp_std::{collections::btree_map::BTreeMap, vec::Vec};
[INFO] [stdout]    |                                                ^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use pallet_balances::{BalanceLock, Error as BalancesError};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_preimage`
[INFO] [stdout]   --> src/tests.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         Preimage: pallet_preimage,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:37:51
[INFO] [stdout]    |
[INFO] [stdout] 37 |     BalanceLock { id: DEMOCRACY_ID, amount, reasons: pallet_balances::Reasons::All }
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_scheduler`
[INFO] [stdout]   --> src/tests/voting.rs:95:11
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(pallet_scheduler::Agenda::<Test>::get(6)[0].is_some());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/cancellation.rs:48:3
[INFO] [stdout]    |
[INFO] [stdout] 48 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/cancellation.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |             Error::<Test>::AlreadyCanceled,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn emergency_cancel_should_work<Test>() {
[INFO] [stdout]    |                                ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/decoders.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |             DepositOf::<Test>::insert(2, value);
[INFO] [stdout]    |                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn len_of_deposit_of<Test>() {
[INFO] [stdout]    |                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/decoders.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 |         DepositOf::<Test>::remove(2);
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn len_of_deposit_of<Test>() {
[INFO] [stdout]    |                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/delegation.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/delegation.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |             Error::<Test>::Nonsense,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn self_delegation_not_allowed<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/delegation.rs:76:3
[INFO] [stdout]    |
[INFO] [stdout] 76 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/delegation.rs:101:3
[INFO] [stdout]     |
[INFO] [stdout] 101 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/delegation.rs:123:3
[INFO] [stdout]     |
[INFO] [stdout] 123 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:199:25
[INFO] [stdout]     |
[INFO] [stdout] 199 |         assert_eq!(VotingOf::<Test>::get(2).locked_balance(), 20);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:200:25
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &prior_lock);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:207:25
[INFO] [stdout]     |
[INFO] [stdout] 207 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &prior_lock);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:208:25
[INFO] [stdout]     |
[INFO] [stdout] 208 |         assert_eq!(VotingOf::<Test>::get(2).locked_balance(), 20);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:211:25
[INFO] [stdout]     |
[INFO] [stdout] 211 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &prior_lock);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:212:25
[INFO] [stdout]     |
[INFO] [stdout] 212 |         assert_eq!(VotingOf::<Test>::get(2).locked_balance(), 20);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:217:25
[INFO] [stdout]     |
[INFO] [stdout] 217 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &prior_lock);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:219:25
[INFO] [stdout]     |
[INFO] [stdout] 219 |         assert_eq!(VotingOf::<Test>::get(2).prior(), &vote::PriorLock::default());
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/delegation.rs:220:25
[INFO] [stdout]     |
[INFO] [stdout] 220 |         assert_eq!(VotingOf::<Test>::get(2).locked_balance(), 10);
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn redelegation_keeps_lock<Test>() {
[INFO] [stdout]     |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/external_proposing.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 |         assert!(<NextExternal<Test>>::exists());
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works<Test>() {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:32:26
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert!(!<NextExternal<Test>>::exists());
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works<Test>() {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |             Error::<Test>::ProposalBlacklisted
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works<Test>() {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Error::<Test>::ProposalBlacklisted
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works<Test>() {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |         assert!(<NextExternal<Test>>::exists());
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works<Test>() {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Error::<Test>::AlreadyVetoed
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works<Test>() {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:60:26
[INFO] [stdout]    |
[INFO] [stdout] 60 |         assert!(!<NextExternal<Test>>::exists());
[INFO] [stdout]    |                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works<Test>() {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |             Error::<Test>::ProposalBlacklisted
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn veto_external_works<Test>() {
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/external_proposing.rs:76:3
[INFO] [stdout]    |
[INFO] [stdout] 76 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:84:57
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn external_blacklisting_should_work<Test>() {
[INFO] [stdout]    |                                     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/external_proposing.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 |             Error::<Test>::ProposalBlacklisted,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn external_blacklisting_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/external_proposing.rs:96:3
[INFO] [stdout]    |
[INFO] [stdout] 96 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/external_proposing.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |             Error::<Test>::DuplicateProposal
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 94  | fn external_referendum_works<Test>() {
[INFO] [stdout]     |                             ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/external_proposing.rs:123:3
[INFO] [stdout]     |
[INFO] [stdout] 123 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/external_proposing.rs:149:3
[INFO] [stdout]     |
[INFO] [stdout] 149 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/external_proposing.rs:175:3
[INFO] [stdout]     |
[INFO] [stdout] 175 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:25:3
[INFO] [stdout]    |
[INFO] [stdout] 25 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |             Error::<Test>::ProposalMissing
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn fast_track_referendum_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert!(<MetadataOf<Test>>::get(MetadataOwner::External).is_none());
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn fast_track_referendum_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert!(<MetadataOf<Test>>::get(MetadataOwner::External).is_some());
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn fast_track_referendum_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |         assert!(<MetadataOf<Test>>::get(MetadataOwner::External).is_none());
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn fast_track_referendum_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:57:23
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert!(<MetadataOf<Test>>::get(MetadataOwner::Referendum(0)).is_some());
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn fast_track_referendum_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:64:3
[INFO] [stdout]    |
[INFO] [stdout] 64 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |             Error::<Test>::ProposalMissing
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn instant_referendum_works<Test>() {
[INFO] [stdout]    |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |             Error::<Test>::InstantNotAllowed
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn instant_referendum_works<Test>() {
[INFO] [stdout]    |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/fast_tracking.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Error::<Test>::VotingPeriodLow
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn instant_referendum_works<Test>() {
[INFO] [stdout]    |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:111:3
[INFO] [stdout]     |
[INFO] [stdout] 111 |         System::set_block_number(start_block_number);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/fast_tracking.rs:144:57
[INFO] [stdout]     |
[INFO] [stdout] 144 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]     |                                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn instant_next_block_referendum_backed<Test>() {
[INFO] [stdout]     |                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/fast_tracking.rs:147:23
[INFO] [stdout]     |
[INFO] [stdout] 147 |             ReferendumInfoOf::<Test>::get(0).unwrap(),
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn instant_next_block_referendum_backed<Test>() {
[INFO] [stdout]     |                                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:156:3
[INFO] [stdout]     |
[INFO] [stdout] 156 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/fast_tracking.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |             Error::<Test>::NotSimpleMajority
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn fast_track_referendum_fails_when_no_simple_majority<Test>() {
[INFO] [stdout]     |                                                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/lock_voting.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/lock_voting.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 |             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] 41 | fn lock_voting_should_work<Test>() {
[INFO] [stdout]    |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/lock_voting.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 |             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] 41 | fn lock_voting_should_work<Test>() {
[INFO] [stdout]    |                           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/lock_voting.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |             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] 41  | fn lock_voting_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/lock_voting.rs:126:3
[INFO] [stdout]     |
[INFO] [stdout] 126 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/lock_voting.rs:169:2
[INFO] [stdout]     |
[INFO] [stdout] 169 |     System::set_block_number(0);
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/lock_voting.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 198 |             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] 188 | fn prior_lockvotes_should_be_enforced<Test>() {
[INFO] [stdout]     |                                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/lock_voting.rs:209:12
[INFO] [stdout]     |
[INFO] [stdout] 209 |             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] 188 | fn prior_lockvotes_should_be_enforced<Test>() {
[INFO] [stdout]     |                                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/lock_voting.rs:220:12
[INFO] [stdout]     |
[INFO] [stdout] 220 |             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] 188 | fn prior_lockvotes_should_be_enforced<Test>() {
[INFO] [stdout]     |                                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/lock_voting.rs:294:3
[INFO] [stdout]     |
[INFO] [stdout] 294 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/lock_voting.rs:334:3
[INFO] [stdout]     |
[INFO] [stdout] 334 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/metadata.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let invalid_hash: <Test as frame_system::Config>::Hash = [1u8; 32].into();
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/metadata.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Error::<Test>::NoProposal,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn set_external_metadata_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/metadata.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert!(<NextExternal<Test>>::exists());
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn set_external_metadata_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/metadata.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Error::<Test>::PreimageNotExist,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn set_external_metadata_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/metadata.rs:50:3
[INFO] [stdout]    |
[INFO] [stdout] 50 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet {
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/metadata.rs:64:25
[INFO] [stdout]    |
[INFO] [stdout] 64 |         assert!(<NextExternal<Test>>::exists());
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn clear_metadata_works<Test>() {
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests/metadata.rs:75:3
[INFO] [stdout]    |
[INFO] [stdout] 75 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared {
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/metadata.rs:86:22
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let invalid_hash: <Test as frame_system::Config>::Hash = [1u8; 32].into();
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/metadata.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 |             Error::<Test>::PreimageNotExist,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn set_proposal_metadata_works<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/metadata.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |             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] 83  | fn set_proposal_metadata_works<Test>() {
[INFO] [stdout]     |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/metadata.rs:105:3
[INFO] [stdout]     |
[INFO] [stdout] 105 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet {
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/metadata.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |             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] 113 | fn clear_proposal_metadata_works<Test>() {
[INFO] [stdout]     |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/metadata.rs:129:3
[INFO] [stdout]     |
[INFO] [stdout] 129 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared {
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/metadata.rs:152:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |             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] 137 | fn set_referendum_metadata_by_root<Test>() {
[INFO] [stdout]     |                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/metadata.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |             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] 137 | fn set_referendum_metadata_by_root<Test>() {
[INFO] [stdout]     |                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/metadata.rs:161:3
[INFO] [stdout]     |
[INFO] [stdout] 161 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet {
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/metadata.rs:167:3
[INFO] [stdout]     |
[INFO] [stdout] 167 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared {
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/metadata.rs:189:16
[INFO] [stdout]     |
[INFO] [stdout] 189 |         MetadataOf::<Test>::insert(owner.clone(), hash);
[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 clear_referendum_metadata_works<Test>() {
[INFO] [stdout]     |                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/metadata.rs:193:12
[INFO] [stdout]     |
[INFO] [stdout] 193 |             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] 175 | fn clear_referendum_metadata_works<Test>() {
[INFO] [stdout]     |                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/metadata.rs:196:22
[INFO] [stdout]     |
[INFO] [stdout] 196 |         ReferendumInfoOf::<Test>::insert(
[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 clear_referendum_metadata_works<Test>() {
[INFO] [stdout]     |                                   ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/metadata.rs:202:3
[INFO] [stdout]     |
[INFO] [stdout] 202 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared {
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/public_proposals.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 |         assert_noop!(propose_set_balance(1, 2, 0), Error::<Test>::ValueLow);
[INFO] [stdout]    |                                                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn proposal_with_deposit_below_minimum_should_not_work<Test>() {
[INFO] [stdout]    |                                                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/public_proposals.rs:73:63
[INFO] [stdout]    |
[INFO] [stdout] 73 |         assert_noop!(propose_set_balance(1, 2, 11), BalancesError::<Test, _>::InsufficientBalance);
[INFO] [stdout]    |                                                                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn poor_proposer_should_not_work<Test>() {
[INFO] [stdout]    |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/public_proposals.rs:83:20
[INFO] [stdout]    |
[INFO] [stdout] 83 |             BalancesError::<Test, _>::InsufficientBalance
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn poor_seconder_should_not_work<Test>() {
[INFO] [stdout]    |                                 ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/public_proposals.rs:100:23
[INFO] [stdout]     |
[INFO] [stdout] 100 |         assert!(<MetadataOf<Test>>::get(MetadataOwner::Proposal(0)).is_some());
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 89  | fn cancel_proposal_should_work<Test>() {
[INFO] [stdout]     |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/public_proposals.rs:103:23
[INFO] [stdout]     |
[INFO] [stdout] 103 |         assert!(<MetadataOf<Test>>::get(MetadataOwner::Proposal(0)).is_none());
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 89  | fn cancel_proposal_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/public_proposals.rs:104:3
[INFO] [stdout]     |
[INFO] [stdout] 104 |         System::assert_has_event(crate::Event::ProposalCanceled { prop_index: 0 }.into());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/public_proposals.rs:105:3
[INFO] [stdout]     |
[INFO] [stdout] 105 |         System::assert_last_event(
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests/public_proposals.rs:116:3
[INFO] [stdout]     |
[INFO] [stdout] 116 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/public_proposals.rs:128:54
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_noop!(propose_set_balance(1, 2, 2), Error::<Test>::ProposalBlacklisted);
[INFO] [stdout]     |                                                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn blacklisting_should_work<Test>() {
[INFO] [stdout]     |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests/public_proposals.rs:135:57
[INFO] [stdout]     |
[INFO] [stdout] 135 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]     |                                                               ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 114 | fn blacklisting_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/public_proposals.rs:142:3
[INFO] [stdout]     |
[INFO] [stdout] 142 |         System::set_block_number(0);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/voting.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |             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] 23 | fn overvoting_should_fail<Test>() {
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/voting.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |             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] 34 | fn split_voting_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/voting.rs:65:3
[INFO] [stdout]    |
[INFO] [stdout] 65 |         System::set_block_number(0);
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 20 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/voting.rs:94:57
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn single_proposal_should_work<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests/voting.rs:95:38
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert!(pallet_scheduler::Agenda::<Test>::get(6)[0].is_some());
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn single_proposal_should_work<Test>() {
[INFO] [stdout]    |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/tests.rs:53:47
[INFO] [stdout]    |
[INFO] [stdout] 53 | 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] 53 | 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:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 | 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] 68 | 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:69:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn contains(call: &RuntimeCall) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |         !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }))
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[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] 70 -         !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }))
[INFO] [stdout] 70 +         !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:80:31
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/tests.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 85 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 85 |     type RuntimeOrigin = Self::RuntimeOrigin;
[INFO] [stdout]    |                          ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/tests.rs:87:21
[INFO] [stdout]    |
[INFO] [stdout] 87 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 87 |     type RuntimeCall = Self::RuntimeCall;
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/tests.rs:93:22
[INFO] [stdout]    |
[INFO] [stdout] 93 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 93 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/tests.rs:96:20
[INFO] [stdout]    |
[INFO] [stdout] 96 |     type PalletInfo = PalletInfo;
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 96 |     type PalletInfo = Self::PalletInfo;
[INFO] [stdout]    |                       ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 20 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:109:34
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl pallet_preimage::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:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/tests.rs:112:18
[INFO] [stdout]     |
[INFO] [stdout] 112 |       type Currency = Balances;
[INFO] [stdout]     |                       ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:199:1
[INFO] [stdout]     |
[INFO] [stdout] 199 | / type BalanceOf<T> =
[INFO] [stdout] 200 | |     <<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;
[INFO] [stdout]     | |___________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:117:35
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl pallet_scheduler::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:118:22
[INFO] [stdout]     |
[INFO] [stdout] 118 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]    --> src/tests.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope
[INFO] [stdout]    --> src/tests.rs:120:23
[INFO] [stdout]     |
[INFO] [stdout] 120 |     type PalletsOrigin = OriginCaller;
[INFO] [stdout]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/tests.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 121 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]     |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:130:34
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/tests.rs:135:22
[INFO] [stdout]     |
[INFO] [stdout] 135 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/tests.rs:138:22
[INFO] [stdout]     |
[INFO] [stdout] 138 |     type AccountStore = System;
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:167:17
[INFO] [stdout]     |
[INFO] [stdout] 167 | 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:168:22
[INFO] [stdout]     |
[INFO] [stdout] 168 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 168 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Scheduler` in this scope
[INFO] [stdout]    --> src/tests.rs:191:19
[INFO] [stdout]     |
[INFO] [stdout] 191 |     type Scheduler = Scheduler;
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 191 |     type Scheduler = Self::Scheduler;
[INFO] [stdout]     |                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope
[INFO] [stdout]    --> src/tests.rs:193:23
[INFO] [stdout]     |
[INFO] [stdout] 193 |     type PalletsOrigin = OriginCaller;
[INFO] [stdout]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope
[INFO] [stdout]    --> src/tests.rs:196:19
[INFO] [stdout]     |
[INFO] [stdout] 196 |     type Preimages = Preimage;
[INFO] [stdout]     |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:200:44
[INFO] [stdout]     |
[INFO] [stdout] 200 |     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] 199 | 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:201:35
[INFO] [stdout]     |
[INFO] [stdout] 201 |     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] 199 | 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:206:36
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pallet_democracy::GenesisConfig::<Test>::default()
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 199 | 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:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |     ext.execute_with(|| System::set_block_number(1));
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:223:54
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn set_balance_proposal(value: u64) -> BoundedCallOf<Test> {
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn set_balance_proposal<Test>(value: u64) -> BoundedCallOf<Test> {
[INFO] [stdout]     |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:224:14
[INFO] [stdout]     |
[INFO] [stdout] 224 |     let inner = pallet_balances::Call::force_set_balance { who: 42, new_free: value };
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[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] 224 -     let inner = pallet_balances::Call::force_set_balance { who: 42, new_free: value };
[INFO] [stdout] 224 +     let inner = Call::force_set_balance { who: 42, new_free: value };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:233:13
[INFO] [stdout]     |
[INFO] [stdout] 233 |         assert!(!<Test as frame_system::Config>::BaseCallFilter::contains(&call));
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:242:2
[INFO] [stdout]     |
[INFO] [stdout] 242 |     System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:242:27
[INFO] [stdout]     |
[INFO] [stdout] 242 |     System::set_block_number(System::block_number() + 1);
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:243:27
[INFO] [stdout]     |
[INFO] [stdout] 243 |     Scheduler::on_initialize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:244:25
[INFO] [stdout]     |
[INFO] [stdout] 244 |     Democracy::begin_block(System::block_number());
[INFO] [stdout]     |                            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:248:8
[INFO] [stdout]     |
[INFO] [stdout] 248 |     while System::block_number() < n {
[INFO] [stdout]     |           ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:254:2
[INFO] [stdout]     |
[INFO] [stdout] 254 |     System::set_block_number(0);
[INFO] [stdout]     |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 20  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 20  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:281:32
[INFO] [stdout]     |
[INFO] [stdout] 281 | fn note_preimage(who: u64) -> <Test as frame_system::Config>::Hash {
[INFO] [stdout]     |                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Result` is imported redundantly
[INFO] [stdout]   --> src/conviction.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 | use sp_std::{prelude::*, result::Result};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:129:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Result` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OnInitialize`, `StorePreimage`
[INFO] [stdout]   --> src/tests.rs:25:53
[INFO] [stdout]    |
[INFO] [stdout] 25 |         ConstU32, ConstU64, Contains, EqualPrivilegeOnly, OnInitialize, SortedMembers,
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^
[INFO] [stdout] 26 |         StorePreimage,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Weight` is imported redundantly
[INFO] [stdout]   --> src/tests.rs:28:2
[INFO] [stdout]    |
[INFO] [stdout] 20 | use super::*;
[INFO] [stdout]    |     -------- the item `Weight` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 28 |     weights::Weight,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/migrations/unlock_and_unreserve_all_funds.rs:32:48
[INFO] [stdout]    |
[INFO] [stdout] 32 | use sp_std::{collections::btree_map::BTreeMap, vec::Vec};
[INFO] [stdout]    |                                                ^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:125:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r.into()));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r.into()));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(Democracy::lowest_unbaked(), 0);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         assert_eq!(Democracy::lowest_unbaked(), 1);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         assert_eq!(Democracy::lowest_unbaked(), Democracy::referendum_count());
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:40:43
[INFO] [stdout]    |
[INFO] [stdout] 40 |         assert_eq!(Democracy::lowest_unbaked(), Democracy::referendum_count());
[INFO] [stdout]    |                                                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/cancellation.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:55:11
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(Democracy::referendum_status(r).is_ok());
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_noop!(Democracy::emergency_cancel(RuntimeOrigin::signed(3), r), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:57:44
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_noop!(Democracy::emergency_cancel(RuntimeOrigin::signed(3), r), BadOrigin);
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::emergency_cancel(RuntimeOrigin::signed(4), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:58:42
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::emergency_cancel(RuntimeOrigin::signed(4), r));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:59:11
[INFO] [stdout]    |
[INFO] [stdout] 59 |         assert!(Democracy::referendum_info(r).is_none());
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:63:11
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert!(Democracy::referendum_status(r).is_ok());
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/cancellation.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Democracy::emergency_cancel(RuntimeOrigin::signed(4), r),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/cancellation.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Democracy::emergency_cancel(RuntimeOrigin::signed(4), r),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/decoders.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 |             assert_eq!(Democracy::len_of_deposit_of(2), Some(l));
[INFO] [stdout]    |                        ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/decoders.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_eq!(Democracy::len_of_deposit_of(2), None);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 1, Conviction::None, 30));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 1, Conviction::None, 30));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 10));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:42:34
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 10));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:46:34
[INFO] [stdout]    |
[INFO] [stdout] 46 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked1x, 10));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:54:34
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked1x, 10));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Democracy::delegate(RuntimeOrigin::signed(1), 1, Conviction::None, 10),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:67:24
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Democracy::delegate(RuntimeOrigin::signed(1), 1, Conviction::None, 10),
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:84:34
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(3), 2, Conviction::None, 30));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(1), 3, Conviction::None, 10));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:85:34
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(1), 3, Conviction::None, 10));
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(3)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:87:36
[INFO] [stdout]    |
[INFO] [stdout] 87 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(3)));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:89:36
[INFO] [stdout]    |
[INFO] [stdout] 89 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(1)));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/delegation.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/delegation.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:108:30
[INFO] [stdout]     |
[INFO] [stdout] 108 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, nay(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:109:30
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, nay(2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:113:37
[INFO] [stdout]     |
[INFO] [stdout] 113 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:114:34
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:128:34
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:129:36
[INFO] [stdout]     |
[INFO] [stdout] 129 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:133:30
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:146:30
[INFO] [stdout]     |
[INFO] [stdout] 146 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:147:34
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::None, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:149:14
[INFO] [stdout]     |
[INFO] [stdout] 149 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:149:36
[INFO] [stdout]     |
[INFO] [stdout] 149 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(2)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 150 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:150:30
[INFO] [stdout]     |
[INFO] [stdout] 150 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:162:34
[INFO] [stdout]     |
[INFO] [stdout] 162 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:163:30
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:174:14
[INFO] [stdout]     |
[INFO] [stdout] 174 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:174:34
[INFO] [stdout]     |
[INFO] [stdout] 174 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 |         assert_ok!(Democracy::vote(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 |             RuntimeOrigin::signed(1),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:191:14
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:191:34
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 1, Conviction::Locked6x, 20));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:192:30
[INFO] [stdout]     |
[INFO] [stdout] 192 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 3, Conviction::None, 10));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:203:34
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(2), 3, Conviction::None, 10));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:210:14
[INFO] [stdout]     |
[INFO] [stdout] 210 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:210:32
[INFO] [stdout]     |
[INFO] [stdout] 210 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/delegation.rs:218:14
[INFO] [stdout]     |
[INFO] [stdout] 218 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/delegation.rs:218:32
[INFO] [stdout]     |
[INFO] [stdout] 218 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:26:42
[INFO] [stdout]    |
[INFO] [stdout] 26 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(3), h));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:30:39
[INFO] [stdout]    |
[INFO] [stdout] 30 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(3), h));
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:35:32
[INFO] [stdout]    |
[INFO] [stdout] 35 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:42:32
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 48 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Democracy::veto_external(RuntimeOrigin::signed(3), h),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:53:29
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Democracy::veto_external(RuntimeOrigin::signed(3), h),
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(4), h));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(4), h));
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:65:4
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:65:32
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:78:42
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:81:35
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None));
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:87:32
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/external_proposing.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 |             Democracy::external_propose(RuntimeOrigin::signed(1), set_balance_proposal(2),),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/external_proposing.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 |             Democracy::external_propose(RuntimeOrigin::signed(1), set_balance_proposal(2),),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:101:42
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:103:32
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),),
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Democracy::external_propose_majority(RuntimeOrigin::signed(1), set_balance_proposal(2)),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:125:41
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Democracy::external_propose_majority(RuntimeOrigin::signed(1), set_balance_proposal(2)),
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_ok!(Democracy::external_propose_majority(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 |             RuntimeOrigin::signed(3),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Democracy::external_propose_default(RuntimeOrigin::signed(3), set_balance_proposal(2)),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:151:40
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Democracy::external_propose_default(RuntimeOrigin::signed(3), set_balance_proposal(2)),
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_ok!(Democracy::external_propose_default(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:155:4
[INFO] [stdout]     |
[INFO] [stdout] 155 |             RuntimeOrigin::signed(1),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:176:14
[INFO] [stdout]     |
[INFO] [stdout] 176 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:176:42
[INFO] [stdout]     |
[INFO] [stdout] 176 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(1),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:183:4
[INFO] [stdout]     |
[INFO] [stdout] 183 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:193:14
[INFO] [stdout]     |
[INFO] [stdout] 193 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:193:42
[INFO] [stdout]     |
[INFO] [stdout] 193 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(3),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 |             Democracy::referendum_status(1),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 |             Democracy::referendum_status(2),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:224:14
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(5),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:224:42
[INFO] [stdout]     |
[INFO] [stdout] 224 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(5),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 |             Democracy::referendum_status(3),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:240:14
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(7),));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:240:42
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(7),));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:247:4
[INFO] [stdout]     |
[INFO] [stdout] 247 |             Democracy::referendum_status(4),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:260:14
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(3), h));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/external_proposing.rs:260:39
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_ok!(Democracy::veto_external(RuntimeOrigin::signed(3), h));
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/external_proposing.rs:266:4
[INFO] [stdout]     |
[INFO] [stdout] 266 |             Democracy::referendum_status(5),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::external_propose_majority(
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 |             RuntimeOrigin::signed(3),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         assert_ok!(Democracy::set_metadata(
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 |             RuntimeOrigin::signed(3),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:43:38
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 2, 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |         assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 2, 0));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 |             Democracy::referendum_status(0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:67:26
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 |         assert_ok!(Democracy::external_propose_majority(
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 |             RuntimeOrigin::signed(3),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:74:38
[INFO] [stdout]    |
[INFO] [stdout] 74 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(1), h, 3, 2), BadOrigin);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:75:16
[INFO] [stdout]    |
[INFO] [stdout] 75 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 1, 0), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 75 |         assert_noop!(Democracy::fast_track(RuntimeOrigin::signed(5), h, 1, 0), BadOrigin);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 |             Democracy::fast_track(RuntimeOrigin::signed(6), h, 1, 0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:77:26
[INFO] [stdout]    |
[INFO] [stdout] 77 |             Democracy::fast_track(RuntimeOrigin::signed(6), h, 1, 0),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Democracy::fast_track(RuntimeOrigin::signed(6), h, 0, 0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Democracy::fast_track(RuntimeOrigin::signed(6), h, 0, 0),
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(6), h, 1, 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:85:36
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_ok!(Democracy::fast_track(RuntimeOrigin::signed(6), h, 1, 0));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/fast_tracking.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 |             Democracy::referendum_status(0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::external_propose_majority(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:116:4
[INFO] [stdout]     |
[INFO] [stdout] 116 |             RuntimeOrigin::signed(majority_origin_id),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |         assert_ok!(Democracy::fast_track(
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 |             RuntimeOrigin::signed(instant_origin_id),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Democracy::referendum_status(0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:144:16
[INFO] [stdout]     |
[INFO] [stdout] 144 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:158:14
[INFO] [stdout]     |
[INFO] [stdout] 158 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:158:42
[INFO] [stdout]     |
[INFO] [stdout] 158 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)));
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/fast_tracking.rs:160:26
[INFO] [stdout]     |
[INFO] [stdout] 160 |             Democracy::fast_track(RuntimeOrigin::signed(5), h, 3, 2),
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:50:30
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:51:30
[INFO] [stdout]    |
[INFO] [stdout] 51 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(2, 40)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(2, 40)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50)));
[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/lock_voting.rs:59:15
[INFO] [stdout]    |
[INFO] [stdout] 59 |             assert_eq!(Balances::locks(i), vec![the_lock(i * 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:65:37
[INFO] [stdout]    |
[INFO] [stdout] 65 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(1), r));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 1));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 5, r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:68:43
[INFO] [stdout]    |
[INFO] [stdout] 68 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 5, r));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 5));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:69:32
[INFO] [stdout]    |
[INFO] [stdout] 69 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 5));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 2, r),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:73:33
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 2, r),
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:77:37
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(2), r));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 2));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:78:32
[INFO] [stdout]    |
[INFO] [stdout] 78 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 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/lock_voting.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 |         assert_eq!(Balances::locks(1), vec![]);
[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/lock_voting.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_eq!(Balances::locks(2), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/lock_voting.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |         assert_eq!(Balances::locks(3), vec![the_lock(30)]);
[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/lock_voting.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |         assert_eq!(Balances::locks(4), vec![the_lock(40)]);
[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/lock_voting.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 |         assert_eq!(Balances::locks(5), vec![]);
[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/lock_voting.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r),
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:93:14
[INFO] [stdout]    |
[INFO] [stdout] 93 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:93:32
[INFO] [stdout]    |
[INFO] [stdout] 93 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4));
[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/lock_voting.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_eq!(Balances::locks(4), vec![the_lock(40)]);
[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 `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:97:14
[INFO] [stdout]    |
[INFO] [stdout] 97 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:97:43
[INFO] [stdout]    |
[INFO] [stdout] 97 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 4, r));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/lock_voting.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/lock_voting.rs:98:32
[INFO] [stdout]    |
[INFO] [stdout] 98 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 4));
[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/lock_voting.rs:99:14
[INFO] [stdout]    |
[INFO] [stdout] 99 |         assert_eq!(Balances::locks(4), vec![]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:103:33
[INFO] [stdout]     |
[INFO] [stdout] 103 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 3));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:106:32
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 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/lock_voting.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |         assert_eq!(Balances::locks(3), vec![the_lock(30)]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:109:43
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 3, r));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 110 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 3));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:110:32
[INFO] [stdout]     |
[INFO] [stdout] 110 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 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/lock_voting.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         assert_eq!(Balances::locks(3), vec![]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:115:32
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 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/lock_voting.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         assert_eq!(Balances::locks(2), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:118:32
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(1), 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/lock_voting.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         assert_eq!(Balances::locks(2), vec![]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:127:11
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(0, 10)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:133:30
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(0, 10)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/lock_voting.rs:137:14
[INFO] [stdout]     |
[INFO] [stdout] 137 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 1, r));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:138:43
[INFO] [stdout]     |
[INFO] [stdout] 138 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(2), 1, r));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(2), 1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:139:32
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:140:14
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_eq!(Balances::locks(1), vec![]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:147:11
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:153:14
[INFO] [stdout]     |
[INFO] [stdout] 153 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:153:30
[INFO] [stdout]     |
[INFO] [stdout] 153 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(5, 10)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(4, 20)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3, 30)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(4), 2, Conviction::Locked2x, 40));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:156:34
[INFO] [stdout]     |
[INFO] [stdout] 156 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(4), 2, Conviction::Locked2x, 40));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, nay(1, 50)));
[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/lock_voting.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:171:3
[INFO] [stdout]     |
[INFO] [stdout] 171 |         Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r1, aye(4, 10)));
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:172:29
[INFO] [stdout]     |
[INFO] [stdout] 172 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r1, aye(4, 10)));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:175:3
[INFO] [stdout]     |
[INFO] [stdout] 175 |         Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r2, aye(3, 20)));
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:176:29
[INFO] [stdout]     |
[INFO] [stdout] 176 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r2, aye(3, 20)));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:179:3
[INFO] [stdout]     |
[INFO] [stdout] 179 |         Democracy::inject_referendum(2, set_balance_proposal(2), VoteThreshold::SimpleMajority, 0);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:180:13
[INFO] [stdout]     |
[INFO] [stdout] 180 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r3, aye(2, 50)));
[INFO] [stdout]     |                ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:180:29
[INFO] [stdout]     |
[INFO] [stdout] 180 |     assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r3, aye(2, 50)));
[INFO] [stdout]     |                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:197:4
[INFO] [stdout]     |
[INFO] [stdout] 197 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:197:33
[INFO] [stdout]     |
[INFO] [stdout] 197 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:200:14
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:200:32
[INFO] [stdout]     |
[INFO] [stdout] 200 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:201:14
[INFO] [stdout]     |
[INFO] [stdout] 201 |         assert_eq!(Balances::locks(5), vec![the_lock(50)]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:203:43
[INFO] [stdout]     |
[INFO] [stdout] 203 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.2));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:204:14
[INFO] [stdout]     |
[INFO] [stdout] 204 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:204:32
[INFO] [stdout]     |
[INFO] [stdout] 204 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:205:14
[INFO] [stdout]     |
[INFO] [stdout] 205 |         assert_eq!(Balances::locks(5), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:208:4
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:208:33
[INFO] [stdout]     |
[INFO] [stdout] 208 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:211:14
[INFO] [stdout]     |
[INFO] [stdout] 211 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:211:32
[INFO] [stdout]     |
[INFO] [stdout] 211 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:212:14
[INFO] [stdout]     |
[INFO] [stdout] 212 |         assert_eq!(Balances::locks(5), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:214:14
[INFO] [stdout]     |
[INFO] [stdout] 214 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:214:43
[INFO] [stdout]     |
[INFO] [stdout] 214 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.1));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:215:14
[INFO] [stdout]     |
[INFO] [stdout] 215 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:216:14
[INFO] [stdout]     |
[INFO] [stdout] 216 |         assert_eq!(Balances::locks(5), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:219:4
[INFO] [stdout]     |
[INFO] [stdout] 219 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:219:33
[INFO] [stdout]     |
[INFO] [stdout] 219 |             Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0),
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:222:14
[INFO] [stdout]     |
[INFO] [stdout] 222 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:222:32
[INFO] [stdout]     |
[INFO] [stdout] 222 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:223:14
[INFO] [stdout]     |
[INFO] [stdout] 223 |         assert_eq!(Balances::locks(5), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:225:14
[INFO] [stdout]     |
[INFO] [stdout] 225 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:225:43
[INFO] [stdout]     |
[INFO] [stdout] 225 |         assert_ok!(Democracy::remove_other_vote(RuntimeOrigin::signed(1), 5, r.0));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:226:14
[INFO] [stdout]     |
[INFO] [stdout] 226 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:226:32
[INFO] [stdout]     |
[INFO] [stdout] 226 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:227:14
[INFO] [stdout]     |
[INFO] [stdout] 227 |         assert_eq!(Balances::locks(5), vec![]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:240:14
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:240:37
[INFO] [stdout]     |
[INFO] [stdout] 240 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:241:14
[INFO] [stdout]     |
[INFO] [stdout] 241 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:241:32
[INFO] [stdout]     |
[INFO] [stdout] 241 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:242:14
[INFO] [stdout]     |
[INFO] [stdout] 242 |         assert_eq!(Balances::locks(5), vec![the_lock(50)]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:244:14
[INFO] [stdout]     |
[INFO] [stdout] 244 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:244:32
[INFO] [stdout]     |
[INFO] [stdout] 244 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:245:14
[INFO] [stdout]     |
[INFO] [stdout] 245 |         assert_eq!(Balances::locks(5), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:248:14
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:248:37
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:249:14
[INFO] [stdout]     |
[INFO] [stdout] 249 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:249:32
[INFO] [stdout]     |
[INFO] [stdout] 249 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:250:14
[INFO] [stdout]     |
[INFO] [stdout] 250 |         assert_eq!(Balances::locks(5), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:252:14
[INFO] [stdout]     |
[INFO] [stdout] 252 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:252:32
[INFO] [stdout]     |
[INFO] [stdout] 252 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:253:14
[INFO] [stdout]     |
[INFO] [stdout] 253 |         assert_eq!(Balances::locks(5), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:256:14
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:256:37
[INFO] [stdout]     |
[INFO] [stdout] 256 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:257:14
[INFO] [stdout]     |
[INFO] [stdout] 257 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:257:32
[INFO] [stdout]     |
[INFO] [stdout] 257 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:258:14
[INFO] [stdout]     |
[INFO] [stdout] 258 |         assert_eq!(Balances::locks(5), vec![the_lock(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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:260:14
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:260:32
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:261:14
[INFO] [stdout]     |
[INFO] [stdout] 261 |         assert_eq!(Balances::locks(5), vec![]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:273:14
[INFO] [stdout]     |
[INFO] [stdout] 273 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:273:37
[INFO] [stdout]     |
[INFO] [stdout] 273 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:274:14
[INFO] [stdout]     |
[INFO] [stdout] 274 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:274:37
[INFO] [stdout]     |
[INFO] [stdout] 274 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:275:14
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:275:37
[INFO] [stdout]     |
[INFO] [stdout] 275 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:278:14
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:279:11
[INFO] [stdout]     |
[INFO] [stdout] 279 |         assert!(Balances::locks(5)[0].amount >= 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:282:14
[INFO] [stdout]     |
[INFO] [stdout] 282 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:282:32
[INFO] [stdout]     |
[INFO] [stdout] 282 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:283:11
[INFO] [stdout]     |
[INFO] [stdout] 283 |         assert!(Balances::locks(5)[0].amount >= 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:286:14
[INFO] [stdout]     |
[INFO] [stdout] 286 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:286:32
[INFO] [stdout]     |
[INFO] [stdout] 286 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:287:14
[INFO] [stdout]     |
[INFO] [stdout] 287 |         assert_eq!(Balances::locks(5), vec![]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:295:11
[INFO] [stdout]     |
[INFO] [stdout] 295 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:301:14
[INFO] [stdout]     |
[INFO] [stdout] 301 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(4, 10)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:301:30
[INFO] [stdout]     |
[INFO] [stdout] 301 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(4, 10)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:303:37
[INFO] [stdout]     |
[INFO] [stdout] 303 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:306:14
[INFO] [stdout]     |
[INFO] [stdout] 306 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked3x, 20));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:306:34
[INFO] [stdout]     |
[INFO] [stdout] 306 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked3x, 20));
[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/lock_voting.rs:308:11
[INFO] [stdout]     |
[INFO] [stdout] 308 |         assert!(Balances::locks(5)[0].amount == 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:310:14
[INFO] [stdout]     |
[INFO] [stdout] 310 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:310:36
[INFO] [stdout]     |
[INFO] [stdout] 310 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:314:14
[INFO] [stdout]     |
[INFO] [stdout] 314 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:314:32
[INFO] [stdout]     |
[INFO] [stdout] 314 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:315:11
[INFO] [stdout]     |
[INFO] [stdout] 315 |         assert!(Balances::locks(5)[0].amount == 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:318:32
[INFO] [stdout]     |
[INFO] [stdout] 318 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:319:11
[INFO] [stdout]     |
[INFO] [stdout] 319 |         assert!(Balances::locks(5)[0].amount >= 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:322:14
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:322:32
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:323:11
[INFO] [stdout]     |
[INFO] [stdout] 323 |         assert!(Balances::locks(5)[0].amount >= 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:326:14
[INFO] [stdout]     |
[INFO] [stdout] 326 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:326:32
[INFO] [stdout]     |
[INFO] [stdout] 326 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:327:14
[INFO] [stdout]     |
[INFO] [stdout] 327 |         assert_eq!(Balances::locks(5), vec![]);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:335:14
[INFO] [stdout]     |
[INFO] [stdout] 335 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked5x, 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:335:34
[INFO] [stdout]     |
[INFO] [stdout] 335 |         assert_ok!(Democracy::delegate(RuntimeOrigin::signed(5), 1, Conviction::Locked5x, 5));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:336:14
[INFO] [stdout]     |
[INFO] [stdout] 336 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |         assert_ok!(Democracy::undelegate(RuntimeOrigin::signed(5)));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:344:14
[INFO] [stdout]     |
[INFO] [stdout] 344 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:344:37
[INFO] [stdout]     |
[INFO] [stdout] 344 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.2));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:345:14
[INFO] [stdout]     |
[INFO] [stdout] 345 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:345:37
[INFO] [stdout]     |
[INFO] [stdout] 345 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.1));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:346:14
[INFO] [stdout]     |
[INFO] [stdout] 346 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:346:37
[INFO] [stdout]     |
[INFO] [stdout] 346 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r.0));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:349:14
[INFO] [stdout]     |
[INFO] [stdout] 349 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:349:32
[INFO] [stdout]     |
[INFO] [stdout] 349 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:350:11
[INFO] [stdout]     |
[INFO] [stdout] 350 |         assert!(Balances::locks(5)[0].amount >= 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:353:14
[INFO] [stdout]     |
[INFO] [stdout] 353 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:353:32
[INFO] [stdout]     |
[INFO] [stdout] 353 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:354:11
[INFO] [stdout]     |
[INFO] [stdout] 354 |         assert!(Balances::locks(5)[0].amount >= 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:357:14
[INFO] [stdout]     |
[INFO] [stdout] 357 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:357:32
[INFO] [stdout]     |
[INFO] [stdout] 357 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:358:11
[INFO] [stdout]     |
[INFO] [stdout] 358 |         assert!(Balances::locks(5)[0].amount >= 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 `Democracy`
[INFO] [stdout]    --> src/tests/lock_voting.rs:361:14
[INFO] [stdout]     |
[INFO] [stdout] 361 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/lock_voting.rs:361:32
[INFO] [stdout]     |
[INFO] [stdout] 361 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/lock_voting.rs:362:14
[INFO] [stdout]     |
[INFO] [stdout] 362 |         assert_eq!(Balances::locks(5), vec![]);
[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 `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(invalid_hash)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(invalid_hash)),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:35:42
[INFO] [stdout]    |
[INFO] [stdout] 35 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(invalid_hash)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(invalid_hash)),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 |             Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(invalid_hash)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |             Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(invalid_hash)),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(hash)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 49 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(hash)));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent`
[INFO] [stdout]   --> src/tests/metadata.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:63:42
[INFO] [stdout]    |
[INFO] [stdout] 63 |         assert_ok!(Democracy::external_propose(RuntimeOrigin::signed(2), set_balance_proposal(2)));
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(hash)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:67:38
[INFO] [stdout]    |
[INFO] [stdout] 67 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), Some(hash)));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:70:28
[INFO] [stdout]    |
[INFO] [stdout] 70 |             Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), None));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:74:38
[INFO] [stdout]    |
[INFO] [stdout] 74 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(2), owner.clone(), None));
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent`
[INFO] [stdout]   --> src/tests/metadata.rs:75:29
[INFO] [stdout]    |
[INFO] [stdout] 75 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let owner = MetadataOwner::Proposal(Democracy::public_prop_count() - 1);
[INFO] [stdout]    |                                             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/metadata.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 |             Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(invalid_hash)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/metadata.rs:93:28
[INFO] [stdout]    |
[INFO] [stdout] 93 |             Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(invalid_hash)),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 |             Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:100:28
[INFO] [stdout]     |
[INFO] [stdout] 100 |             Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(hash)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:104:38
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(hash)));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent`
[INFO] [stdout]    --> src/tests/metadata.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:118:39
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let owner = MetadataOwner::Proposal(Democracy::public_prop_count() - 1);
[INFO] [stdout]     |                                             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(hash)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:121:38
[INFO] [stdout]     |
[INFO] [stdout] 121 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), Some(hash)));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 |             Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), None),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:124:28
[INFO] [stdout]     |
[INFO] [stdout] 124 |             Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), None),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:128:38
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent`
[INFO] [stdout]    --> src/tests/metadata.rs:129:29
[INFO] [stdout]     |
[INFO] [stdout] 129 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let index = Democracy::inject_referendum(
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:151:28
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), Some(hash)),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:156:4
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), None),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:156:28
[INFO] [stdout]     |
[INFO] [stdout] 156 |             Democracy::set_metadata(RuntimeOrigin::signed(3), owner.clone(), None),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 160 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), Some(hash)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:160:38
[INFO] [stdout]     |
[INFO] [stdout] 160 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), Some(hash)));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent`
[INFO] [stdout]    --> src/tests/metadata.rs:161:29
[INFO] [stdout]     |
[INFO] [stdout] 161 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataSet {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), None));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:166:38
[INFO] [stdout]     |
[INFO] [stdout] 166 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::root(), owner.clone(), None));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent`
[INFO] [stdout]    --> src/tests/metadata.rs:167:29
[INFO] [stdout]     |
[INFO] [stdout] 167 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:178:15
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let index = Democracy::inject_referendum(
[INFO] [stdout]     |                     ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None),
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:192:28
[INFO] [stdout]     |
[INFO] [stdout] 192 |             Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/metadata.rs:201:14
[INFO] [stdout]     |
[INFO] [stdout] 201 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/metadata.rs:201:38
[INFO] [stdout]     |
[INFO] [stdout] 201 |         assert_ok!(Democracy::set_metadata(RuntimeOrigin::signed(1), owner.clone(), None));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent`
[INFO] [stdout]    --> src/tests/metadata.rs:202:29
[INFO] [stdout]     |
[INFO] [stdout] 202 |         System::assert_last_event(RuntimeEvent::Democracy(crate::Event::MetadataCleared {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |         assert_eq!(Democracy::backing_for(0), Some(2));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Democracy::backing_for(1), Some(4));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |         assert_eq!(Democracy::backing_for(2), Some(3));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(2), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(2), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 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/public_proposals.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert_eq!(Balances::free_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 `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_eq!(Balances::free_balance(2), 15);
[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/public_proposals.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         assert_eq!(Balances::free_balance(5), 35);
[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 `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(2), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:52:32
[INFO] [stdout]    |
[INFO] [stdout] 52 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(2), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:53:32
[INFO] [stdout]    |
[INFO] [stdout] 53 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:54:32
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:55:32
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_ok!(Democracy::second(RuntimeOrigin::signed(5), 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/public_proposals.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_eq!(Balances::free_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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_eq!(Balances::free_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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/public_proposals.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 |         assert_eq!(Balances::free_balance(5), 50);
[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 `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Democracy::second(RuntimeOrigin::signed(1), 0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:82:22
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Democracy::second(RuntimeOrigin::signed(1), 0),
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         assert_noop!(Democracy::cancel_proposal(RuntimeOrigin::signed(1), 0), BadOrigin);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:93:43
[INFO] [stdout]    |
[INFO] [stdout] 93 |         assert_noop!(Democracy::cancel_proposal(RuntimeOrigin::signed(1), 0), BadOrigin);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/public_proposals.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 |         assert_ok!(Democracy::set_metadata(
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/public_proposals.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 |             RuntimeOrigin::signed(1),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::cancel_proposal(RuntimeOrigin::root(), 0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:101:41
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::cancel_proposal(RuntimeOrigin::root(), 0));
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:108:14
[INFO] [stdout]     |
[INFO] [stdout] 108 |         assert_eq!(Democracy::backing_for(0), None);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |         assert_eq!(Democracy::backing_for(1), Some(4));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:122:16
[INFO] [stdout]     |
[INFO] [stdout] 122 |         assert_noop!(Democracy::blacklist(RuntimeOrigin::signed(1), hash, None), BadOrigin);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:122:37
[INFO] [stdout]     |
[INFO] [stdout] 122 |         assert_noop!(Democracy::blacklist(RuntimeOrigin::signed(1), hash, None), BadOrigin);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:123:14
[INFO] [stdout]     |
[INFO] [stdout] 123 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:123:35
[INFO] [stdout]     |
[INFO] [stdout] 123 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, None));
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:125:14
[INFO] [stdout]     |
[INFO] [stdout] 125 |         assert_eq!(Democracy::backing_for(0), None);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:126:14
[INFO] [stdout]     |
[INFO] [stdout] 126 |         assert_eq!(Democracy::backing_for(1), Some(4));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 |         assert_ok!(Democracy::referendum_status(0));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:134:14
[INFO] [stdout]     |
[INFO] [stdout] 134 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, Some(0)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:134:35
[INFO] [stdout]     |
[INFO] [stdout] 134 |         assert_ok!(Democracy::blacklist(RuntimeOrigin::root(), hash, Some(0)));
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:135:16
[INFO] [stdout]     |
[INFO] [stdout] 135 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 0, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:147:30
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 0, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:149:14
[INFO] [stdout]     |
[INFO] [stdout] 149 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 1, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:149:30
[INFO] [stdout]     |
[INFO] [stdout] 149 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 1, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/public_proposals.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 2, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/public_proposals.rs:151:30
[INFO] [stdout]     |
[INFO] [stdout] 151 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), 2, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/scheduling.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(Democracy::lowest_unbaked(), 0);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |         assert_eq!(Democracy::lowest_unbaked(), 1);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/scheduling.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/scheduling.rs:50:30
[INFO] [stdout]    |
[INFO] [stdout] 50 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, nay(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/scheduling.rs:56:14
[INFO] [stdout]    |
[INFO] [stdout] 56 |         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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let r1 = Democracy::inject_referendum(
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let r2 = Democracy::inject_referendum(
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:76:14
[INFO] [stdout]    |
[INFO] [stdout] 76 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/scheduling.rs:76:30
[INFO] [stdout]    |
[INFO] [stdout] 76 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/scheduling.rs:81:30
[INFO] [stdout]    |
[INFO] [stdout] 81 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(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/scheduling.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]   --> src/tests/scheduling.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/scheduling.rs:95:11
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let r = Democracy::inject_referendum(
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:101:30
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:102:30
[INFO] [stdout]     |
[INFO] [stdout] 102 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, aye(2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:103:30
[INFO] [stdout]     |
[INFO] [stdout] 103 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, aye(3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:104:14
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(4)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:104:30
[INFO] [stdout]     |
[INFO] [stdout] 104 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, aye(4)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:105:30
[INFO] [stdout]     |
[INFO] [stdout] 105 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, aye(5)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:106:14
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, aye(6)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:106:30
[INFO] [stdout]     |
[INFO] [stdout] 106 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, aye(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/scheduling.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/scheduling.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let r1 = Democracy::inject_referendum(
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let r2 = Democracy::inject_referendum(
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let r3 = Democracy::inject_referendum(
[INFO] [stdout]     |                  ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:139:30
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r1, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:140:14
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r2, aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:142:14
[INFO] [stdout]     |
[INFO] [stdout] 142 |         assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r3.into()));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/scheduling.rs:142:43
[INFO] [stdout]     |
[INFO] [stdout] 142 |         assert_ok!(Democracy::cancel_referendum(RuntimeOrigin::root(), r3.into()));
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:143:14
[INFO] [stdout]     |
[INFO] [stdout] 143 |         assert_eq!(Democracy::lowest_unbaked(), 0);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         assert_eq!(Democracy::lowest_unbaked(), 0);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:151:14
[INFO] [stdout]     |
[INFO] [stdout] 151 |         assert_eq!(Democracy::lowest_unbaked(), 3);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 |         assert_eq!(Democracy::lowest_unbaked(), Democracy::referendum_count());
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/scheduling.rs:152:43
[INFO] [stdout]     |
[INFO] [stdout] 152 |         assert_eq!(Democracy::lowest_unbaked(), Democracy::referendum_count());
[INFO] [stdout]     |                                                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/scheduling.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/scheduling.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Democracy::vote(RuntimeOrigin::signed(1), r, aye(2)),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Democracy::vote(RuntimeOrigin::signed(1), r, aye(2)),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Democracy::vote(RuntimeOrigin::signed(5), r, v),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Democracy::vote(RuntimeOrigin::signed(5), r, v),
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:43:30
[INFO] [stdout]    |
[INFO] [stdout] 43 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, v));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:55:37
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert_ok!(Democracy::remove_vote(RuntimeOrigin::signed(5), r));
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(5), 5));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:57:32
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert_ok!(Democracy::unlock(RuntimeOrigin::signed(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/voting.rs:58:14
[INFO] [stdout]    |
[INFO] [stdout] 58 |         assert_eq!(Balances::locks(5), vec![]);
[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 `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:68:11
[INFO] [stdout]    |
[INFO] [stdout] 68 |         assert!(Democracy::referendum_info(r).is_none());
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]   --> src/tests/voting.rs:72:30
[INFO] [stdout]    |
[INFO] [stdout] 72 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, aye(1)));
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |         assert_eq!(Democracy::referendum_count(), 1);
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 |             Democracy::referendum_status(0),
[INFO] [stdout]    |             ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |         assert_ok!(Democracy::referendum_status(0));
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]   --> src/tests/voting.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |         assert_noop!(Democracy::referendum_status(0), Error::<Test>::ReferendumInvalid);
[INFO] [stdout]    |                      ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:107:11
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, big_aye(1)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:114:30
[INFO] [stdout]     |
[INFO] [stdout] 114 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(1), r, big_aye(1)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, big_nay(2)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:115:30
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(2), r, big_nay(2)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, big_nay(3)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:116:30
[INFO] [stdout]     |
[INFO] [stdout] 116 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(3), r, big_nay(3)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:117:30
[INFO] [stdout]     |
[INFO] [stdout] 117 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:118:30
[INFO] [stdout]     |
[INFO] [stdout] 118 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:119:30
[INFO] [stdout]     |
[INFO] [stdout] 119 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(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/voting.rs:126:14
[INFO] [stdout]     |
[INFO] [stdout] 126 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:133:11
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:139:30
[INFO] [stdout]     |
[INFO] [stdout] 139 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:140:14
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(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/voting.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |         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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 |         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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests/voting.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |         assert_eq!(Balances::total_issuance(), 210);
[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 `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:157:11
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let r = Democracy::inject_referendum(
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:163:14
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:163:30
[INFO] [stdout]     |
[INFO] [stdout] 163 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(4), r, big_aye(4)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:164:30
[INFO] [stdout]     |
[INFO] [stdout] 164 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(5), r, big_nay(5)));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests/voting.rs:165:14
[INFO] [stdout]     |
[INFO] [stdout] 165 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(6)));
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests/voting.rs:165:30
[INFO] [stdout]     |
[INFO] [stdout] 165 |         assert_ok!(Democracy::vote(RuntimeOrigin::signed(6), r, big_aye(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/voting.rs:170:14
[INFO] [stdout]     |
[INFO] [stdout] 170 |         assert_eq!(Balances::free_balance(42), 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[E0433]: failed to resolve: use of undeclared type `RuntimeCall`
[INFO] [stdout]   --> src/tests.rs:70:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |         !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }))
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/tests.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |     type AccountData = pallet_balances::AccountData<u64>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-democracy` (lib test) due to 761 previous errors; 4 warnings emitted
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_preimage`
[INFO] [stdout]    --> src/tests.rs:109:6
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl pallet_preimage::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_scheduler`
[INFO] [stdout]    --> src/tests.rs:117:6
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl pallet_scheduler::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:130:6
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 169 |     type Currency = pallet_balances::Pallet<Self>;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/tests.rs:201:2
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests.rs:217:14
[INFO] [stdout]     |
[INFO] [stdout] 217 |         assert_eq!(Democracy::referendum_count(), 0);
[INFO] [stdout]     |                    ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:218:14
[INFO] [stdout]     |
[INFO] [stdout] 218 |         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[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:219:14
[INFO] [stdout]     |
[INFO] [stdout] 219 |         assert_eq!(Balances::total_issuance(), 210);
[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:225:14
[INFO] [stdout]     |
[INFO] [stdout] 225 |     let outer = RuntimeCall::Balances(inner);
[INFO] [stdout]     |                 ^^^^^^^^^^^ use of undeclared type `RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage`
[INFO] [stdout]    --> src/tests.rs:226:2
[INFO] [stdout]     |
[INFO] [stdout] 226 |     Preimage::bound(outer).unwrap()
[INFO] [stdout]     |     ^^^^^^^^ use of undeclared type `Preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage`
[INFO] [stdout]    --> src/tests.rs:232:14
[INFO] [stdout]     |
[INFO] [stdout] 232 |         let call = Preimage::realize(&set_balance_proposal(i)).unwrap().0;
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests.rs:238:2
[INFO] [stdout]     |
[INFO] [stdout] 238 |     Democracy::propose(RuntimeOrigin::signed(who), set_balance_proposal(value), delay)
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:238:21
[INFO] [stdout]     |
[INFO] [stdout] 238 |     Democracy::propose(RuntimeOrigin::signed(who), set_balance_proposal(value), delay)
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheduler`
[INFO] [stdout]    --> src/tests.rs:243:2
[INFO] [stdout]     |
[INFO] [stdout] 243 |     Scheduler::on_initialize(System::block_number());
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared type `Scheduler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Democracy`
[INFO] [stdout]    --> src/tests.rs:244:2
[INFO] [stdout]     |
[INFO] [stdout] 244 |     Democracy::begin_block(System::block_number());
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:261:46
[INFO] [stdout]     |
[INFO] [stdout] 261 |     AccountVote::Standard { vote: AYE, balance: Balances::free_balance(&who) }
[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:265:46
[INFO] [stdout]     |
[INFO] [stdout] 265 |     AccountVote::Standard { vote: NAY, balance: Balances::free_balance(&who) }
[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:269:50
[INFO] [stdout]     |
[INFO] [stdout] 269 |     AccountVote::Standard { vote: BIG_AYE, balance: Balances::free_balance(&who) }
[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:273:50
[INFO] [stdout]     |
[INFO] [stdout] 273 |     AccountVote::Standard { vote: BIG_NAY, balance: Balances::free_balance(&who) }
[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 `Democracy`
[INFO] [stdout]    --> src/tests.rs:277:2
[INFO] [stdout]     |
[INFO] [stdout] 277 |     Democracy::referendum_status(r).unwrap().tally
[INFO] [stdout]     |     ^^^^^^^^^ use of undeclared type `Democracy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage`
[INFO] [stdout]    --> src/tests.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |     assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(who), data.clone()));
[INFO] [stdout]     |                ^^^^^^^^ use of undeclared type `Preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:286:37
[INFO] [stdout]     |
[INFO] [stdout] 286 |     assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(who), data.clone()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage`
[INFO] [stdout]    --> src/tests.rs:288:11
[INFO] [stdout]     |
[INFO] [stdout] 288 |     assert!(!Preimage::is_requested(&hash));
[INFO] [stdout]     |              ^^^^^^^^ use of undeclared type `Preimage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 760 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f3853fb01415e5c5f29d44d2bfc1a201f4027fc69aa9d60a3e50314b4a87e611", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3853fb01415e5c5f29d44d2bfc1a201f4027fc69aa9d60a3e50314b4a87e611", kill_on_drop: false }`
[INFO] [stdout] f3853fb01415e5c5f29d44d2bfc1a201f4027fc69aa9d60a3e50314b4a87e611
