[INFO] fetching crate pallet-conviction-voting 40.1.0... [INFO] testing pallet-conviction-voting-40.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pallet-conviction-voting 40.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate pallet-conviction-voting 40.1.0 [INFO] finished tweaking crates.io crate pallet-conviction-voting 40.1.0 [INFO] tweaked toml for crates.io crate pallet-conviction-voting 40.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-conviction-voting 40.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 358 packages to latest compatible versions [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded frame-benchmarking v40.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d1ad77db95ae0777fffc9d82f2e1f9243bf0335d87b35e8018c15327cb5aeae [INFO] running `Command { std: "docker" "start" "-a" "2d1ad77db95ae0777fffc9d82f2e1f9243bf0335d87b35e8018c15327cb5aeae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d1ad77db95ae0777fffc9d82f2e1f9243bf0335d87b35e8018c15327cb5aeae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1ad77db95ae0777fffc9d82f2e1f9243bf0335d87b35e8018c15327cb5aeae", kill_on_drop: false }` [INFO] [stdout] 2d1ad77db95ae0777fffc9d82f2e1f9243bf0335d87b35e8018c15327cb5aeae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a00f3b0a5e05112a9da9ed62148d3094add2bdd08d8c86c9af8fc0621c88e69b [INFO] running `Command { std: "docker" "start" "-a" "a00f3b0a5e05112a9da9ed62148d3094add2bdd08d8c86c9af8fc0621c88e69b", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [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 ff v0.13.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling assert_matches v1.5.0 [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 derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [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 sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling frame-metadata v20.0.0 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-metadata-ir v0.10.0 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling sp-application-crypto v40.1.0 [INFO] [stderr] Compiling sp-runtime v41.1.0 [INFO] [stderr] Compiling sp-version v39.0.0 [INFO] [stderr] Compiling sp-staking v38.0.0 [INFO] [stderr] Compiling sp-inherents v36.0.0 [INFO] [stderr] Compiling sp-api v36.0.1 [INFO] [stderr] Compiling sp-genesis-builder v0.17.0 [INFO] [stderr] Compiling frame-support v40.1.0 [INFO] [stderr] Compiling frame-system v40.1.0 [INFO] [stderr] Compiling pallet-conviction-voting v40.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a00f3b0a5e05112a9da9ed62148d3094add2bdd08d8c86c9af8fc0621c88e69b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00f3b0a5e05112a9da9ed62148d3094add2bdd08d8c86c9af8fc0621c88e69b", kill_on_drop: false }` [INFO] [stdout] a00f3b0a5e05112a9da9ed62148d3094add2bdd08d8c86c9af8fc0621c88e69b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bd9d9c9361b44c33d5815145d17f92acfab8abbab3598810ffdba2c6444dae6a [INFO] running `Command { std: "docker" "start" "-a" "bd9d9c9361b44c33d5815145d17f92acfab8abbab3598810ffdba2c6444dae6a", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-conviction-voting v40.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Balances: pallet_balances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(pallet_balances::TotalIssuance::::get(), 210); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:258:36 [INFO] [stdout] | [INFO] [stdout] 258 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:268:36 [INFO] [stdout] | [INFO] [stdout] 268 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:286:36 [INFO] [stdout] | [INFO] [stdout] 286 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteUnlocked { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:298:36 [INFO] [stdout] | [INFO] [stdout] 298 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:313:36 [INFO] [stdout] | [INFO] [stdout] 313 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:320:36 [INFO] [stdout] | [INFO] [stdout] 320 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteUnlocked { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:332:36 [INFO] [stdout] | [INFO] [stdout] 332 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:339:36 [INFO] [stdout] | [INFO] [stdout] 339 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:346:36 [INFO] [stdout] | [INFO] [stdout] 346 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:356:36 [INFO] [stdout] | [INFO] [stdout] 356 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:363:36 [INFO] [stdout] | [INFO] [stdout] 363 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:31:47 [INFO] [stdout] | [INFO] [stdout] 31 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 31 | type Block = 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:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 44 | 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:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | fn contains(call: &RuntimeCall) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 20 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] 46 + !matches!(call, &RuntimeCall::Balances(Call::force_set_balance { .. })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/tests.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | Ongoing(TallyOf, u8), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | pub enum TestPollState { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | Ongoing(TallyOf, u8), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 63 | pub enum TestPollState { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | impl Polling> for TestPolls { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | impl Polling> for TestPolls { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn as_ongoing(index: u8) -> Option<(TallyOf, Self::Class)> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | impl Polling> for TestPolls { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | f: impl FnOnce(PollStatus<&mut TallyOf, u64, u8>) -> R, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | impl Polling> for TestPolls { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | f: impl FnOnce(PollStatus<&mut TallyOf, u64, u8>) -> Result, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 78 | impl Polling> for TestPolls { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 150 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:155:59 [INFO] [stdout] | [INFO] [stdout] 155 | type MaxTurnout = frame_support::traits::TotalIssuanceOf; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / pub type BalanceOf = [INFO] [stdout] 74 | | <>::Currency as Currency<::AccountId>>::Balance; [INFO] [stdout] | |______________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 155 - type MaxTurnout = frame_support::traits::TotalIssuanceOf; [INFO] [stdout] 155 + type MaxTurnout = frame_support::traits::TotalIssuanceOf; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 149 | impl Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | type BlockNumberProvider = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:162:44 [INFO] [stdout] | [INFO] [stdout] 162 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:178:47 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(pallet_balances::TotalIssuance::::get(), 210); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 175 | fn params_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:183:2 [INFO] [stdout] | [INFO] [stdout] 183 | System::set_block_number(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | System::set_block_number(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | while System::block_number() < n { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | fn tally(index: u8) -> TallyOf { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 211 | fn tally(index: u8) -> TallyOf { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:212:32 [INFO] [stdout] | [INFO] [stdout] 212 | >>::as_ongoing(index).expect("No poll").0 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 211 | fn tally(index: u8) -> TallyOf { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | >>::as_ongoing(index).expect("No poll").1 [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 215 | fn class(index: u8) -> u8 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:250:3 [INFO] [stdout] | [INFO] [stdout] 250 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:258:3 [INFO] [stdout] | [INFO] [stdout] 258 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:279:3 [INFO] [stdout] | [INFO] [stdout] 279 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:286:3 [INFO] [stdout] | [INFO] [stdout] 286 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteUnlocked { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:298:3 [INFO] [stdout] | [INFO] [stdout] 298 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:305:3 [INFO] [stdout] | [INFO] [stdout] 305 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:313:3 [INFO] [stdout] | [INFO] [stdout] 313 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:320:3 [INFO] [stdout] | [INFO] [stdout] 320 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteUnlocked { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:332:3 [INFO] [stdout] | [INFO] [stdout] 332 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:339:3 [INFO] [stdout] | [INFO] [stdout] 339 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:346:3 [INFO] [stdout] | [INFO] [stdout] 346 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::Voted { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:356:3 [INFO] [stdout] | [INFO] [stdout] 356 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:363:3 [INFO] [stdout] | [INFO] [stdout] 363 | System::assert_last_event(tests::RuntimeEvent::Voting(Event::VoteRemoved { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:815:12 [INFO] [stdout] | [INFO] [stdout] 815 | Error::::NotOngoing [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn errors_with_vote_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:819:12 [INFO] [stdout] | [INFO] [stdout] 819 | Error::::NotOngoing [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn errors_with_vote_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:823:12 [INFO] [stdout] | [INFO] [stdout] 823 | Error::::NotOngoing [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn errors_with_vote_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:827:12 [INFO] [stdout] | [INFO] [stdout] 827 | Error::::InsufficientFunds [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn errors_with_vote_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:833:12 [INFO] [stdout] | [INFO] [stdout] 833 | Error::::AlreadyDelegating [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn errors_with_vote_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:852:12 [INFO] [stdout] | [INFO] [stdout] 852 | Error::::MaxVotesReached [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 811 | fn errors_with_vote_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 862 | 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] 858 | fn errors_with_delegating_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:866:12 [INFO] [stdout] | [INFO] [stdout] 866 | Error::::BadClass [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 858 | fn errors_with_delegating_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:872:12 [INFO] [stdout] | [INFO] [stdout] 872 | Error::::AlreadyVoting [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 858 | fn errors_with_delegating_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:875:73 [INFO] [stdout] | [INFO] [stdout] 875 | assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::::NotDelegating); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 858 | fn errors_with_delegating_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:884:12 [INFO] [stdout] | [INFO] [stdout] 884 | Error::::NotVoter [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 880 | fn remove_other_vote_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:889:12 [INFO] [stdout] | [INFO] [stdout] 889 | 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] 880 | fn remove_other_vote_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:895:12 [INFO] [stdout] | [INFO] [stdout] 895 | Error::::NoPermissionYet [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 880 | fn remove_other_vote_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:907:12 [INFO] [stdout] | [INFO] [stdout] 907 | Error::::NotVoter [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 903 | fn errors_with_remove_vote_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:913:12 [INFO] [stdout] | [INFO] [stdout] 913 | Error::::ClassNeeded [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 903 | fn errors_with_remove_vote_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | assert_eq!(Balances::free_balance(42), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 249 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:255:14 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(Balances::usable_balance(1), 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:263:22 [INFO] [stdout] | [INFO] [stdout] 263 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:274:27 [INFO] [stdout] | [INFO] [stdout] 274 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 278 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:285:22 [INFO] [stdout] | [INFO] [stdout] 285 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:304:22 [INFO] [stdout] | [INFO] [stdout] 304 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(5, 5))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(5, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 312 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:312:34 [INFO] [stdout] | [INFO] [stdout] 312 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:324:14 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split_abstain(0, 0, 10))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split_abstain(0, 0, 10))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:338:22 [INFO] [stdout] | [INFO] [stdout] 338 | assert_ok!(Voting::vote(RuntimeOrigin::signed(6), 3, split_abstain(10, 0, 20))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | assert_ok!(Voting::vote(RuntimeOrigin::signed(6), 3, split_abstain(10, 0, 20))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:345:22 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(Voting::vote(RuntimeOrigin::signed(6), 3, split_abstain(0, 0, 40))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:345:27 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(Voting::vote(RuntimeOrigin::signed(6), 3, split_abstain(0, 0, 40))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:353:14 [INFO] [stdout] | [INFO] [stdout] 353 | assert_eq!(Balances::usable_balance(6), 20); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:355:22 [INFO] [stdout] | [INFO] [stdout] 355 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:355:34 [INFO] [stdout] | [INFO] [stdout] 355 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:362:22 [INFO] [stdout] | [INFO] [stdout] 362 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(6), Some(class(3)), 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:362:34 [INFO] [stdout] | [INFO] [stdout] 362 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(6), Some(class(3)), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:369:22 [INFO] [stdout] | [INFO] [stdout] 369 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:369:29 [INFO] [stdout] | [INFO] [stdout] 369 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:372:22 [INFO] [stdout] | [INFO] [stdout] 372 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(6), class(3), 6)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:372:29 [INFO] [stdout] | [INFO] [stdout] 372 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(6), class(3), 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | assert_eq!(Balances::usable_balance(6), 60); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:380:22 [INFO] [stdout] | [INFO] [stdout] 380 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:380:27 [INFO] [stdout] | [INFO] [stdout] 380 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:382:27 [INFO] [stdout] | [INFO] [stdout] 382 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(Balances::usable_balance(1), 8); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 386 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:388:22 [INFO] [stdout] | [INFO] [stdout] 388 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:388:27 [INFO] [stdout] | [INFO] [stdout] 388 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:390:14 [INFO] [stdout] | [INFO] [stdout] 390 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:392:22 [INFO] [stdout] | [INFO] [stdout] 392 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:392:27 [INFO] [stdout] | [INFO] [stdout] 392 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:394:27 [INFO] [stdout] | [INFO] [stdout] 394 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:398:34 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:401:22 [INFO] [stdout] | [INFO] [stdout] 401 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:401:29 [INFO] [stdout] | [INFO] [stdout] 401 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:409:22 [INFO] [stdout] | [INFO] [stdout] 409 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:410:22 [INFO] [stdout] | [INFO] [stdout] 410 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:410:27 [INFO] [stdout] | [INFO] [stdout] 410 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:413:22 [INFO] [stdout] | [INFO] [stdout] 413 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:413:34 [INFO] [stdout] | [INFO] [stdout] 413 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:414:22 [INFO] [stdout] | [INFO] [stdout] 414 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), c, 2)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:414:29 [INFO] [stdout] | [INFO] [stdout] 414 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), c, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | assert_eq!(Balances::usable_balance(2), 20); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:422:22 [INFO] [stdout] | [INFO] [stdout] 422 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:423:22 [INFO] [stdout] | [INFO] [stdout] 423 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:423:27 [INFO] [stdout] | [INFO] [stdout] 423 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:426:34 [INFO] [stdout] | [INFO] [stdout] 426 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:427:22 [INFO] [stdout] | [INFO] [stdout] 427 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:428:14 [INFO] [stdout] | [INFO] [stdout] 428 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | assert_ok!(Voting::vote(RuntimeOrigin::signed(i), 3, aye(10, i as u8))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:436:28 [INFO] [stdout] | [INFO] [stdout] 436 | assert_ok!(Voting::vote(RuntimeOrigin::signed(i), 3, aye(10, i as u8))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(i), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:441:35 [INFO] [stdout] | [INFO] [stdout] 441 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(i), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(i), c, i)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:446:31 [INFO] [stdout] | [INFO] [stdout] 446 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(i), c, i)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | assert_eq!(Balances::usable_balance(i), i * 10 - if expired { 0 } else { 10 }); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:467:22 [INFO] [stdout] | [INFO] [stdout] 467 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:467:31 [INFO] [stdout] | [INFO] [stdout] 467 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:468:22 [INFO] [stdout] | [INFO] [stdout] 468 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:469:22 [INFO] [stdout] | [INFO] [stdout] 469 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:469:31 [INFO] [stdout] | [INFO] [stdout] 469 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:470:14 [INFO] [stdout] | [INFO] [stdout] 470 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:472:22 [INFO] [stdout] | [INFO] [stdout] 472 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:472:27 [INFO] [stdout] | [INFO] [stdout] 472 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:473:22 [INFO] [stdout] | [INFO] [stdout] 473 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 1, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:473:27 [INFO] [stdout] | [INFO] [stdout] 473 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 1, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:474:22 [INFO] [stdout] | [INFO] [stdout] 474 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 2, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:474:27 [INFO] [stdout] | [INFO] [stdout] 474 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 2, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 475 | assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 0, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:475:27 [INFO] [stdout] | [INFO] [stdout] 475 | assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 0, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:476:22 [INFO] [stdout] | [INFO] [stdout] 476 | assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 1, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:476:27 [INFO] [stdout] | [INFO] [stdout] 476 | assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 1, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:477:22 [INFO] [stdout] | [INFO] [stdout] 477 | assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 2, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 2, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:478:22 [INFO] [stdout] | [INFO] [stdout] 478 | assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 0, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:478:27 [INFO] [stdout] | [INFO] [stdout] 478 | assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 0, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:479:22 [INFO] [stdout] | [INFO] [stdout] 479 | assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 1, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:479:27 [INFO] [stdout] | [INFO] [stdout] 479 | assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 1, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:480:22 [INFO] [stdout] | [INFO] [stdout] 480 | assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 2, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 2, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:496:22 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 3, nay(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:496:27 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 3, nay(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:510:33 [INFO] [stdout] | [INFO] [stdout] 510 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:511:22 [INFO] [stdout] | [INFO] [stdout] 511 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 3, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:511:31 [INFO] [stdout] | [INFO] [stdout] 511 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 3, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:525:22 [INFO] [stdout] | [INFO] [stdout] 525 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:525:33 [INFO] [stdout] | [INFO] [stdout] 525 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:526:22 [INFO] [stdout] | [INFO] [stdout] 526 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:526:33 [INFO] [stdout] | [INFO] [stdout] 526 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:527:22 [INFO] [stdout] | [INFO] [stdout] 527 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:527:33 [INFO] [stdout] | [INFO] [stdout] 527 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:528:22 [INFO] [stdout] | [INFO] [stdout] 528 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 3)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:528:31 [INFO] [stdout] | [INFO] [stdout] 528 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:529:22 [INFO] [stdout] | [INFO] [stdout] 529 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 3)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:529:31 [INFO] [stdout] | [INFO] [stdout] 529 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:530:22 [INFO] [stdout] | [INFO] [stdout] 530 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 3)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:530:31 [INFO] [stdout] | [INFO] [stdout] 530 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:542:14 [INFO] [stdout] | [INFO] [stdout] 542 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:544:22 [INFO] [stdout] | [INFO] [stdout] 544 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:544:29 [INFO] [stdout] | [INFO] [stdout] 544 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:545:22 [INFO] [stdout] | [INFO] [stdout] 545 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:545:29 [INFO] [stdout] | [INFO] [stdout] 545 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:546:22 [INFO] [stdout] | [INFO] [stdout] 546 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:546:29 [INFO] [stdout] | [INFO] [stdout] 546 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:548:14 [INFO] [stdout] | [INFO] [stdout] 548 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:551:22 [INFO] [stdout] | [INFO] [stdout] 551 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:551:33 [INFO] [stdout] | [INFO] [stdout] 551 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:552:22 [INFO] [stdout] | [INFO] [stdout] 552 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 6)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:552:31 [INFO] [stdout] | [INFO] [stdout] 552 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:553:22 [INFO] [stdout] | [INFO] [stdout] 553 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:553:29 [INFO] [stdout] | [INFO] [stdout] 553 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:554:14 [INFO] [stdout] | [INFO] [stdout] 554 | assert_eq!(Balances::usable_balance(1), 4); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:555:22 [INFO] [stdout] | [INFO] [stdout] 555 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:555:33 [INFO] [stdout] | [INFO] [stdout] 555 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:556:22 [INFO] [stdout] | [INFO] [stdout] 556 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 7)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:556:31 [INFO] [stdout] | [INFO] [stdout] 556 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 7)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:557:22 [INFO] [stdout] | [INFO] [stdout] 557 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:557:29 [INFO] [stdout] | [INFO] [stdout] 557 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | assert_eq!(Balances::usable_balance(1), 3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:559:22 [INFO] [stdout] | [INFO] [stdout] 559 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:559:33 [INFO] [stdout] | [INFO] [stdout] 559 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:560:22 [INFO] [stdout] | [INFO] [stdout] 560 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 8)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:560:31 [INFO] [stdout] | [INFO] [stdout] 560 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 8)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:561:22 [INFO] [stdout] | [INFO] [stdout] 561 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:561:29 [INFO] [stdout] | [INFO] [stdout] 561 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:562:14 [INFO] [stdout] | [INFO] [stdout] 562 | assert_eq!(Balances::usable_balance(1), 2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:581:22 [INFO] [stdout] | [INFO] [stdout] 581 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:581:31 [INFO] [stdout] | [INFO] [stdout] 581 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:582:27 [INFO] [stdout] | [INFO] [stdout] 582 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:584:14 [INFO] [stdout] | [INFO] [stdout] 584 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:585:22 [INFO] [stdout] | [INFO] [stdout] 585 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:585:33 [INFO] [stdout] | [INFO] [stdout] 585 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:586:22 [INFO] [stdout] | [INFO] [stdout] 586 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 3, Conviction::Locked1x, 3)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:586:31 [INFO] [stdout] | [INFO] [stdout] 586 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 3, Conviction::Locked1x, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:587:14 [INFO] [stdout] | [INFO] [stdout] 587 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:588:22 [INFO] [stdout] | [INFO] [stdout] 588 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:588:29 [INFO] [stdout] | [INFO] [stdout] 588 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 589 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:605:22 [INFO] [stdout] | [INFO] [stdout] 605 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:605:27 [INFO] [stdout] | [INFO] [stdout] 605 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:606:22 [INFO] [stdout] | [INFO] [stdout] 606 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:606:27 [INFO] [stdout] | [INFO] [stdout] 606 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:607:22 [INFO] [stdout] | [INFO] [stdout] 607 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:607:27 [INFO] [stdout] | [INFO] [stdout] 607 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:608:14 [INFO] [stdout] | [INFO] [stdout] 608 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:615:22 [INFO] [stdout] | [INFO] [stdout] 615 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:615:34 [INFO] [stdout] | [INFO] [stdout] 615 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:616:22 [INFO] [stdout] | [INFO] [stdout] 616 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:616:29 [INFO] [stdout] | [INFO] [stdout] 616 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:617:14 [INFO] [stdout] | [INFO] [stdout] 617 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:619:22 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:619:34 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:620:22 [INFO] [stdout] | [INFO] [stdout] 620 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:620:29 [INFO] [stdout] | [INFO] [stdout] 620 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:621:14 [INFO] [stdout] | [INFO] [stdout] 621 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 623 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 2)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:623:34 [INFO] [stdout] | [INFO] [stdout] 623 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 624 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:624:29 [INFO] [stdout] | [INFO] [stdout] 624 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:625:14 [INFO] [stdout] | [INFO] [stdout] 625 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:628:22 [INFO] [stdout] | [INFO] [stdout] 628 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:628:29 [INFO] [stdout] | [INFO] [stdout] 628 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:629:14 [INFO] [stdout] | [INFO] [stdout] 629 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:632:22 [INFO] [stdout] | [INFO] [stdout] 632 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:632:29 [INFO] [stdout] | [INFO] [stdout] 632 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:633:11 [INFO] [stdout] | [INFO] [stdout] 633 | assert!(Balances::usable_balance(1) <= 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:636:22 [INFO] [stdout] | [INFO] [stdout] 636 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:636:29 [INFO] [stdout] | [INFO] [stdout] 636 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:637:14 [INFO] [stdout] | [INFO] [stdout] 637 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:644:22 [INFO] [stdout] | [INFO] [stdout] 644 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:644:31 [INFO] [stdout] | [INFO] [stdout] 644 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:645:22 [INFO] [stdout] | [INFO] [stdout] 645 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:645:33 [INFO] [stdout] | [INFO] [stdout] 645 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:646:22 [INFO] [stdout] | [INFO] [stdout] 646 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:646:31 [INFO] [stdout] | [INFO] [stdout] 646 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:647:22 [INFO] [stdout] | [INFO] [stdout] 647 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:647:33 [INFO] [stdout] | [INFO] [stdout] 647 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:648:22 [INFO] [stdout] | [INFO] [stdout] 648 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:648:31 [INFO] [stdout] | [INFO] [stdout] 648 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:649:22 [INFO] [stdout] | [INFO] [stdout] 649 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:649:29 [INFO] [stdout] | [INFO] [stdout] 649 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:650:14 [INFO] [stdout] | [INFO] [stdout] 650 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:651:22 [INFO] [stdout] | [INFO] [stdout] 651 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:651:33 [INFO] [stdout] | [INFO] [stdout] 651 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:654:22 [INFO] [stdout] | [INFO] [stdout] 654 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:654:29 [INFO] [stdout] | [INFO] [stdout] 654 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:655:14 [INFO] [stdout] | [INFO] [stdout] 655 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:658:22 [INFO] [stdout] | [INFO] [stdout] 658 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:658:29 [INFO] [stdout] | [INFO] [stdout] 658 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:659:11 [INFO] [stdout] | [INFO] [stdout] 659 | assert!(Balances::usable_balance(1) <= 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:662:22 [INFO] [stdout] | [INFO] [stdout] 662 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:662:29 [INFO] [stdout] | [INFO] [stdout] 662 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:663:14 [INFO] [stdout] | [INFO] [stdout] 663 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:671:22 [INFO] [stdout] | [INFO] [stdout] 671 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:671:27 [INFO] [stdout] | [INFO] [stdout] 671 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:673:22 [INFO] [stdout] | [INFO] [stdout] 673 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:673:34 [INFO] [stdout] | [INFO] [stdout] 673 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:674:22 [INFO] [stdout] | [INFO] [stdout] 674 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:674:29 [INFO] [stdout] | [INFO] [stdout] 674 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:675:14 [INFO] [stdout] | [INFO] [stdout] 675 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:677:22 [INFO] [stdout] | [INFO] [stdout] 677 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:677:31 [INFO] [stdout] | [INFO] [stdout] 677 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:678:22 [INFO] [stdout] | [INFO] [stdout] 678 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:678:33 [INFO] [stdout] | [INFO] [stdout] 678 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:679:22 [INFO] [stdout] | [INFO] [stdout] 679 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:679:29 [INFO] [stdout] | [INFO] [stdout] 679 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:680:14 [INFO] [stdout] | [INFO] [stdout] 680 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:683:22 [INFO] [stdout] | [INFO] [stdout] 683 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(5, 2))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:683:27 [INFO] [stdout] | [INFO] [stdout] 683 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(5, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:685:22 [INFO] [stdout] | [INFO] [stdout] 685 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:685:34 [INFO] [stdout] | [INFO] [stdout] 685 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:688:22 [INFO] [stdout] | [INFO] [stdout] 688 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:688:29 [INFO] [stdout] | [INFO] [stdout] 688 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:689:14 [INFO] [stdout] | [INFO] [stdout] 689 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:692:22 [INFO] [stdout] | [INFO] [stdout] 692 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:692:29 [INFO] [stdout] | [INFO] [stdout] 692 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:693:11 [INFO] [stdout] | [INFO] [stdout] 693 | assert!(Balances::usable_balance(1) <= 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:696:22 [INFO] [stdout] | [INFO] [stdout] 696 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:696:29 [INFO] [stdout] | [INFO] [stdout] 696 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:697:14 [INFO] [stdout] | [INFO] [stdout] 697 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:704:22 [INFO] [stdout] | [INFO] [stdout] 704 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:704:31 [INFO] [stdout] | [INFO] [stdout] 704 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:705:22 [INFO] [stdout] | [INFO] [stdout] 705 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:705:33 [INFO] [stdout] | [INFO] [stdout] 705 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:707:22 [INFO] [stdout] | [INFO] [stdout] 707 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:707:29 [INFO] [stdout] | [INFO] [stdout] 707 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:708:14 [INFO] [stdout] | [INFO] [stdout] 708 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:711:22 [INFO] [stdout] | [INFO] [stdout] 711 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:711:27 [INFO] [stdout] | [INFO] [stdout] 711 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:713:22 [INFO] [stdout] | [INFO] [stdout] 713 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:713:34 [INFO] [stdout] | [INFO] [stdout] 713 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:715:22 [INFO] [stdout] | [INFO] [stdout] 715 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:715:29 [INFO] [stdout] | [INFO] [stdout] 715 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:716:14 [INFO] [stdout] | [INFO] [stdout] 716 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:718:22 [INFO] [stdout] | [INFO] [stdout] 718 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 10)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:718:31 [INFO] [stdout] | [INFO] [stdout] 718 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:719:22 [INFO] [stdout] | [INFO] [stdout] 719 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:719:33 [INFO] [stdout] | [INFO] [stdout] 719 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:722:22 [INFO] [stdout] | [INFO] [stdout] 722 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:722:29 [INFO] [stdout] | [INFO] [stdout] 722 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:723:14 [INFO] [stdout] | [INFO] [stdout] 723 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:726:22 [INFO] [stdout] | [INFO] [stdout] 726 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:726:29 [INFO] [stdout] | [INFO] [stdout] 726 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:727:11 [INFO] [stdout] | [INFO] [stdout] 727 | assert!(Balances::usable_balance(1) <= 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:730:22 [INFO] [stdout] | [INFO] [stdout] 730 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:730:29 [INFO] [stdout] | [INFO] [stdout] 730 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:731:14 [INFO] [stdout] | [INFO] [stdout] 731 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:738:22 [INFO] [stdout] | [INFO] [stdout] 738 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:738:31 [INFO] [stdout] | [INFO] [stdout] 738 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:739:22 [INFO] [stdout] | [INFO] [stdout] 739 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 2, Conviction::Locked2x, 5)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:739:31 [INFO] [stdout] | [INFO] [stdout] 739 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 2, Conviction::Locked2x, 5)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 2, Conviction::Locked1x, 10)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:740:31 [INFO] [stdout] | [INFO] [stdout] 740 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 2, Conviction::Locked1x, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:742:22 [INFO] [stdout] | [INFO] [stdout] 742 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:742:33 [INFO] [stdout] | [INFO] [stdout] 742 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:743:22 [INFO] [stdout] | [INFO] [stdout] 743 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:743:33 [INFO] [stdout] | [INFO] [stdout] 743 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:744:22 [INFO] [stdout] | [INFO] [stdout] 744 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:744:33 [INFO] [stdout] | [INFO] [stdout] 744 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:747:22 [INFO] [stdout] | [INFO] [stdout] 747 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:747:29 [INFO] [stdout] | [INFO] [stdout] 747 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:748:22 [INFO] [stdout] | [INFO] [stdout] 748 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:748:29 [INFO] [stdout] | [INFO] [stdout] 748 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:749:22 [INFO] [stdout] | [INFO] [stdout] 749 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:749:29 [INFO] [stdout] | [INFO] [stdout] 749 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:750:14 [INFO] [stdout] | [INFO] [stdout] 750 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:753:22 [INFO] [stdout] | [INFO] [stdout] 753 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:753:29 [INFO] [stdout] | [INFO] [stdout] 753 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:754:22 [INFO] [stdout] | [INFO] [stdout] 754 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:754:29 [INFO] [stdout] | [INFO] [stdout] 754 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:755:22 [INFO] [stdout] | [INFO] [stdout] 755 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:755:29 [INFO] [stdout] | [INFO] [stdout] 755 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:756:14 [INFO] [stdout] | [INFO] [stdout] 756 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:759:22 [INFO] [stdout] | [INFO] [stdout] 759 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:759:29 [INFO] [stdout] | [INFO] [stdout] 759 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:760:22 [INFO] [stdout] | [INFO] [stdout] 760 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:760:29 [INFO] [stdout] | [INFO] [stdout] 760 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:761:22 [INFO] [stdout] | [INFO] [stdout] 761 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:761:29 [INFO] [stdout] | [INFO] [stdout] 761 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:762:14 [INFO] [stdout] | [INFO] [stdout] 762 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:778:22 [INFO] [stdout] | [INFO] [stdout] 778 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:778:27 [INFO] [stdout] | [INFO] [stdout] 778 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:779:22 [INFO] [stdout] | [INFO] [stdout] 779 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:779:27 [INFO] [stdout] | [INFO] [stdout] 779 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:780:22 [INFO] [stdout] | [INFO] [stdout] 780 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:780:27 [INFO] [stdout] | [INFO] [stdout] 780 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:786:22 [INFO] [stdout] | [INFO] [stdout] 786 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:786:34 [INFO] [stdout] | [INFO] [stdout] 786 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:787:22 [INFO] [stdout] | [INFO] [stdout] 787 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(1), 1)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:787:34 [INFO] [stdout] | [INFO] [stdout] 787 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(1), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:788:22 [INFO] [stdout] | [INFO] [stdout] 788 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(2), 2)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:788:34 [INFO] [stdout] | [INFO] [stdout] 788 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(2), 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:791:22 [INFO] [stdout] | [INFO] [stdout] 791 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:791:29 [INFO] [stdout] | [INFO] [stdout] 791 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:792:22 [INFO] [stdout] | [INFO] [stdout] 792 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:792:29 [INFO] [stdout] | [INFO] [stdout] 792 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:793:22 [INFO] [stdout] | [INFO] [stdout] 793 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:793:29 [INFO] [stdout] | [INFO] [stdout] 793 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:794:14 [INFO] [stdout] | [INFO] [stdout] 794 | assert_eq!(Balances::usable_balance(1), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:797:22 [INFO] [stdout] | [INFO] [stdout] 797 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:797:29 [INFO] [stdout] | [INFO] [stdout] 797 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:798:22 [INFO] [stdout] | [INFO] [stdout] 798 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:798:29 [INFO] [stdout] | [INFO] [stdout] 798 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:799:22 [INFO] [stdout] | [INFO] [stdout] 799 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:799:29 [INFO] [stdout] | [INFO] [stdout] 799 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:800:14 [INFO] [stdout] | [INFO] [stdout] 800 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:803:22 [INFO] [stdout] | [INFO] [stdout] 803 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:803:29 [INFO] [stdout] | [INFO] [stdout] 803 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:804:22 [INFO] [stdout] | [INFO] [stdout] 804 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:804:29 [INFO] [stdout] | [INFO] [stdout] 804 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:805:22 [INFO] [stdout] | [INFO] [stdout] 805 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:805:29 [INFO] [stdout] | [INFO] [stdout] 805 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:806:14 [INFO] [stdout] | [INFO] [stdout] 806 | assert_eq!(Balances::usable_balance(1), 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 814 | Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)), [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:818:12 [INFO] [stdout] | [INFO] [stdout] 818 | Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)), [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:818:17 [INFO] [stdout] | [INFO] [stdout] 818 | Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:822:12 [INFO] [stdout] | [INFO] [stdout] 822 | Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)), [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:822:17 [INFO] [stdout] | [INFO] [stdout] 822 | Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:826:12 [INFO] [stdout] | [INFO] [stdout] 826 | Voting::vote(RuntimeOrigin::signed(1), 3, aye(11, 0)), [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:826:17 [INFO] [stdout] | [INFO] [stdout] 826 | Voting::vote(RuntimeOrigin::signed(1), 3, aye(11, 0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:830:22 [INFO] [stdout] | [INFO] [stdout] 830 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10)); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:830:31 [INFO] [stdout] | [INFO] [stdout] 830 | assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:832:12 [INFO] [stdout] | [INFO] [stdout] 832 | Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)), [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:832:17 [INFO] [stdout] | [INFO] [stdout] 832 | Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:836:22 [INFO] [stdout] | [INFO] [stdout] 836 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:836:33 [INFO] [stdout] | [INFO] [stdout] 836 | assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:847:22 [INFO] [stdout] | [INFO] [stdout] 847 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:847:27 [INFO] [stdout] | [INFO] [stdout] 847 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:848:22 [INFO] [stdout] | [INFO] [stdout] 848 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:848:27 [INFO] [stdout] | [INFO] [stdout] 848 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:849:22 [INFO] [stdout] | [INFO] [stdout] 849 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:849:27 [INFO] [stdout] | [INFO] [stdout] 849 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:851:12 [INFO] [stdout] | [INFO] [stdout] 851 | Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)), [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:851:17 [INFO] [stdout] | [INFO] [stdout] 851 | Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:861:12 [INFO] [stdout] | [INFO] [stdout] 861 | Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 11), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:861:21 [INFO] [stdout] | [INFO] [stdout] 861 | Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 11), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:865:12 [INFO] [stdout] | [INFO] [stdout] 865 | Voting::delegate(RuntimeOrigin::signed(1), 3, 2, Conviction::None, 10), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:865:21 [INFO] [stdout] | [INFO] [stdout] 865 | Voting::delegate(RuntimeOrigin::signed(1), 3, 2, Conviction::None, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:869:22 [INFO] [stdout] | [INFO] [stdout] 869 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:869:27 [INFO] [stdout] | [INFO] [stdout] 869 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `delegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:871:12 [INFO] [stdout] | [INFO] [stdout] 871 | Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `delegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `delegate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `sp_staking::DelegationInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:871:21 [INFO] [stdout] | [INFO] [stdout] 871 | Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `undelegate` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:875:24 [INFO] [stdout] | [INFO] [stdout] 875 | assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::::NotDelegating); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `undelegate` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `undelegate`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:875:35 [INFO] [stdout] | [INFO] [stdout] 875 | assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::::NotDelegating); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_other_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:883:12 [INFO] [stdout] | [INFO] [stdout] 883 | Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_other_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_other_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:883:30 [INFO] [stdout] | [INFO] [stdout] 883 | Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:886:22 [INFO] [stdout] | [INFO] [stdout] 886 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:886:27 [INFO] [stdout] | [INFO] [stdout] 886 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_other_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:888:12 [INFO] [stdout] | [INFO] [stdout] 888 | Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_other_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_other_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:888:30 [INFO] [stdout] | [INFO] [stdout] 888 | Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_other_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:894:12 [INFO] [stdout] | [INFO] [stdout] 894 | Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_other_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_other_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:894:30 [INFO] [stdout] | [INFO] [stdout] 894 | Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_other_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:898:22 [INFO] [stdout] | [INFO] [stdout] 898 | assert_ok!(Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_other_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_other_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:898:40 [INFO] [stdout] | [INFO] [stdout] 898 | assert_ok!(Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:906:12 [INFO] [stdout] | [INFO] [stdout] 906 | Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 3), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:909:22 [INFO] [stdout] | [INFO] [stdout] 909 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:909:27 [INFO] [stdout] | [INFO] [stdout] 909 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:912:12 [INFO] [stdout] | [INFO] [stdout] 912 | Voting::remove_vote(RuntimeOrigin::signed(1), None, 3), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:912:24 [INFO] [stdout] | [INFO] [stdout] 912 | Voting::remove_vote(RuntimeOrigin::signed(1), None, 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:986:26 [INFO] [stdout] | [INFO] [stdout] 986 | let usable_balance_1 = Balances::usable_balance(1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:990:22 [INFO] [stdout] | [INFO] [stdout] 990 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:990:27 [INFO] [stdout] | [INFO] [stdout] 990 | assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:1002:22 [INFO] [stdout] | [INFO] [stdout] 1002 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 2))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1002:27 [INFO] [stdout] | [INFO] [stdout] 1002 | assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 2))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:1017:22 [INFO] [stdout] | [INFO] [stdout] 1017 | assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 3, nay(20, 0))); [INFO] [stdout] | ^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `vote` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1017:27 [INFO] [stdout] | [INFO] [stdout] 1017 | assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 3, nay(20, 0))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:1029:22 [INFO] [stdout] | [INFO] [stdout] 1029 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(3), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1029:34 [INFO] [stdout] | [INFO] [stdout] 1029 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(3), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:1036:22 [INFO] [stdout] | [INFO] [stdout] 1036 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1036:34 [INFO] [stdout] | [INFO] [stdout] 1036 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `remove_vote` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:1045:22 [INFO] [stdout] | [INFO] [stdout] 1045 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `remove_vote` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `weights::WeightInfo` defines an item `remove_vote`, perhaps you need to implement it [INFO] [stdout] --> src/weights.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait WeightInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1045:34 [INFO] [stdout] | [INFO] [stdout] 1045 | assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unlock` found for enum `vote::Voting` in the current scope [INFO] [stdout] --> src/tests.rs:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1)); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `vote::Voting<_, _, _, _, _>` [INFO] [stdout] | [INFO] [stdout] ::: src/vote.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub enum Voting [INFO] [stdout] | --------------------------------------------------------------------- variant or associated item `unlock` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `unlock`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `weights::WeightInfo` [INFO] [stdout] candidate #2: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1050:29 [INFO] [stdout] | [INFO] [stdout] 1050 | assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1051:14 [INFO] [stdout] | [INFO] [stdout] 1051 | assert_eq!(Balances::usable_balance(1), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 163 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-conviction-voting` (lib test) due to 500 previous errors [INFO] running `Command { std: "docker" "inspect" "bd9d9c9361b44c33d5815145d17f92acfab8abbab3598810ffdba2c6444dae6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd9d9c9361b44c33d5815145d17f92acfab8abbab3598810ffdba2c6444dae6a", kill_on_drop: false }` [INFO] [stdout] bd9d9c9361b44c33d5815145d17f92acfab8abbab3598810ffdba2c6444dae6a