[INFO] fetching crate pallet-democracy 42.0.0... [INFO] checking pallet-democracy-42.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-democracy 42.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pallet-democracy 42.0.0 [INFO] finished tweaking crates.io crate pallet-democracy 42.0.0 [INFO] tweaked toml for crates.io crate pallet-democracy 42.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-democracy 42.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-democracy 42.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-weights v33.0.0 [INFO] [stderr] Downloaded docify v0.2.9 [INFO] [stderr] Downloaded docify_macros v0.2.9 [INFO] [stderr] Downloaded linregress v0.5.2 [INFO] [stderr] Downloaded sp-arithmetic v28.0.0 [INFO] [stderr] Downloaded jam-codec-derive v0.1.0 [INFO] [stderr] Downloaded trie-root v0.18.0 [INFO] [stderr] Downloaded bounded-collections v0.3.2 [INFO] [stderr] Downloaded derive-syn-parse v0.2.0 [INFO] [stderr] Downloaded sp-debug-derive v14.0.0 [INFO] [stderr] Downloaded substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Downloaded substrate-bip39 v0.6.0 [INFO] [stderr] Downloaded getrandom_or_panic v0.0.3 [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] [stderr] Downloaded ark-bls12-377 v0.4.0 [INFO] [stderr] Downloaded environmental v1.1.4 [INFO] [stderr] Downloaded sp-externalities v0.30.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] [stderr] Downloaded wide v0.7.11 [INFO] [stderr] Downloaded lock_api v0.4.10 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.0 [INFO] [stderr] Downloaded schnorrkel v0.11.4 [INFO] [stderr] Downloaded atomic-waker v1.1.1 [INFO] [stderr] Downloaded frame-benchmarking v42.0.0 [INFO] [stderr] Downloaded winnow v0.5.15 [INFO] [stderr] Downloaded sp-state-machine v0.47.0 [INFO] [stderr] Downloaded frame-metadata v23.0.0 [INFO] [stderr] Downloaded crypto-bigint v0.5.2 [INFO] [stderr] Downloaded ark-bls12-381 v0.4.0 [INFO] [stderr] Downloaded prometheus v0.13.3 [INFO] [stderr] Downloaded cc v1.1.24 [INFO] [stderr] Downloaded ark-vrf v0.1.0 [INFO] [stderr] Downloaded sp-trie v41.0.0 [INFO] [stderr] Downloaded aho-corasick v1.0.4 [INFO] [stderr] Downloaded sp-runtime v43.0.0 [INFO] [stderr] Downloaded nalgebra v0.32.3 [INFO] [stderr] Downloaded frame-system v42.0.0 [INFO] [stderr] Downloaded jam-codec v0.1.0 [INFO] [stderr] Downloaded frame-support v42.0.0 [INFO] [stderr] Downloaded parity-bip39 v2.0.1 [INFO] [stderr] Downloaded sp-core v38.0.0 [INFO] [stderr] Downloaded frame-support-procedural v35.0.0 [INFO] [stderr] Downloaded trie-db v0.30.0 [INFO] [stderr] Downloaded include_dir_macros v0.7.3 [INFO] [stderr] Downloaded include_dir v0.7.3 [INFO] [stderr] Downloaded cfg-expr v0.15.5 [INFO] [stderr] Downloaded frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Downloaded frame-support-procedural-tools v13.0.1 [INFO] [stderr] Downloaded const-random-macro v0.1.15 [INFO] [stderr] Downloaded const-random v0.1.15 [INFO] [stderr] Downloaded macro_magic_core_macros v0.5.1 [INFO] [stderr] Downloaded macro_magic_core v0.5.1 [INFO] [stderr] Downloaded macro_magic_macros v0.5.1 [INFO] [stderr] Downloaded macro_magic v0.5.1 [INFO] [stderr] Downloaded sp-api-proc-macro v24.0.0 [INFO] [stderr] Downloaded sp-api v38.0.0 [INFO] [stderr] Downloaded sp-genesis-builder v0.19.0 [INFO] [stderr] Downloaded sp-inherents v38.0.0 [INFO] [stderr] Downloaded sp-metadata-ir v0.12.0 [INFO] [stderr] Downloaded sp-staking v40.0.0 [INFO] [stderr] Downloaded tt-call v1.0.9 [INFO] [stderr] Downloaded sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Downloaded proc-macro-warning v1.0.0 [INFO] [stderr] Downloaded sp-version-proc-macro v15.0.0 [INFO] [stderr] Downloaded sp-version v41.0.0 [INFO] [stderr] Downloaded binary-merkle-tree v16.0.0 [INFO] [stderr] Downloaded simple-mermaid v0.1.1 [INFO] [stderr] Downloaded sp-application-crypto v42.0.0 [INFO] [stderr] Downloaded sp-keystore v0.44.0 [INFO] [stderr] Downloaded sp-panic-handler v13.0.2 [INFO] [stderr] Downloaded sp-io v42.0.0 [INFO] [stderr] Downloaded memory-db v0.34.0 [INFO] [stderr] Downloaded schnellru v0.2.3 [INFO] [stderr] Downloaded ark-ed-on-bls12-381-bandersnatch v0.5.0 [INFO] [stderr] Downloaded ark-transcript v0.0.3 [INFO] [stderr] Downloaded w3f-pcs v0.0.2 [INFO] [stderr] Downloaded w3f-plonk-common v0.0.2 [INFO] [stderr] Downloaded w3f-ring-proof v0.0.2 [INFO] [stderr] Downloaded array-bytes v6.2.2 [INFO] [stderr] Downloaded ed25519 v2.2.2 [INFO] [stderr] Downloaded ed25519-zebra v4.0.3 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded sp-crypto-hashing v0.1.0 [INFO] [stderr] Downloaded polkavm-common v0.26.0 [INFO] [stderr] Downloaded polkavm-derive-impl v0.26.0 [INFO] [stderr] Downloaded polkavm-derive-impl-macro v0.26.0 [INFO] [stderr] Downloaded polkavm-derive v0.26.0 [INFO] [stderr] Downloaded file-guard v0.2.0 [INFO] [stderr] Downloaded fs-err v2.9.0 [INFO] [stderr] Downloaded prettyplease v0.2.12 [INFO] [stderr] Downloaded expander v2.2.1 [INFO] [stderr] Downloaded sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Downloaded sp-tracing v18.0.0 [INFO] [stderr] Downloaded sp-wasm-interface v23.0.0 [INFO] [stderr] Downloaded sp-runtime-interface v31.0.0 [INFO] [stderr] Downloaded sp-std v14.0.0 [INFO] [stderr] Downloaded ss58-registry v1.43.0 [INFO] [stderr] Downloaded w3f-bls v0.1.9 [INFO] [stderr] Downloaded sp-storage v22.0.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.8 [INFO] [stderr] Downloaded hash-db v0.16.0 [INFO] [stderr] Downloaded common-path v1.0.0 [INFO] [stderr] Downloaded hash256-std-hasher v0.15.2 [INFO] [stderr] Downloaded aquamarine v0.5.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bef020ed55e8922d350075f9c2555d449977959efe1ec831843aa9ba9386cc0 [INFO] running `Command { std: "docker" "start" "-a" "3bef020ed55e8922d350075f9c2555d449977959efe1ec831843aa9ba9386cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bef020ed55e8922d350075f9c2555d449977959efe1ec831843aa9ba9386cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bef020ed55e8922d350075f9c2555d449977959efe1ec831843aa9ba9386cc0", kill_on_drop: false }` [INFO] [stdout] 3bef020ed55e8922d350075f9c2555d449977959efe1ec831843aa9ba9386cc0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e03187df964b7d16c8dd41445ec3c3ccbbf825fa0ca0a8179cb7a53b5b22246d [INFO] running `Command { std: "docker" "start" "-a" "e03187df964b7d16c8dd41445ec3c3ccbbf825fa0ca0a8179cb7a53b5b22246d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking pallet-democracy v42.0.0 (/opt/rustwide/workdir) [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 unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] --> src/tests.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | Scheduler: pallet_scheduler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(pallet_balances::Locks::::get(&i), vec![the_lock(i * 10)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(pallet_balances::Locks::::get(&1), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(pallet_balances::Locks::::get(&2), vec![the_lock(20)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(pallet_balances::Locks::::get(&3), vec![the_lock(30)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(pallet_balances::Locks::::get(&4), vec![the_lock(40)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(pallet_balances::Locks::::get(&4), vec![the_lock(40)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(pallet_balances::Locks::::get(&4), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(pallet_balances::Locks::::get(&3), vec![the_lock(30)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(pallet_balances::Locks::::get(&3), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(pallet_balances::Locks::::get(&2), vec![the_lock(20)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(pallet_balances::Locks::::get(&2), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(pallet_balances::Locks::::get(&1), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(50)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(20)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(20)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(10)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(10)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 227 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(50)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(20)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:250:14 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(20)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(10)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(10)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:279:11 [INFO] [stdout] | [INFO] [stdout] 279 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 20); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:308:11 [INFO] [stdout] | [INFO] [stdout] 308 | assert!(pallet_balances::Locks::::get(&5)[0].amount == 20); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:315:11 [INFO] [stdout] | [INFO] [stdout] 315 | assert!(pallet_balances::Locks::::get(&5)[0].amount == 20); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:319:11 [INFO] [stdout] | [INFO] [stdout] 319 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:323:11 [INFO] [stdout] | [INFO] [stdout] 323 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 350 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 20); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:354:11 [INFO] [stdout] | [INFO] [stdout] 354 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 10); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/voting.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] --> src/tests/voting.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(pallet_scheduler::Agenda::::get(6)[0].is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_scheduler`, use `cargo add pallet_scheduler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests/voting.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(pallet_balances::TotalIssuance::::get(), 210); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(pallet_balances::TotalIssuance::::get(), 210); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/cancellation.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(LowestUnbaked::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | fn cancel_referendum_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/cancellation.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(LowestUnbaked::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | fn cancel_referendum_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/cancellation.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(LowestUnbaked::::get(), ReferendumCount::::get()); [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 cancel_referendum_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/cancellation.rs:40:62 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(LowestUnbaked::::get(), ReferendumCount::::get()); [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 cancel_referendum_should_work() { [INFO] [stdout] | ++++++ [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/cancellation.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(ReferendumInfoOf::::get(r).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] 46 | fn emergency_cancel_should_work() { [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::::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() { [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::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/delegation.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | Error::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/delegation.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | assert_eq!(VotingOf::::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() { [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::::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() { [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::::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() { [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::::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() { [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::::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() { [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::::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() { [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::::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() { [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::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/external_proposing.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | assert!(NextExternal::::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() { [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:27 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(!NextExternal::::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() { [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::::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() { [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::::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() { [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:26 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(NextExternal::::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() { [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::::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() { [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:27 [INFO] [stdout] | [INFO] [stdout] 60 | assert!(!NextExternal::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/external_proposing.rs:84:57 [INFO] [stdout] | [INFO] [stdout] 84 | assert_noop!(Democracy::referendum_status(0), Error::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/external_proposing.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | Error::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/fast_tracking.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | Error::::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() { [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:24 [INFO] [stdout] | [INFO] [stdout] 36 | assert!(MetadataOf::::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() { [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:24 [INFO] [stdout] | [INFO] [stdout] 42 | assert!(MetadataOf::::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() { [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:24 [INFO] [stdout] | [INFO] [stdout] 56 | assert!(MetadataOf::::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() { [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:24 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(MetadataOf::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/fast_tracking.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | Error::::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() { [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::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/fast_tracking.rs:144:57 [INFO] [stdout] | [INFO] [stdout] 144 | assert_noop!(Democracy::referendum_status(0), Error::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/fast_tracking.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | Error::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(pallet_balances::Locks::::get(&i), vec![the_lock(i * 10)]); [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() { [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::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(pallet_balances::Locks::::get(&1), vec![]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(pallet_balances::Locks::::get(&2), vec![the_lock(20)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(pallet_balances::Locks::::get(&3), vec![the_lock(30)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(pallet_balances::Locks::::get(&4), vec![the_lock(40)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [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() { [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::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(pallet_balances::Locks::::get(&4), vec![the_lock(40)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(pallet_balances::Locks::::get(&4), vec![]); [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() { [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::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:107:39 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(pallet_balances::Locks::::get(&3), vec![the_lock(30)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(pallet_balances::Locks::::get(&3), vec![]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(pallet_balances::Locks::::get(&2), vec![the_lock(20)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(pallet_balances::Locks::::get(&2), vec![]); [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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(pallet_balances::Locks::::get(&1), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 124 | fn no_locks_without_conviction_should_work() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | Error::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:201:39 [INFO] [stdout] | [INFO] [stdout] 201 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(50)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(20)]); [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() { [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::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:212:39 [INFO] [stdout] | [INFO] [stdout] 212 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(20)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(10)]); [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() { [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::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:223:39 [INFO] [stdout] | [INFO] [stdout] 223 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(10)]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:227:39 [INFO] [stdout] | [INFO] [stdout] 227 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:242:39 [INFO] [stdout] | [INFO] [stdout] 242 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(50)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 232 | fn single_consolidation_of_lockvotes_should_work_as_before() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:245:39 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(20)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 232 | fn single_consolidation_of_lockvotes_should_work_as_before() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(20)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 232 | fn single_consolidation_of_lockvotes_should_work_as_before() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:253:39 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(10)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 232 | fn single_consolidation_of_lockvotes_should_work_as_before() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(pallet_balances::Locks::::get(&5), vec![the_lock(10)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 232 | fn single_consolidation_of_lockvotes_should_work_as_before() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 232 | fn single_consolidation_of_lockvotes_should_work_as_before() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn multi_consolidation_of_lockvotes_should_be_conservative() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:283:36 [INFO] [stdout] | [INFO] [stdout] 283 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn multi_consolidation_of_lockvotes_should_be_conservative() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 266 | fn multi_consolidation_of_lockvotes_should_be_conservative() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:308:36 [INFO] [stdout] | [INFO] [stdout] 308 | assert!(pallet_balances::Locks::::get(&5)[0].amount == 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 292 | fn locks_should_persist_from_voting_to_delegation() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:315:36 [INFO] [stdout] | [INFO] [stdout] 315 | assert!(pallet_balances::Locks::::get(&5)[0].amount == 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 292 | fn locks_should_persist_from_voting_to_delegation() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 292 | fn locks_should_persist_from_voting_to_delegation() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:323:36 [INFO] [stdout] | [INFO] [stdout] 323 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 292 | fn locks_should_persist_from_voting_to_delegation() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:327:39 [INFO] [stdout] | [INFO] [stdout] 327 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 292 | fn locks_should_persist_from_voting_to_delegation() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 20); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 332 | fn locks_should_persist_from_delegation_to_voting() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:354:36 [INFO] [stdout] | [INFO] [stdout] 354 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 332 | fn locks_should_persist_from_delegation_to_voting() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:358:36 [INFO] [stdout] | [INFO] [stdout] 358 | assert!(pallet_balances::Locks::::get(&5)[0].amount >= 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 332 | fn locks_should_persist_from_delegation_to_voting() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/lock_voting.rs:362:39 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 332 | fn locks_should_persist_from_delegation_to_voting() { [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: ::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::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/metadata.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | assert!(NextExternal::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/metadata.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(NextExternal::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/metadata.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let invalid_hash: ::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:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | let owner = MetadataOwner::Proposal(PublicPropCount::::get() - 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 83 | fn set_proposal_metadata_works() { [INFO] [stdout] | ++++++ [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::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/metadata.rs:118:57 [INFO] [stdout] | [INFO] [stdout] 118 | let owner = MetadataOwner::Proposal(PublicPropCount::::get() - 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 113 | fn clear_proposal_metadata_works() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/metadata.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | Error::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/metadata.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | MetadataOf::::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() { [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::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/public_proposals.rs:66:54 [INFO] [stdout] | [INFO] [stdout] 66 | assert_noop!(propose_set_balance(1, 2, 0), Error::::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() { [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::::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() { [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::::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() { [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:24 [INFO] [stdout] | [INFO] [stdout] 100 | assert!(MetadataOf::::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() { [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:24 [INFO] [stdout] | [INFO] [stdout] 103 | assert!(MetadataOf::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests/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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/public_proposals.rs:128:54 [INFO] [stdout] | [INFO] [stdout] 128 | assert_noop!(propose_set_balance(1, 2, 2), Error::::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() { [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::::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() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/scheduling.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(LowestUnbaked::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | fn simple_passing_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/scheduling.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(LowestUnbaked::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | fn simple_passing_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/scheduling.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(LowestUnbaked::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 119 | fn lowest_unbaked_should_be_sensible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/scheduling.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!(LowestUnbaked::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 119 | fn lowest_unbaked_should_be_sensible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/scheduling.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(LowestUnbaked::::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 119 | fn lowest_unbaked_should_be_sensible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/scheduling.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(LowestUnbaked::::get(), ReferendumCount::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 119 | fn lowest_unbaked_should_be_sensible() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/scheduling.rs:152:62 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(LowestUnbaked::::get(), ReferendumCount::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 119 | fn lowest_unbaked_should_be_sensible() { [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::::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() { [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::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/voting.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(pallet_balances::Locks::::get(&5), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 50 | fn split_vote_cancellation_should_work() { [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 this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/voting.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | assert!(ReferendumInfoOf::::get(r).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] 63 | fn single_proposal_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/voting.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(ReferendumCount::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | fn single_proposal_should_work() { [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::::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() { [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::::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() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests/voting.rs:155:47 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(pallet_balances::TotalIssuance::::get(), 210); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 152 | fn passing_low_turnout_voting_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 52 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | impl Contains 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] 67 | impl Contains for BaseFilter { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | fn contains(call: &RuntimeCall) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 20 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] 69 + !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:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | 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:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | 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:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / type BalanceOf = [INFO] [stdout] 201 | | <::Currency as Currency<::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:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | 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:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | 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:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | 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:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | 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:109:50 [INFO] [stdout] | [INFO] [stdout] 109 | type BlockNumberProvider = frame_system::Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 98 | impl pallet_scheduler::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | 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:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 138 | 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:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | type Scheduler = Scheduler; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 161 | 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:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | 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:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | 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:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | pub fn new_test_ext() -> 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:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | pub fn new_test_ext() -> 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:177:36 [INFO] [stdout] | [INFO] [stdout] 177 | pallet_democracy::GenesisConfig::::default() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | pub fn new_test_ext() -> 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:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | assert_eq!(ReferendumCount::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 186 | fn params_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:190:47 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(pallet_balances::TotalIssuance::::get(), 210); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 186 | fn params_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:194:54 [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_proposal(value: u64) -> BoundedCallOf { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 194 | fn set_balance_proposal(value: u64) -> BoundedCallOf { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | let inner = pallet_balances::Call::force_set_balance { who: 42, new_free: value }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 20 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 195 - let inner = pallet_balances::Call::force_set_balance { who: 42, new_free: value }; [INFO] [stdout] 195 + 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:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | assert!(!::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:213:2 [INFO] [stdout] | [INFO] [stdout] 213 | System::set_block_number(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 213 | System::set_block_number(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | Scheduler::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | Democracy::begin_block(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | while System::block_number() < n { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:225:2 [INFO] [stdout] | [INFO] [stdout] 225 | System::set_block_number(0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | fn note_preimage(who: u64) -> ::Hash { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OnInitialize` and `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] = note: `#[warn(unused_imports)]` on by default [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 `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: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::::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::::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 `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: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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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: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: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::::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 `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 `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 `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: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::::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] [stderr] error: could not compile `pallet-democracy` (lib test) due to 799 previous errors; 1 warning emitted [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 `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:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_preimage` [INFO] [stdout] --> src/tests.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | impl pallet_preimage::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_preimage` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_preimage`, use `cargo add pallet_preimage` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] --> src/tests.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | impl pallet_scheduler::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_scheduler`, use `cargo add pallet_scheduler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:171:2 [INFO] [stdout] | [INFO] [stdout] 171 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | 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 `RuntimeCall` [INFO] [stdout] --> src/tests.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | 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:197:2 [INFO] [stdout] | [INFO] [stdout] 197 | 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:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | 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:209:2 [INFO] [stdout] | [INFO] [stdout] 209 | 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:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | 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:214:2 [INFO] [stdout] | [INFO] [stdout] 214 | 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:215:2 [INFO] [stdout] | [INFO] [stdout] 215 | 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:232:46 [INFO] [stdout] | [INFO] [stdout] 232 | 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:236:46 [INFO] [stdout] | [INFO] [stdout] 236 | 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:240:50 [INFO] [stdout] | [INFO] [stdout] 240 | 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:244:50 [INFO] [stdout] | [INFO] [stdout] 244 | 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:248:2 [INFO] [stdout] | [INFO] [stdout] 248 | 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:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | 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:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | 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:259:11 [INFO] [stdout] | [INFO] [stdout] 259 | assert!(!Preimage::is_requested(&hash)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [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" "e03187df964b7d16c8dd41445ec3c3ccbbf825fa0ca0a8179cb7a53b5b22246d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03187df964b7d16c8dd41445ec3c3ccbbf825fa0ca0a8179cb7a53b5b22246d", kill_on_drop: false }` [INFO] [stdout] e03187df964b7d16c8dd41445ec3c3ccbbf825fa0ca0a8179cb7a53b5b22246d