[INFO] fetching crate pallet-conviction-voting 42.0.0... [INFO] checking pallet-conviction-voting-42.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-conviction-voting 42.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pallet-conviction-voting 42.0.0 [INFO] finished tweaking crates.io crate pallet-conviction-voting 42.0.0 [INFO] tweaked toml for crates.io crate pallet-conviction-voting 42.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-conviction-voting 42.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-conviction-voting 42.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded frame-benchmarking v42.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f94e8731b7f9fb0f3dd638ce0253729a7f140140730b7b9871298d7b61ff136 [INFO] running `Command { std: "docker" "start" "-a" "7f94e8731b7f9fb0f3dd638ce0253729a7f140140730b7b9871298d7b61ff136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f94e8731b7f9fb0f3dd638ce0253729a7f140140730b7b9871298d7b61ff136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f94e8731b7f9fb0f3dd638ce0253729a7f140140730b7b9871298d7b61ff136", kill_on_drop: false }` [INFO] [stdout] 7f94e8731b7f9fb0f3dd638ce0253729a7f140140730b7b9871298d7b61ff136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d78b5b8321eef2c2830a22ff64334a63fad94606f00ad91ba8d837349c948b0d [INFO] running `Command { std: "docker" "start" "-a" "d78b5b8321eef2c2830a22ff64334a63fad94606f00ad91ba8d837349c948b0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking sp-crypto-hashing v0.1.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking pallet-conviction-voting v42.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Balances: pallet_balances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!(pallet_balances::TotalIssuance::::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-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs: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-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs: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-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs: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-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/tests.rs: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-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs: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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | 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" "d78b5b8321eef2c2830a22ff64334a63fad94606f00ad91ba8d837349c948b0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d78b5b8321eef2c2830a22ff64334a63fad94606f00ad91ba8d837349c948b0d", kill_on_drop: false }` [INFO] [stdout] d78b5b8321eef2c2830a22ff64334a63fad94606f00ad91ba8d837349c948b0d