[INFO] fetching crate pallet-identity 42.0.0... [INFO] checking pallet-identity-42.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pallet-identity 42.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate pallet-identity 42.0.0 [INFO] finished tweaking crates.io crate pallet-identity 42.0.0 [INFO] tweaked toml for crates.io crate pallet-identity 42.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-identity 42.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-identity 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef9d960fe1da27a350c7d69494687d3467d0ab6ae2fead9bb5b61eaaf43745a4 [INFO] running `Command { std: "docker" "start" "-a" "ef9d960fe1da27a350c7d69494687d3467d0ab6ae2fead9bb5b61eaaf43745a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef9d960fe1da27a350c7d69494687d3467d0ab6ae2fead9bb5b61eaaf43745a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef9d960fe1da27a350c7d69494687d3467d0ab6ae2fead9bb5b61eaaf43745a4", kill_on_drop: false }` [INFO] [stdout] ef9d960fe1da27a350c7d69494687d3467d0ab6ae2fead9bb5b61eaaf43745a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b49cbedae40c01549af027ef77bdd7a09140289342c7a7a8b3f7251578bd904e [INFO] running `Command { std: "docker" "start" "-a" "b49cbedae40c01549af027ef77bdd7a09140289342c7a7a8b3f7251578bd904e", 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] Checking cfg-if v1.0.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] 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] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [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] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [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 futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking http v1.1.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 num-conv v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking opaque-debug v0.3.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 environmental v1.1.4 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking bitflags v1.3.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 miniz_oxide v0.7.1 [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 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 tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.15 [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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking enumflags2 v0.7.11 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking impl-codec v0.7.1 [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] Checking sp-externalities v0.30.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.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] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-core v38.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-identity v42.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::tests::Test` [INFO] [stdout] --> src/migration.rs:677:36 [INFO] [stdout] | [INFO] [stdout] 677 | use crate::tests::{new_test_ext, Test}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Test` in `tests` [INFO] [stdout] | help: a similar name exists in the module: `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_keystore` [INFO] [stdout] --> src/tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_keystore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_keystore`, use `cargo add sp_keystore` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/tests.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keystore` [INFO] [stdout] --> src/tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_keystore` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_keystore`, use `cargo add sp_keystore` 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:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | #[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:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | 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: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | System::assert_last_event(tests::RuntimeEvent::Identity(Event::SubIdentityRenamed { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib.rs:1443:34 [INFO] [stdout] | [INFO] [stdout] 1443 | .map_or(false, |registration| (registration.info.has_identity(fields))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1443 - .map_or(false, |registration| (registration.info.has_identity(fields))) [INFO] [stdout] 1443 + .map_or(false, |registration| registration.info.has_identity(fields)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `tests` [INFO] [stdout] --> src/tests.rs:545:36 [INFO] [stdout] | [INFO] [stdout] 545 | System::assert_last_event(tests::RuntimeEvent::Identity(Event::SubIdentitiesSet { [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:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 45 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | 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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[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:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[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:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | impl pallet_identity::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:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 75 | 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:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / type BalanceOf = [INFO] [stdout] 141 | | <::Currency as Currency<::AccountId>>::Balance; [INFO] [stdout] | |___________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | 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] 99 | 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:101:35 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 99 | 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:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | 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:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | fn account(id: u8) -> AccountIdOf { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 120 | fn account(id: u8) -> AccountIdOf { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | fn account_from_u32(id: u32) -> AccountIdOf { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 124 | fn account_from_u32(id: u32) -> AccountIdOf { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | fn accounts() -> [AccountIdOf; 8] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 136 | fn accounts() -> [AccountIdOf; 8] { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:149:40 [INFO] [stdout] | [INFO] [stdout] 149 | fn unfunded_accounts() -> [AccountIdOf; 2] { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 149 | fn unfunded_accounts() -> [AccountIdOf; 2] { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:154:64 [INFO] [stdout] | [INFO] [stdout] 154 | fn test_username_of(int: Vec, suffix: Vec) -> Username { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn test_username_of(int: Vec, suffix: Vec) -> Username { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | let bounded_username = Username::::try_from(bounded_username) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | fn test_username_of(int: Vec, suffix: Vec) -> Username { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | let base_deposit: u64 = <::BasicDeposit as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:188:28 [INFO] [stdout] | [INFO] [stdout] 188 | let byte_deposit: u64 = <::ByteDeposit as Get>::get() * [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | Identity::add_sub(RuntimeOrigin::signed(ten.clone()), twenty.clone(), data(1)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 234 | IdentityOf::add_sub(RuntimeOrigin::signed(ten.clone()), twenty.clone(), data(1)), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | Error::::NoIdentity [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 239 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | let sub_deposit: u64 = <::SubAccountDeposit as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 249 | assert_ok!(IdentityOf::add_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(1))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(SuperOf::::get(one.clone()), Some((ten.clone(), data(1)))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(ten.clone()), two.clone(), data(2))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 254 | assert_ok!(IdentityOf::add_sub(RuntimeOrigin::signed(ten.clone()), two.clone(), data(2))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:255:24 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(SuperOf::::get(one.clone()), Some((ten.clone(), data(1)))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:256:24 [INFO] [stdout] | [INFO] [stdout] 256 | assert_eq!(SuperOf::::get(two.clone()), Some((ten.clone(), data(2)))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:261:4 [INFO] [stdout] | [INFO] [stdout] 261 | Identity::add_sub(RuntimeOrigin::signed(ten.clone()), three.clone(), data(3)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 261 | IdentityOf::add_sub(RuntimeOrigin::signed(ten.clone()), three.clone(), data(3)), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | Error::::TooManySubAccounts [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | assert_ok!(Identity::rename_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(11))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 266 | assert_ok!(IdentityOf::rename_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(11))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:267:3 [INFO] [stdout] | [INFO] [stdout] 267 | System::assert_last_event(tests::RuntimeEvent::Identity(Event::SubIdentityRenamed { [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:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(SuperOf::::get(one.clone()), Some((ten.clone(), data(11)))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(SuperOf::::get(two.clone()), Some((ten.clone(), data(2)))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | assert_ok!(Identity::remove_sub(RuntimeOrigin::signed(ten.clone()), one.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 276 | assert_ok!(IdentityOf::remove_sub(RuntimeOrigin::signed(ten.clone()), one.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | assert_eq!(SuperOf::::get(one.clone()), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(SuperOf::::get(two.clone()), Some((ten.clone(), data(2)))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(ten.clone()), three.clone(), data(3))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 282 | assert_ok!(IdentityOf::add_sub(RuntimeOrigin::signed(ten.clone()), three.clone(), data(3))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | assert_eq!(SuperOf::::get(one), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | assert_eq!(SuperOf::::get(two), Some((ten.clone(), data(2)))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:285:24 [INFO] [stdout] | [INFO] [stdout] 285 | assert_eq!(SuperOf::::get(three), Some((ten.clone(), data(3)))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 228 | fn editing_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:295:28 [INFO] [stdout] | [INFO] [stdout] 295 | let sub_deposit: u64 = <::SubAccountDeposit as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 301 | assert_ok!(IdentityOf::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 303 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(IdentityOf::add_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(1))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | Identity::add_sub(RuntimeOrigin::signed(twenty.clone()), one.clone(), data(1)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 316 | IdentityOf::add_sub(RuntimeOrigin::signed(twenty.clone()), one.clone(), data(1)), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | Error::::AlreadyClaimed [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 291 | fn resolving_subaccount_ownership_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | assert_ok!(Identity::quit_sub(RuntimeOrigin::signed(one.clone()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 320 | assert_ok!(IdentityOf::quit_sub(RuntimeOrigin::signed(one.clone()))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(twenty), one, data(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 326 | assert_ok!(IdentityOf::add_sub(RuntimeOrigin::signed(twenty), one, data(1))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 344 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(IdentityOf::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | Identity::set_fields(RuntimeOrigin::signed(three), 100, fields.bits()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 348 | IdentityOf::set_fields(RuntimeOrigin::signed(three), 100, fields.bits()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:349:12 [INFO] [stdout] | [INFO] [stdout] 349 | Error::::InvalidIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 341 | fn adding_registrar_invalid_index() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 358 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:359:14 [INFO] [stdout] | [INFO] [stdout] 359 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 359 | assert_ok!(IdentityOf::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:361:14 [INFO] [stdout] | [INFO] [stdout] 361 | assert_ok!(Identity::set_fields(RuntimeOrigin::signed(three.clone()), 0, fields.bits())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 361 | assert_ok!(IdentityOf::set_fields(RuntimeOrigin::signed(three.clone()), 0, fields.bits())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | Registrars::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 355 | fn adding_registrar_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:373:15 [INFO] [stdout] | [INFO] [stdout] 373 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), account_from_u32(ii))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 373 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), account_from_u32(ii))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:377:4 [INFO] [stdout] | [INFO] [stdout] 377 | Identity::add_registrar(RuntimeOrigin::root(), account_from_u32(last_registrar)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 377 | IdentityOf::add_registrar(RuntimeOrigin::root(), account_from_u32(last_registrar)), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 378 | Error::::TooManyRegistrars [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 370 | fn amount_of_registrars_is_limited() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 387 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 388 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 388 | assert_ok!(IdentityOf::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 395 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 395 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:399:27 [INFO] [stdout] | [INFO] [stdout] 399 | assert_eq!(IdentityOf::::get(ten.clone()).unwrap().info, ten_info); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 384 | fn registration_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | assert_ok!(Identity::clear_identity(RuntimeOrigin::signed(ten.clone()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 401 | assert_ok!(IdentityOf::clear_identity(RuntimeOrigin::signed(ten.clone()))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:404:4 [INFO] [stdout] | [INFO] [stdout] 404 | Identity::clear_identity(RuntimeOrigin::signed(ten)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 404 | IdentityOf::clear_identity(RuntimeOrigin::signed(ten)), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | Error::::NoIdentity [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 384 | fn registration_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:415:4 [INFO] [stdout] | [INFO] [stdout] 415 | Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 415 | IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | Error::::InvalidIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 411 | fn uninvited_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:425:14 [INFO] [stdout] | [INFO] [stdout] 425 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 425 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:427:4 [INFO] [stdout] | [INFO] [stdout] 427 | Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 427 | IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | Error::::InvalidTarget [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 411 | fn uninvited_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:437:14 [INFO] [stdout] | [INFO] [stdout] 437 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 437 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:442:4 [INFO] [stdout] | [INFO] [stdout] 442 | Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 442 | IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:449:12 [INFO] [stdout] | [INFO] [stdout] 449 | Error::::JudgementForDifferentIdentity [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 411 | fn uninvited_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:455:4 [INFO] [stdout] | [INFO] [stdout] 455 | Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 455 | IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:462:12 [INFO] [stdout] | [INFO] [stdout] 462 | Error::::InvalidIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 411 | fn uninvited_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:465:4 [INFO] [stdout] | [INFO] [stdout] 465 | Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 465 | IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | Error::::InvalidJudgement [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 411 | fn uninvited_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:475:14 [INFO] [stdout] | [INFO] [stdout] 475 | assert_ok!(Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 475 | assert_ok!(IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | IdentityOf::::get(ten).unwrap().judgements, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 411 | fn uninvited_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:493:14 [INFO] [stdout] | [INFO] [stdout] 493 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 493 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:494:14 [INFO] [stdout] | [INFO] [stdout] 494 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 494 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 498 | assert_ok!(Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 498 | assert_ok!(IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:505:14 [INFO] [stdout] | [INFO] [stdout] 505 | assert_ok!(Identity::clear_identity(RuntimeOrigin::signed(ten.clone()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 505 | assert_ok!(IdentityOf::clear_identity(RuntimeOrigin::signed(ten.clone()))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:506:27 [INFO] [stdout] | [INFO] [stdout] 506 | assert_eq!(IdentityOf::::get(ten), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 490 | fn clearing_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:516:14 [INFO] [stdout] | [INFO] [stdout] 516 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 516 | assert_ok!(IdentityOf::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | assert_noop!(Identity::kill_identity(RuntimeOrigin::signed(one), ten.clone()), BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 517 | assert_noop!(IdentityOf::kill_identity(RuntimeOrigin::signed(one), ten.clone()), BadOrigin); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | assert_ok!(Identity::kill_identity(RuntimeOrigin::root(), ten.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 518 | assert_ok!(IdentityOf::kill_identity(RuntimeOrigin::root(), ten.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:519:27 [INFO] [stdout] | [INFO] [stdout] 519 | assert_eq!(IdentityOf::::get(ten.clone()), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 511 | fn killing_slashing_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:522:4 [INFO] [stdout] | [INFO] [stdout] 522 | Identity::kill_identity(RuntimeOrigin::root(), ten), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 522 | IdentityOf::kill_identity(RuntimeOrigin::root(), ten), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:523:12 [INFO] [stdout] | [INFO] [stdout] 523 | Error::::NoIdentity [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 511 | fn killing_slashing_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:534:28 [INFO] [stdout] | [INFO] [stdout] 534 | let sub_deposit: u64 = <::SubAccountDeposit as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | Identity::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 537 | IdentityOf::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 538 | Error::::NotFound [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 541 | assert_ok!(IdentityOf::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:543:14 [INFO] [stdout] | [INFO] [stdout] 543 | assert_ok!(Identity::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 543 | assert_ok!(IdentityOf::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:545:3 [INFO] [stdout] | [INFO] [stdout] 545 | System::assert_last_event(tests::RuntimeEvent::Identity(Event::SubIdentitiesSet { [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:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | SubsOf::::get(ten.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:557:14 [INFO] [stdout] | [INFO] [stdout] 557 | SuperOf::::get(twenty.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:563:14 [INFO] [stdout] | [INFO] [stdout] 563 | assert_ok!(Identity::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 563 | assert_ok!(IdentityOf::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | SubsOf::::get(ten.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:570:14 [INFO] [stdout] | [INFO] [stdout] 570 | SuperOf::::get(twenty.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:574:14 [INFO] [stdout] | [INFO] [stdout] 574 | SuperOf::::get(thirty.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:580:14 [INFO] [stdout] | [INFO] [stdout] 580 | assert_ok!(Identity::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 580 | assert_ok!(IdentityOf::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | SubsOf::::get(ten.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:587:24 [INFO] [stdout] | [INFO] [stdout] 587 | assert_eq!(SuperOf::::get(twenty.clone()), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 589 | SuperOf::::get(thirty.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:593:14 [INFO] [stdout] | [INFO] [stdout] 593 | SuperOf::::get(forty.clone()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:598:14 [INFO] [stdout] | [INFO] [stdout] 598 | assert_ok!(Identity::set_subs(RuntimeOrigin::signed(ten.clone()), vec![])); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 598 | assert_ok!(IdentityOf::set_subs(RuntimeOrigin::signed(ten.clone()), vec![])); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:600:23 [INFO] [stdout] | [INFO] [stdout] 600 | assert_eq!(SubsOf::::get(ten.clone()), (0, BoundedVec::default())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:601:24 [INFO] [stdout] | [INFO] [stdout] 601 | assert_eq!(SuperOf::::get(thirty.clone()), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:602:24 [INFO] [stdout] | [INFO] [stdout] 602 | assert_eq!(SuperOf::::get(forty), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:606:4 [INFO] [stdout] | [INFO] [stdout] 606 | Identity::set_subs(RuntimeOrigin::signed(ten), subs.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 606 | IdentityOf::set_subs(RuntimeOrigin::signed(ten), subs.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:607:12 [INFO] [stdout] | [INFO] [stdout] 607 | Error::::TooManySubAccounts [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 529 | fn setting_subaccounts_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:617:14 [INFO] [stdout] | [INFO] [stdout] 617 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 617 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | assert_ok!(Identity::set_subs( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 622 | assert_ok!(IdentityOf::set_subs( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:626:14 [INFO] [stdout] | [INFO] [stdout] 626 | assert_ok!(Identity::clear_identity(RuntimeOrigin::signed(ten.clone()))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 626 | assert_ok!(IdentityOf::clear_identity(RuntimeOrigin::signed(ten.clone()))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:628:21 [INFO] [stdout] | [INFO] [stdout] 628 | assert!(SuperOf::::get(twenty).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 613 | fn clearing_account_should_remove_subaccounts_and_refund() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:638:28 [INFO] [stdout] | [INFO] [stdout] 638 | let sub_deposit: u64 = <::SubAccountDeposit as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 639 | assert_ok!(IdentityOf::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:641:14 [INFO] [stdout] | [INFO] [stdout] 641 | assert_ok!(Identity::set_subs( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 641 | assert_ok!(IdentityOf::set_subs( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:646:14 [INFO] [stdout] | [INFO] [stdout] 646 | assert_ok!(Identity::kill_identity(RuntimeOrigin::root(), ten.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 646 | assert_ok!(IdentityOf::kill_identity(RuntimeOrigin::root(), ten.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:648:21 [INFO] [stdout] | [INFO] [stdout] 648 | assert!(SuperOf::::get(twenty).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 633 | fn killing_account_should_remove_subaccounts_and_not_refund() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:656:14 [INFO] [stdout] | [INFO] [stdout] 656 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 656 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:657:14 [INFO] [stdout] | [INFO] [stdout] 657 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 657 | assert_ok!(IdentityOf::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:659:4 [INFO] [stdout] | [INFO] [stdout] 659 | Identity::cancel_request(RuntimeOrigin::signed(ten.clone()), 0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 659 | IdentityOf::cancel_request(RuntimeOrigin::signed(ten.clone()), 0), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | Error::::NoIdentity [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 653 | fn cancelling_requested_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:663:14 [INFO] [stdout] | [INFO] [stdout] 663 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 663 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:668:14 [INFO] [stdout] | [INFO] [stdout] 668 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 668 | assert_ok!(IdentityOf::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 669 | assert_ok!(Identity::cancel_request(RuntimeOrigin::signed(ten.clone()), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 669 | assert_ok!(IdentityOf::cancel_request(RuntimeOrigin::signed(ten.clone()), 0)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:672:4 [INFO] [stdout] | [INFO] [stdout] 672 | Identity::cancel_request(RuntimeOrigin::signed(ten.clone()), 0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 672 | IdentityOf::cancel_request(RuntimeOrigin::signed(ten.clone()), 0), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 673 | Error::::NotFound [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 653 | fn cancelling_requested_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:676:14 [INFO] [stdout] | [INFO] [stdout] 676 | assert_ok!(Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 676 | assert_ok!(IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:684:4 [INFO] [stdout] | [INFO] [stdout] 684 | Identity::cancel_request(RuntimeOrigin::signed(ten), 0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 684 | IdentityOf::cancel_request(RuntimeOrigin::signed(ten), 0), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:685:12 [INFO] [stdout] | [INFO] [stdout] 685 | Error::::JudgementGiven [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 653 | fn cancelling_requested_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:694:14 [INFO] [stdout] | [INFO] [stdout] 694 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 694 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:695:14 [INFO] [stdout] | [INFO] [stdout] 695 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 695 | assert_ok!(IdentityOf::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 698 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:704:4 [INFO] [stdout] | [INFO] [stdout] 704 | Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 9), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 704 | IdentityOf::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 9), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:705:12 [INFO] [stdout] | [INFO] [stdout] 705 | Error::::FeeChanged [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 691 | fn requesting_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:707:14 [INFO] [stdout] | [INFO] [stdout] 707 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 707 | assert_ok!(IdentityOf::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:713:4 [INFO] [stdout] | [INFO] [stdout] 713 | Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 713 | IdentityOf::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:714:12 [INFO] [stdout] | [INFO] [stdout] 714 | Error::::StickyJudgement [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 691 | fn requesting_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:716:14 [INFO] [stdout] | [INFO] [stdout] 716 | assert_ok!(Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 716 | assert_ok!(IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:729:4 [INFO] [stdout] | [INFO] [stdout] 729 | Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 729 | IdentityOf::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:730:12 [INFO] [stdout] | [INFO] [stdout] 730 | Error::::StickyJudgement [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 691 | fn requesting_judgement_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:734:14 [INFO] [stdout] | [INFO] [stdout] 734 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), four)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 734 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), four)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:735:14 [INFO] [stdout] | [INFO] [stdout] 735 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 1, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 735 | assert_ok!(IdentityOf::request_judgement(RuntimeOrigin::signed(ten.clone()), 1, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:738:14 [INFO] [stdout] | [INFO] [stdout] 738 | assert_ok!(Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 738 | assert_ok!(IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:745:14 [INFO] [stdout] | [INFO] [stdout] 745 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 745 | assert_ok!(IdentityOf::request_judgement(RuntimeOrigin::signed(ten), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:755:14 [INFO] [stdout] | [INFO] [stdout] 755 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 755 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:756:14 [INFO] [stdout] | [INFO] [stdout] 756 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 756 | assert_ok!(IdentityOf::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:757:14 [INFO] [stdout] | [INFO] [stdout] 757 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 757 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:761:14 [INFO] [stdout] | [INFO] [stdout] 761 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 761 | assert_ok!(IdentityOf::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:768:4 [INFO] [stdout] | [INFO] [stdout] 768 | Identity::provide_judgement( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 768 | IdentityOf::provide_judgement( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 775 | Error::::JudgementPaymentFailed [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 750 | fn provide_judgement_should_return_judgement_payment_failed_error() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:784:14 [INFO] [stdout] | [INFO] [stdout] 784 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 784 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:785:14 [INFO] [stdout] | [INFO] [stdout] 785 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three), 0, 10)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 785 | assert_ok!(IdentityOf::set_fee(RuntimeOrigin::signed(three), 0, 10)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:802:14 [INFO] [stdout] | [INFO] [stdout] 802 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(id))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 802 | assert_ok!(IdentityOf::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(id))); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:811:14 [INFO] [stdout] | [INFO] [stdout] 811 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 811 | assert_ok!(IdentityOf::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:814:4 [INFO] [stdout] | [INFO] [stdout] 814 | Identity::set_account_id(RuntimeOrigin::signed(four.clone()), 0, three.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 814 | IdentityOf::set_account_id(RuntimeOrigin::signed(four.clone()), 0, three.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [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::::InvalidIndex [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 808 | fn setting_account_id_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:818:14 [INFO] [stdout] | [INFO] [stdout] 818 | assert_ok!(Identity::set_account_id(RuntimeOrigin::signed(three.clone()), 0, four.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 818 | assert_ok!(IdentityOf::set_account_id(RuntimeOrigin::signed(three.clone()), 0, four.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:820:14 [INFO] [stdout] | [INFO] [stdout] 820 | assert_ok!(Identity::set_account_id(RuntimeOrigin::signed(four), 0, three)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 820 | assert_ok!(IdentityOf::set_account_id(RuntimeOrigin::signed(four), 0, three)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:828:14 [INFO] [stdout] | [INFO] [stdout] 828 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 828 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:832:11 [INFO] [stdout] | [INFO] [stdout] 832 | assert!(Identity::has_identity(&ten, IdentityField::Display as u64)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 832 | assert!(IdentityOf::has_identity(&ten, IdentityField::Display as u64)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:833:11 [INFO] [stdout] | [INFO] [stdout] 833 | assert!(Identity::has_identity(&ten, IdentityField::Legal as u64)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 833 | assert!(IdentityOf::has_identity(&ten, IdentityField::Legal as u64)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:834:11 [INFO] [stdout] | [INFO] [stdout] 834 | assert!(Identity::has_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 834 | assert!(IdentityOf::has_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:838:12 [INFO] [stdout] | [INFO] [stdout] 838 | assert!(!Identity::has_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 838 | assert!(!IdentityOf::has_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:850:14 [INFO] [stdout] | [INFO] [stdout] 850 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 850 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:854:14 [INFO] [stdout] | [INFO] [stdout] 854 | assert_ok!(Identity::set_subs( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 854 | assert_ok!(IdentityOf::set_subs( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:860:29 [INFO] [stdout] | [INFO] [stdout] 860 | let subs_deposit: u64 = <::SubAccountDeposit as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:863:14 [INFO] [stdout] | [INFO] [stdout] 863 | assert_ok!(Identity::reap_identity(&ten)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 863 | assert_ok!(IdentityOf::reap_identity(&ten)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:865:24 [INFO] [stdout] | [INFO] [stdout] 865 | assert!(IdentityOf::::get(ten.clone()).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 846 | fn reap_identity_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:866:21 [INFO] [stdout] | [INFO] [stdout] 866 | assert!(SuperOf::::get(twenty).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 846 | fn reap_identity_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:878:16 [INFO] [stdout] | [INFO] [stdout] 878 | IdentityOf::::insert::< [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 873 | fn poke_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:889:24 [INFO] [stdout] | [INFO] [stdout] 889 | assert!(IdentityOf::::get(ten.clone()).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 873 | fn poke_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:891:12 [INFO] [stdout] | [INFO] [stdout] 891 | SubsOf::::insert::<_, (u64, BoundedVec, ConstU32<2>>)>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 873 | fn poke_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:891:60 [INFO] [stdout] | [INFO] [stdout] 891 | SubsOf::::insert::<_, (u64, BoundedVec, ConstU32<2>>)>( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 873 | fn poke_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | SuperOf::::insert(&twenty, (&ten, Data::Raw(vec![1; 1].try_into().unwrap()))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 873 | fn poke_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:900:14 [INFO] [stdout] | [INFO] [stdout] 900 | assert_ok!(Identity::poke_deposit(&ten)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 900 | assert_ok!(IdentityOf::poke_deposit(&ten)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:904:29 [INFO] [stdout] | [INFO] [stdout] 904 | let subs_deposit: u64 = <::SubAccountDeposit as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:908:17 [INFO] [stdout] | [INFO] [stdout] 908 | IdentityOf::::get(&ten), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 873 | fn poke_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:916:23 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!(SubsOf::::get(ten), (subs_deposit, vec![twenty].try_into().unwrap())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 873 | fn poke_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:926:16 [INFO] [stdout] | [INFO] [stdout] 926 | IdentityOf::::insert::< [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 921 | fn poke_deposit_does_not_insert_new_subs_storage() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:937:24 [INFO] [stdout] | [INFO] [stdout] 937 | assert!(IdentityOf::::get(ten.clone()).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 921 | fn poke_deposit_does_not_insert_new_subs_storage() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:943:14 [INFO] [stdout] | [INFO] [stdout] 943 | assert_ok!(Identity::poke_deposit(&ten)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 943 | assert_ok!(IdentityOf::poke_deposit(&ten)); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:950:17 [INFO] [stdout] | [INFO] [stdout] 950 | IdentityOf::::get(&ten), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 921 | fn poke_deposit_does_not_insert_new_subs_storage() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:958:21 [INFO] [stdout] | [INFO] [stdout] 958 | assert!(!SubsOf::::contains_key(&ten)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 921 | fn poke_deposit_does_not_insert_new_subs_storage() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:970:14 [INFO] [stdout] | [INFO] [stdout] 970 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 970 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:976:22 [INFO] [stdout] | [INFO] [stdout] 976 | let suffix: Suffix = suffix.try_into().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 963 | fn adding_and_removing_authorities_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:978:18 [INFO] [stdout] | [INFO] [stdout] 978 | AuthorityOf::::get(&suffix), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 963 | fn adding_and_removing_authorities_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:979:43 [INFO] [stdout] | [INFO] [stdout] 979 | Some(AuthorityProperties::> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 963 | fn adding_and_removing_authorities_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:986:14 [INFO] [stdout] | [INFO] [stdout] 986 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 986 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:993:18 [INFO] [stdout] | [INFO] [stdout] 993 | AuthorityOf::::get(&suffix), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 963 | fn adding_and_removing_authorities_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:994:43 [INFO] [stdout] | [INFO] [stdout] 994 | Some(AuthorityProperties::> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 963 | fn adding_and_removing_authorities_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1001:14 [INFO] [stdout] | [INFO] [stdout] 1001 | assert_ok!(Identity::remove_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1001 | assert_ok!(IdentityOf::remove_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1006:25 [INFO] [stdout] | [INFO] [stdout] 1006 | assert!(AuthorityOf::::get(&suffix).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 963 | fn adding_and_removing_authorities_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1019:14 [INFO] [stdout] | [INFO] [stdout] 1019 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1019 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1031:32 [INFO] [stdout] | [INFO] [stdout] 1031 | let who_account: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1035:14 [INFO] [stdout] | [INFO] [stdout] 1035 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1035 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1045:27 [INFO] [stdout] | [INFO] [stdout] 1045 | assert_eq!(UsernameOf::::get(&who_account), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1050:21 [INFO] [stdout] | [INFO] [stdout] 1050 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1050:44 [INFO] [stdout] | [INFO] [stdout] 1050 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1057:18 [INFO] [stdout] | [INFO] [stdout] 1057 | AuthorityOf::::get(&Identity::suffix_of_username(&username).unwrap()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1057:30 [INFO] [stdout] | [INFO] [stdout] 1057 | AuthorityOf::::get(&Identity::suffix_of_username(&username).unwrap()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1057 | AuthorityOf::::get(&IdentityOf::suffix_of_username(&username).unwrap()) [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1064:35 [INFO] [stdout] | [INFO] [stdout] 1064 | let username_deposit: BalanceOf = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1064:44 [INFO] [stdout] | [INFO] [stdout] 1064 | let username_deposit: BalanceOf = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1070:31 [INFO] [stdout] | [INFO] [stdout] 1070 | let second_who: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1074:14 [INFO] [stdout] | [INFO] [stdout] 1074 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1074 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1084:27 [INFO] [stdout] | [INFO] [stdout] 1084 | assert_eq!(UsernameOf::::get(&second_who), Some(second_username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1091:21 [INFO] [stdout] | [INFO] [stdout] 1091 | UsernameInfoOf::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1091:44 [INFO] [stdout] | [INFO] [stdout] 1091 | UsernameInfoOf::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1101:18 [INFO] [stdout] | [INFO] [stdout] 1101 | AuthorityOf::::get(&Identity::suffix_of_username(&second_username).unwrap()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1011 | fn set_username_with_signature_without_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1101:30 [INFO] [stdout] | [INFO] [stdout] 1101 | AuthorityOf::::get(&Identity::suffix_of_username(&second_username).unwrap()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1101 | AuthorityOf::::get(&IdentityOf::suffix_of_username(&second_username).unwrap()) [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1116:14 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1116 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1128:32 [INFO] [stdout] | [INFO] [stdout] 1128 | let who_account: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1110 | fn set_username_with_signature_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1135:14 [INFO] [stdout] | [INFO] [stdout] 1135 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1135 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1139:14 [INFO] [stdout] | [INFO] [stdout] 1139 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1139 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1147:27 [INFO] [stdout] | [INFO] [stdout] 1147 | assert_eq!(UsernameOf::::get(&who_account), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1110 | fn set_username_with_signature_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1151:21 [INFO] [stdout] | [INFO] [stdout] 1151 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1110 | fn set_username_with_signature_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1151:44 [INFO] [stdout] | [INFO] [stdout] 1151 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1110 | fn set_username_with_signature_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1166:14 [INFO] [stdout] | [INFO] [stdout] 1166 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1166 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1178:32 [INFO] [stdout] | [INFO] [stdout] 1178 | let who_account: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1158 | fn set_username_through_deposit_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1185:35 [INFO] [stdout] | [INFO] [stdout] 1185 | let expected_identity_deposit = Identity::calculate_identity_deposit(&ten_info); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1185 | let expected_identity_deposit = IdentityOf::calculate_identity_deposit(&ten_info); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1186:14 [INFO] [stdout] | [INFO] [stdout] 1186 | assert_ok!(Identity::set_identity( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1186 | assert_ok!(IdentityOf::set_identity( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1192:17 [INFO] [stdout] | [INFO] [stdout] 1192 | IdentityOf::::get(&who_account).unwrap().deposit [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1158 | fn set_username_through_deposit_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1195:14 [INFO] [stdout] | [INFO] [stdout] 1195 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1195 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1203:35 [INFO] [stdout] | [INFO] [stdout] 1203 | let username_deposit: BalanceOf = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1158 | fn set_username_through_deposit_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1203:44 [INFO] [stdout] | [INFO] [stdout] 1203 | let username_deposit: BalanceOf = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1212:27 [INFO] [stdout] | [INFO] [stdout] 1212 | assert_eq!(UsernameOf::::get(&who_account), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1158 | fn set_username_through_deposit_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1218:21 [INFO] [stdout] | [INFO] [stdout] 1218 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1158 | fn set_username_through_deposit_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1218:44 [INFO] [stdout] | [INFO] [stdout] 1218 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1158 | fn set_username_through_deposit_with_existing_identity_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1231:14 [INFO] [stdout] | [INFO] [stdout] 1231 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1231 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1240:32 [INFO] [stdout] | [INFO] [stdout] 1240 | let who_account: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1225 | fn set_username_with_bytes_signature_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1252:14 [INFO] [stdout] | [INFO] [stdout] 1252 | assert_ok!(Identity::validate_signature( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1252 | assert_ok!(IdentityOf::validate_signature( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1272:14 [INFO] [stdout] | [INFO] [stdout] 1272 | assert_ok!(Identity::validate_signature( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1272 | assert_ok!(IdentityOf::validate_signature( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1280:14 [INFO] [stdout] | [INFO] [stdout] 1280 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1280 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1290:27 [INFO] [stdout] | [INFO] [stdout] 1290 | assert_eq!(UsernameOf::::get(&who_account), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1225 | fn set_username_with_bytes_signature_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1295:21 [INFO] [stdout] | [INFO] [stdout] 1295 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1225 | fn set_username_with_bytes_signature_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1295:44 [INFO] [stdout] | [INFO] [stdout] 1295 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1225 | fn set_username_with_bytes_signature_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1310:14 [INFO] [stdout] | [INFO] [stdout] 1310 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1310 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1319:36 [INFO] [stdout] | [INFO] [stdout] 1319 | let now = frame_system::Pallet::::block_number(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1320:28 [INFO] [stdout] | [INFO] [stdout] 1320 | let expiration = now + <::PendingUsernameExpiration as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1322:14 [INFO] [stdout] | [INFO] [stdout] 1322 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1322 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1332:23 [INFO] [stdout] | [INFO] [stdout] 1332 | PendingUsernames::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1332:46 [INFO] [stdout] | [INFO] [stdout] 1332 | PendingUsernames::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1337:14 [INFO] [stdout] | [INFO] [stdout] 1337 | assert_ok!(Identity::accept_username(RuntimeOrigin::signed(who.clone()), username.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1337 | assert_ok!(IdentityOf::accept_username(RuntimeOrigin::signed(who.clone()), username.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1340:30 [INFO] [stdout] | [INFO] [stdout] 1340 | assert!(PendingUsernames::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1340:53 [INFO] [stdout] | [INFO] [stdout] 1340 | assert!(PendingUsernames::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1342:27 [INFO] [stdout] | [INFO] [stdout] 1342 | assert_eq!(UsernameOf::::get(&who), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1346:21 [INFO] [stdout] | [INFO] [stdout] 1346 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1346:44 [INFO] [stdout] | [INFO] [stdout] 1346 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1353:14 [INFO] [stdout] | [INFO] [stdout] 1353 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1353 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1362:27 [INFO] [stdout] | [INFO] [stdout] 1362 | let username_deposit = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1364:23 [INFO] [stdout] | [INFO] [stdout] 1364 | PendingUsernames::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1364:46 [INFO] [stdout] | [INFO] [stdout] 1364 | PendingUsernames::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1372:14 [INFO] [stdout] | [INFO] [stdout] 1372 | assert_ok!(Identity::accept_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1372 | assert_ok!(IdentityOf::accept_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1378:30 [INFO] [stdout] | [INFO] [stdout] 1378 | assert!(PendingUsernames::::get::<&Username>(&second_username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1378:53 [INFO] [stdout] | [INFO] [stdout] 1378 | assert!(PendingUsernames::::get::<&Username>(&second_username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1380:27 [INFO] [stdout] | [INFO] [stdout] 1380 | assert_eq!(UsernameOf::::get(&second_caller), Some(second_username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1387:21 [INFO] [stdout] | [INFO] [stdout] 1387 | UsernameInfoOf::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1387:44 [INFO] [stdout] | [INFO] [stdout] 1387 | UsernameInfoOf::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1302 | fn set_username_with_acceptance_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1412:5 [INFO] [stdout] | [INFO] [stdout] 1412 | Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1412 | IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1418:13 [INFO] [stdout] | [INFO] [stdout] 1418 | Error::::InvalidSuffix [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1398 | fn invalid_usernames_should_be_rejected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1423:14 [INFO] [stdout] | [INFO] [stdout] 1423 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1423 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1448:5 [INFO] [stdout] | [INFO] [stdout] 1448 | Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1448 | IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1455:13 [INFO] [stdout] | [INFO] [stdout] 1455 | Error::::InvalidUsername [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1398 | fn invalid_usernames_should_be_rejected() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1463:14 [INFO] [stdout] | [INFO] [stdout] 1463 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1463 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1481:14 [INFO] [stdout] | [INFO] [stdout] 1481 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1481 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1488:14 [INFO] [stdout] | [INFO] [stdout] 1488 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1488 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1495:14 [INFO] [stdout] | [INFO] [stdout] 1495 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1495 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1503:4 [INFO] [stdout] | [INFO] [stdout] 1503 | Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1503 | IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1510:12 [INFO] [stdout] | [INFO] [stdout] 1510 | Error::::NoAllocation [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1474 | fn authorities_should_run_out_of_allocation() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1522:14 [INFO] [stdout] | [INFO] [stdout] 1522 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1522 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1531:32 [INFO] [stdout] | [INFO] [stdout] 1531 | let who_account: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1538:14 [INFO] [stdout] | [INFO] [stdout] 1538 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1538 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1547:27 [INFO] [stdout] | [INFO] [stdout] 1547 | assert_eq!(UsernameOf::::get(&who_account), Some(first_username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1554:14 [INFO] [stdout] | [INFO] [stdout] 1554 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1554 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1563:27 [INFO] [stdout] | [INFO] [stdout] 1563 | assert_eq!(UsernameOf::::get(&who_account), Some(first_username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1569:21 [INFO] [stdout] | [INFO] [stdout] 1569 | UsernameInfoOf::::get::<&Username>(&first_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1569:44 [INFO] [stdout] | [INFO] [stdout] 1569 | UsernameInfoOf::::get::<&Username>(&first_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1573:21 [INFO] [stdout] | [INFO] [stdout] 1573 | UsernameInfoOf::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1573:44 [INFO] [stdout] | [INFO] [stdout] 1573 | UsernameInfoOf::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1577:14 [INFO] [stdout] | [INFO] [stdout] 1577 | assert_ok!(Identity::set_primary_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1577 | assert_ok!(IdentityOf::set_primary_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1583:27 [INFO] [stdout] | [INFO] [stdout] 1583 | assert_eq!(UsernameOf::::get(&who_account), Some(second_username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1587:21 [INFO] [stdout] | [INFO] [stdout] 1587 | UsernameInfoOf::::get::<&Username>(&first_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1587:44 [INFO] [stdout] | [INFO] [stdout] 1587 | UsernameInfoOf::::get::<&Username>(&first_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1591:21 [INFO] [stdout] | [INFO] [stdout] 1591 | UsernameInfoOf::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1591:44 [INFO] [stdout] | [INFO] [stdout] 1591 | UsernameInfoOf::::get::<&Username>(&second_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1516 | fn setting_primary_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1604:14 [INFO] [stdout] | [INFO] [stdout] 1604 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1604 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1613:31 [INFO] [stdout] | [INFO] [stdout] 1613 | let pi_account: AccountIdOf = MultiSigner::Sr25519(pi_public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1598 | fn must_own_primary() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1617:14 [INFO] [stdout] | [INFO] [stdout] 1617 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1617 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1627:30 [INFO] [stdout] | [INFO] [stdout] 1627 | let e_account: AccountIdOf = MultiSigner::Sr25519(e_public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1598 | fn must_own_primary() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1631:14 [INFO] [stdout] | [INFO] [stdout] 1631 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1631 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1643:21 [INFO] [stdout] | [INFO] [stdout] 1643 | UsernameInfoOf::::get::<&Username>(&pi_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1598 | fn must_own_primary() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1643:44 [INFO] [stdout] | [INFO] [stdout] 1643 | UsernameInfoOf::::get::<&Username>(&pi_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1598 | fn must_own_primary() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1649:21 [INFO] [stdout] | [INFO] [stdout] 1649 | UsernameInfoOf::::get::<&Username>(&e_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1598 | fn must_own_primary() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1649:44 [INFO] [stdout] | [INFO] [stdout] 1649 | UsernameInfoOf::::get::<&Username>(&e_username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1598 | fn must_own_primary() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1656:4 [INFO] [stdout] | [INFO] [stdout] 1656 | Identity::set_primary_username(RuntimeOrigin::signed(pi_account.clone()), c_username), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1656 | IdentityOf::set_primary_username(RuntimeOrigin::signed(pi_account.clone()), c_username), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1657:12 [INFO] [stdout] | [INFO] [stdout] 1657 | Error::::NoUsername [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1598 | fn must_own_primary() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1662:4 [INFO] [stdout] | [INFO] [stdout] 1662 | Identity::set_primary_username(RuntimeOrigin::signed(pi_account.clone()), e_username), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1662 | IdentityOf::set_primary_username(RuntimeOrigin::signed(pi_account.clone()), e_username), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1663:12 [INFO] [stdout] | [INFO] [stdout] 1663 | Error::::InvalidUsername [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1598 | fn must_own_primary() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1677:14 [INFO] [stdout] | [INFO] [stdout] 1677 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1677 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1686:36 [INFO] [stdout] | [INFO] [stdout] 1686 | let now = frame_system::Pallet::::block_number(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1687:28 [INFO] [stdout] | [INFO] [stdout] 1687 | let expiration = now + <::PendingUsernameExpiration as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1689:22 [INFO] [stdout] | [INFO] [stdout] 1689 | let suffix: Suffix = suffix.try_into().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1691:28 [INFO] [stdout] | [INFO] [stdout] 1691 | assert_eq!(AuthorityOf::::get(&suffix).unwrap().allocation, 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1692:14 [INFO] [stdout] | [INFO] [stdout] 1692 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1692 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1700:28 [INFO] [stdout] | [INFO] [stdout] 1700 | assert_eq!(AuthorityOf::::get(&suffix).unwrap().allocation, 9); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1704:23 [INFO] [stdout] | [INFO] [stdout] 1704 | PendingUsernames::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1704:46 [INFO] [stdout] | [INFO] [stdout] 1704 | PendingUsernames::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1708:3 [INFO] [stdout] | [INFO] [stdout] 1708 | System::run_to_block::(now + expiration - 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 `AllPalletsWithSystem` in this scope [INFO] [stdout] --> src/tests.rs:1708:26 [INFO] [stdout] | [INFO] [stdout] 1708 | System::run_to_block::(now + expiration - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1712:4 [INFO] [stdout] | [INFO] [stdout] 1712 | Identity::remove_expired_approval(RuntimeOrigin::signed(account(1)), username.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1712 | IdentityOf::remove_expired_approval(RuntimeOrigin::signed(account(1)), username.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1713:12 [INFO] [stdout] | [INFO] [stdout] 1713 | Error::::NotExpired [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1716:3 [INFO] [stdout] | [INFO] [stdout] 1716 | System::run_to_block::(now + expiration); [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 `AllPalletsWithSystem` in this scope [INFO] [stdout] --> src/tests.rs:1716:26 [INFO] [stdout] | [INFO] [stdout] 1716 | System::run_to_block::(now + expiration); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1719:14 [INFO] [stdout] | [INFO] [stdout] 1719 | assert_ok!(Identity::remove_expired_approval( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1719 | assert_ok!(IdentityOf::remove_expired_approval( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1725:28 [INFO] [stdout] | [INFO] [stdout] 1725 | assert_eq!(AuthorityOf::::get(&suffix).unwrap().allocation, 9); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1728:30 [INFO] [stdout] | [INFO] [stdout] 1728 | assert!(PendingUsernames::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1728:53 [INFO] [stdout] | [INFO] [stdout] 1728 | assert!(PendingUsernames::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1669 | fn unaccepted_usernames_through_grant_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1741:14 [INFO] [stdout] | [INFO] [stdout] 1741 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1741 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1750:36 [INFO] [stdout] | [INFO] [stdout] 1750 | let now = frame_system::Pallet::::block_number(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1751:28 [INFO] [stdout] | [INFO] [stdout] 1751 | let expiration = now + <::PendingUsernameExpiration as Get>::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1753:22 [INFO] [stdout] | [INFO] [stdout] 1753 | let suffix: Suffix = suffix.try_into().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1754:35 [INFO] [stdout] | [INFO] [stdout] 1754 | let username_deposit: BalanceOf = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1754:44 [INFO] [stdout] | [INFO] [stdout] 1754 | let username_deposit: BalanceOf = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1756:28 [INFO] [stdout] | [INFO] [stdout] 1756 | assert_eq!(AuthorityOf::::get(&suffix).unwrap().allocation, 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1757:14 [INFO] [stdout] | [INFO] [stdout] 1757 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1757 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1768:28 [INFO] [stdout] | [INFO] [stdout] 1768 | assert_eq!(AuthorityOf::::get(&suffix).unwrap().allocation, 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1772:23 [INFO] [stdout] | [INFO] [stdout] 1772 | PendingUsernames::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1772:46 [INFO] [stdout] | [INFO] [stdout] 1772 | PendingUsernames::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1776:3 [INFO] [stdout] | [INFO] [stdout] 1776 | System::run_to_block::(now + expiration - 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 `AllPalletsWithSystem` in this scope [INFO] [stdout] --> src/tests.rs:1776:26 [INFO] [stdout] | [INFO] [stdout] 1776 | System::run_to_block::(now + expiration - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1780:4 [INFO] [stdout] | [INFO] [stdout] 1780 | Identity::remove_expired_approval(RuntimeOrigin::signed(account(1)), username.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1780 | IdentityOf::remove_expired_approval(RuntimeOrigin::signed(account(1)), username.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1781:12 [INFO] [stdout] | [INFO] [stdout] 1781 | Error::::NotExpired [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1784:3 [INFO] [stdout] | [INFO] [stdout] 1784 | System::run_to_block::(now + expiration); [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 `AllPalletsWithSystem` in this scope [INFO] [stdout] --> src/tests.rs:1784:26 [INFO] [stdout] | [INFO] [stdout] 1784 | System::run_to_block::(now + expiration); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1792:14 [INFO] [stdout] | [INFO] [stdout] 1792 | assert_ok!(Identity::remove_expired_approval( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1792 | assert_ok!(IdentityOf::remove_expired_approval( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1799:28 [INFO] [stdout] | [INFO] [stdout] 1799 | assert_eq!(AuthorityOf::::get(&suffix).unwrap().allocation, 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1802:30 [INFO] [stdout] | [INFO] [stdout] 1802 | assert!(PendingUsernames::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1802:53 [INFO] [stdout] | [INFO] [stdout] 1802 | assert!(PendingUsernames::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1733 | fn unaccepted_usernames_through_deposit_should_expire() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1815:14 [INFO] [stdout] | [INFO] [stdout] 1815 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1815 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1825:14 [INFO] [stdout] | [INFO] [stdout] 1825 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1825 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1832:27 [INFO] [stdout] | [INFO] [stdout] 1832 | let username_deposit = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1839:32 [INFO] [stdout] | [INFO] [stdout] 1839 | let who_account: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1845:14 [INFO] [stdout] | [INFO] [stdout] 1845 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1845 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1864:14 [INFO] [stdout] | [INFO] [stdout] 1864 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1864 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1883:14 [INFO] [stdout] | [INFO] [stdout] 1883 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1883 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1897:27 [INFO] [stdout] | [INFO] [stdout] 1897 | assert_eq!(UsernameOf::::get(&who_account), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1905:21 [INFO] [stdout] | [INFO] [stdout] 1905 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1905:44 [INFO] [stdout] | [INFO] [stdout] 1905 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1909:21 [INFO] [stdout] | [INFO] [stdout] 1909 | UsernameInfoOf::::get::<&Username>(&username_two), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1909:44 [INFO] [stdout] | [INFO] [stdout] 1909 | UsernameInfoOf::::get::<&Username>(&username_two), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1915:4 [INFO] [stdout] | [INFO] [stdout] 1915 | Identity::kill_username(RuntimeOrigin::signed(authority.clone()), username.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1915 | IdentityOf::kill_username(RuntimeOrigin::signed(authority.clone()), username.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1921:4 [INFO] [stdout] | [INFO] [stdout] 1921 | Identity::kill_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1921 | IdentityOf::kill_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1925:12 [INFO] [stdout] | [INFO] [stdout] 1925 | Error::::NoUsername [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1929:14 [INFO] [stdout] | [INFO] [stdout] 1929 | assert_ok!(Identity::unbind_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1929 | assert_ok!(IdentityOf::unbind_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1935:14 [INFO] [stdout] | [INFO] [stdout] 1935 | assert_ok!(Identity::kill_username(RuntimeOrigin::root(), username_two.clone().into())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1935 | assert_ok!(IdentityOf::kill_username(RuntimeOrigin::root(), username_two.clone().into())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1938:28 [INFO] [stdout] | [INFO] [stdout] 1938 | assert!(UsernameInfoOf::::get::<&Username>(&username_two).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1938:51 [INFO] [stdout] | [INFO] [stdout] 1938 | assert!(UsernameInfoOf::::get::<&Username>(&username_two).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1940:32 [INFO] [stdout] | [INFO] [stdout] 1940 | assert!(UnbindingUsernames::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1940:55 [INFO] [stdout] | [INFO] [stdout] 1940 | assert!(UnbindingUsernames::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1946:21 [INFO] [stdout] | [INFO] [stdout] 1946 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1946:44 [INFO] [stdout] | [INFO] [stdout] 1946 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1949:27 [INFO] [stdout] | [INFO] [stdout] 1949 | assert_eq!(UsernameOf::::get(&who_account), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1950:28 [INFO] [stdout] | [INFO] [stdout] 1950 | assert!(UsernameInfoOf::::contains_key(&username_three)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1953:14 [INFO] [stdout] | [INFO] [stdout] 1953 | assert_ok!(Identity::kill_username(RuntimeOrigin::root(), username.clone().into())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1953 | assert_ok!(IdentityOf::kill_username(RuntimeOrigin::root(), username.clone().into())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1956:28 [INFO] [stdout] | [INFO] [stdout] 1956 | assert!(UsernameInfoOf::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1956:51 [INFO] [stdout] | [INFO] [stdout] 1956 | assert!(UsernameInfoOf::::get::<&Username>(&username).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1957:25 [INFO] [stdout] | [INFO] [stdout] 1957 | assert!(!UsernameOf::::contains_key(&who_account)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1965:21 [INFO] [stdout] | [INFO] [stdout] 1965 | UsernameInfoOf::::get::<&Username>(&username_three), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1965:44 [INFO] [stdout] | [INFO] [stdout] 1965 | UsernameInfoOf::::get::<&Username>(&username_three), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1970:14 [INFO] [stdout] | [INFO] [stdout] 1970 | assert_ok!(Identity::kill_username(RuntimeOrigin::root(), username_three.clone().into())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1970 | assert_ok!(IdentityOf::kill_username(RuntimeOrigin::root(), username_three.clone().into())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1972:29 [INFO] [stdout] | [INFO] [stdout] 1972 | assert!(!UsernameInfoOf::::contains_key(&username_three)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1807 | fn kill_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:1985:14 [INFO] [stdout] | [INFO] [stdout] 1985 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1985 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1992:27 [INFO] [stdout] | [INFO] [stdout] 1992 | let username_deposit = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1999:32 [INFO] [stdout] | [INFO] [stdout] 1999 | let who_account: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2005:14 [INFO] [stdout] | [INFO] [stdout] 2005 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2005 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2024:14 [INFO] [stdout] | [INFO] [stdout] 2024 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2024 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2038:27 [INFO] [stdout] | [INFO] [stdout] 2038 | assert_eq!(UsernameOf::::get(&who_account), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2046:21 [INFO] [stdout] | [INFO] [stdout] 2046 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2046:44 [INFO] [stdout] | [INFO] [stdout] 2046 | UsernameInfoOf::::get::<&Username>(&username), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2052:21 [INFO] [stdout] | [INFO] [stdout] 2052 | UsernameInfoOf::::get::<&Username>(&username_two), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2052:44 [INFO] [stdout] | [INFO] [stdout] 2052 | UsernameInfoOf::::get::<&Username>(&username_two), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2058:4 [INFO] [stdout] | [INFO] [stdout] 2058 | Identity::kill_username(RuntimeOrigin::signed(authority.clone()), username.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2058 | IdentityOf::kill_username(RuntimeOrigin::signed(authority.clone()), username.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2067:4 [INFO] [stdout] | [INFO] [stdout] 2067 | Identity::unbind_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2067 | IdentityOf::unbind_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2071:12 [INFO] [stdout] | [INFO] [stdout] 2071 | Error::::NoUsername [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2074:28 [INFO] [stdout] | [INFO] [stdout] 2074 | let dummy_suffix: Suffix = dummy_suffix.try_into().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2076:20 [INFO] [stdout] | [INFO] [stdout] 2076 | UsernameInfoOf::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2081:4 [INFO] [stdout] | [INFO] [stdout] 2081 | Identity::unbind_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2081 | IdentityOf::unbind_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2085:12 [INFO] [stdout] | [INFO] [stdout] 2085 | Error::::NotUsernameAuthority [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2088:17 [INFO] [stdout] | [INFO] [stdout] 2088 | AuthorityOf::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2095:4 [INFO] [stdout] | [INFO] [stdout] 2095 | Identity::unbind_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2095 | IdentityOf::unbind_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2099:12 [INFO] [stdout] | [INFO] [stdout] 2099 | Error::::NotUsernameAuthority [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2102:28 [INFO] [stdout] | [INFO] [stdout] 2102 | let _ = UsernameInfoOf::::take(dummy_username.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2103:25 [INFO] [stdout] | [INFO] [stdout] 2103 | let _ = AuthorityOf::::take(dummy_suffix); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2106:14 [INFO] [stdout] | [INFO] [stdout] 2106 | assert_ok!(Identity::unbind_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2106 | assert_ok!(IdentityOf::unbind_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2110:36 [INFO] [stdout] | [INFO] [stdout] 2110 | let grace_period: BlockNumberFor = ::UsernameGracePeriod::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2110:45 [INFO] [stdout] | [INFO] [stdout] 2110 | let grace_period: BlockNumberFor = ::UsernameGracePeriod::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2112:14 [INFO] [stdout] | [INFO] [stdout] 2112 | assert_eq!(System::block_number(), now); [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:2113:52 [INFO] [stdout] | [INFO] [stdout] 2113 | let expected_grace_period_expiry: BlockNumberFor = now + grace_period; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2115:25 [INFO] [stdout] | [INFO] [stdout] 2115 | UnbindingUsernames::::get(&username_two), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2121:4 [INFO] [stdout] | [INFO] [stdout] 2121 | Identity::remove_username(RuntimeOrigin::signed(account(0)), username_two.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2121 | IdentityOf::remove_username(RuntimeOrigin::signed(account(0)), username_two.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2122:12 [INFO] [stdout] | [INFO] [stdout] 2122 | Error::::TooEarly [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_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:2126:3 [INFO] [stdout] | [INFO] [stdout] 2126 | System::set_block_number(expected_grace_period_expiry); [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:2128:22 [INFO] [stdout] | [INFO] [stdout] 2128 | let suffix: Suffix = suffix.try_into().unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2130:14 [INFO] [stdout] | [INFO] [stdout] 2130 | assert_ok!(Identity::remove_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2130 | assert_ok!(IdentityOf::remove_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2135:33 [INFO] [stdout] | [INFO] [stdout] 2135 | assert!(!UnbindingUsernames::::contains_key(&username_two)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2136:29 [INFO] [stdout] | [INFO] [stdout] 2136 | assert!(!UsernameInfoOf::::contains_key(&username_two)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2138:27 [INFO] [stdout] | [INFO] [stdout] 2138 | assert_eq!(UsernameOf::::get(&who_account), Some(username.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2145:28 [INFO] [stdout] | [INFO] [stdout] 2145 | assert_eq!(AuthorityOf::::get(&suffix).unwrap().allocation, 9); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2148:14 [INFO] [stdout] | [INFO] [stdout] 2148 | assert_ok!(Identity::unbind_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2148 | assert_ok!(IdentityOf::unbind_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2152:27 [INFO] [stdout] | [INFO] [stdout] 2152 | let now: BlockNumberFor = expected_grace_period_expiry; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_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:2153:14 [INFO] [stdout] | [INFO] [stdout] 2153 | assert_eq!(System::block_number(), now); [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:2154:52 [INFO] [stdout] | [INFO] [stdout] 2154 | let expected_grace_period_expiry: BlockNumberFor = now + grace_period; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2155:35 [INFO] [stdout] | [INFO] [stdout] 2155 | assert_eq!(UnbindingUsernames::::get(&username), Some(expected_grace_period_expiry)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_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:2157:3 [INFO] [stdout] | [INFO] [stdout] 2157 | System::set_block_number(expected_grace_period_expiry); [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 `Identity` [INFO] [stdout] --> src/tests.rs:2159:14 [INFO] [stdout] | [INFO] [stdout] 2159 | assert_ok!(Identity::remove_username(RuntimeOrigin::signed(account(0)), username.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2159 | assert_ok!(IdentityOf::remove_username(RuntimeOrigin::signed(account(0)), username.clone())); [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2161:33 [INFO] [stdout] | [INFO] [stdout] 2161 | assert!(!UnbindingUsernames::::contains_key(&username)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2162:29 [INFO] [stdout] | [INFO] [stdout] 2162 | assert!(!UsernameInfoOf::::contains_key(&username)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2164:25 [INFO] [stdout] | [INFO] [stdout] 2164 | assert!(!UsernameOf::::contains_key(&who_account)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2168:28 [INFO] [stdout] | [INFO] [stdout] 2168 | assert_eq!(AuthorityOf::::get(&suffix).unwrap().allocation, 9); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1977 | fn unbind_and_remove_username_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2182:14 [INFO] [stdout] | [INFO] [stdout] 2182 | assert_ok!(Identity::add_username_authority( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2182 | assert_ok!(IdentityOf::add_username_authority( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2189:35 [INFO] [stdout] | [INFO] [stdout] 2189 | let username_deposit: BalanceOf = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2174 | fn unbind_dangling_username_defensive_should_panic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2189:44 [INFO] [stdout] | [INFO] [stdout] 2189 | let username_deposit: BalanceOf = ::UsernameDeposit::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2196:32 [INFO] [stdout] | [INFO] [stdout] 2196 | let who_account: AccountIdOf = MultiSigner::Sr25519(public).into_account().into(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2174 | fn unbind_dangling_username_defensive_should_panic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2202:14 [INFO] [stdout] | [INFO] [stdout] 2202 | assert_ok!(Identity::set_username_for( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2202 | assert_ok!(IdentityOf::set_username_for( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2215:14 [INFO] [stdout] | [INFO] [stdout] 2215 | assert_ok!(Identity::unbind_username( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2215 | assert_ok!(IdentityOf::unbind_username( [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2219:14 [INFO] [stdout] | [INFO] [stdout] 2219 | assert_eq!(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[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2220:35 [INFO] [stdout] | [INFO] [stdout] 2220 | assert_eq!(UnbindingUsernames::::get(&username), Some(1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2174 | fn unbind_dangling_username_defensive_should_panic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2224:4 [INFO] [stdout] | [INFO] [stdout] 2224 | Identity::remove_username(RuntimeOrigin::signed(account(0)), username.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2224 | IdentityOf::remove_username(RuntimeOrigin::signed(account(0)), username.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2225:12 [INFO] [stdout] | [INFO] [stdout] 2225 | Error::::TooEarly [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2174 | fn unbind_dangling_username_defensive_should_panic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:2229:3 [INFO] [stdout] | [INFO] [stdout] 2229 | System::set_block_number(3); [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:2232:20 [INFO] [stdout] | [INFO] [stdout] 2232 | UsernameInfoOf::::remove(&username); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2174 | fn unbind_dangling_username_defensive_should_panic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2233:16 [INFO] [stdout] | [INFO] [stdout] 2233 | UsernameOf::::remove(&who_account); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2174 | fn unbind_dangling_username_defensive_should_panic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identity` [INFO] [stdout] --> src/tests.rs:2235:4 [INFO] [stdout] | [INFO] [stdout] 2235 | Identity::remove_username(RuntimeOrigin::signed(account(0)), username.clone()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identity` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::migration::v2::Identity` exists but is inaccessible [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2235 | IdentityOf::remove_username(RuntimeOrigin::signed(account(0)), username.clone()), [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::Identity; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::traits::Identity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:2236:12 [INFO] [stdout] | [INFO] [stdout] 2236 | Error::::NoUsername [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2174 | fn unbind_dangling_username_defensive_should_panic() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib.rs:1443:34 [INFO] [stdout] | [INFO] [stdout] 1443 | .map_or(false, |registration| (registration.info.has_identity(fields))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1443 - .map_or(false, |registration| (registration.info.has_identity(fields))) [INFO] [stdout] 1443 + .map_or(false, |registration| registration.info.has_identity(fields)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | Identity::add_sub(RuntimeOrigin::signed(ten.clone()), twenty.clone(), data(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | RuntimeOrigin::signed(ten.clone()), [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:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(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:251:14 [INFO] [stdout] | [INFO] [stdout] 251 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:254:32 [INFO] [stdout] | [INFO] [stdout] 254 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(ten.clone()), two.clone(), data(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:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - 2 * sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | Identity::add_sub(RuntimeOrigin::signed(ten.clone()), three.clone(), data(3)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:266:35 [INFO] [stdout] | [INFO] [stdout] 266 | assert_ok!(Identity::rename_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(11))); [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:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - 2 * sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:276:35 [INFO] [stdout] | [INFO] [stdout] 276 | assert_ok!(Identity::remove_sub(RuntimeOrigin::signed(ten.clone()), one.clone())); [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:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:282:32 [INFO] [stdout] | [INFO] [stdout] 282 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(ten.clone()), three.clone(), data(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:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | assert_eq!(Balances::free_balance(ten), 1000 - id_deposit - 2 * sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:301:37 [INFO] [stdout] | [INFO] [stdout] 301 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [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:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - ten_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:304:4 [INFO] [stdout] | [INFO] [stdout] 304 | RuntimeOrigin::signed(twenty.clone()), [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:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(Balances::free_balance(twenty.clone()), 1000 - twenty_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:310:32 [INFO] [stdout] | [INFO] [stdout] 310 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(ten.clone()), one.clone(), data(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:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | assert_eq!(Balances::free_balance(one.clone()), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - ten_deposit - sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:313:14 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(Balances::reserved_balance(ten.clone()), ten_deposit + sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:316:22 [INFO] [stdout] | [INFO] [stdout] 316 | Identity::add_sub(RuntimeOrigin::signed(twenty.clone()), one.clone(), data(1)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | assert_ok!(Identity::quit_sub(RuntimeOrigin::signed(one.clone()))); [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:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(Balances::free_balance(one.clone()), 100 + sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:323:14 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - ten_deposit - sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:324:14 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(Balances::reserved_balance(ten), ten_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:326:32 [INFO] [stdout] | [INFO] [stdout] 326 | assert_ok!(Identity::add_sub(RuntimeOrigin::signed(twenty), one, data(1))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:344:38 [INFO] [stdout] | [INFO] [stdout] 344 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:345:32 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:348:25 [INFO] [stdout] | [INFO] [stdout] 348 | Identity::set_fields(RuntimeOrigin::signed(three), 100, fields.bits()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:359:32 [INFO] [stdout] | [INFO] [stdout] 359 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:361:35 [INFO] [stdout] | [INFO] [stdout] 361 | assert_ok!(Identity::set_fields(RuntimeOrigin::signed(three.clone()), 0, fields.bits())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:373:39 [INFO] [stdout] | [INFO] [stdout] 373 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), account_from_u32(ii))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:377:28 [INFO] [stdout] | [INFO] [stdout] 377 | Identity::add_registrar(RuntimeOrigin::root(), account_from_u32(last_registrar)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:387:38 [INFO] [stdout] | [INFO] [stdout] 387 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:388:32 [INFO] [stdout] | [INFO] [stdout] 388 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:396:4 [INFO] [stdout] | [INFO] [stdout] 396 | RuntimeOrigin::signed(ten.clone()), [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:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:401:39 [INFO] [stdout] | [INFO] [stdout] 401 | assert_ok!(Identity::clear_identity(RuntimeOrigin::signed(ten.clone()))); [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::free_balance(ten.clone()), 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:404:29 [INFO] [stdout] | [INFO] [stdout] 404 | Identity::clear_identity(RuntimeOrigin::signed(ten)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | RuntimeOrigin::signed(three.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:425:38 [INFO] [stdout] | [INFO] [stdout] 425 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | RuntimeOrigin::signed(three.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:438:4 [INFO] [stdout] | [INFO] [stdout] 438 | RuntimeOrigin::signed(ten.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | RuntimeOrigin::signed(three.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | RuntimeOrigin::signed(ten.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | RuntimeOrigin::signed(three.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:476:4 [INFO] [stdout] | [INFO] [stdout] 476 | RuntimeOrigin::signed(three.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:493:38 [INFO] [stdout] | [INFO] [stdout] 493 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:495:4 [INFO] [stdout] | [INFO] [stdout] 495 | RuntimeOrigin::signed(ten.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:499:4 [INFO] [stdout] | [INFO] [stdout] 499 | RuntimeOrigin::signed(three.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:505:39 [INFO] [stdout] | [INFO] [stdout] 505 | assert_ok!(Identity::clear_identity(RuntimeOrigin::signed(ten.clone()))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:516:37 [INFO] [stdout] | [INFO] [stdout] 516 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:517:40 [INFO] [stdout] | [INFO] [stdout] 517 | assert_noop!(Identity::kill_identity(RuntimeOrigin::signed(one), ten.clone()), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:518:38 [INFO] [stdout] | [INFO] [stdout] 518 | assert_ok!(Identity::kill_identity(RuntimeOrigin::root(), ten.clone())); [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:520:14 [INFO] [stdout] | [INFO] [stdout] 520 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:522:28 [INFO] [stdout] | [INFO] [stdout] 522 | Identity::kill_identity(RuntimeOrigin::root(), ten), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:537:23 [INFO] [stdout] | [INFO] [stdout] 537 | Identity::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:541:37 [INFO] [stdout] | [INFO] [stdout] 541 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [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::free_balance(ten.clone()), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:543:33 [INFO] [stdout] | [INFO] [stdout] 543 | assert_ok!(Identity::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [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:551:14 [INFO] [stdout] | [INFO] [stdout] 551 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:563:33 [INFO] [stdout] | [INFO] [stdout] 563 | assert_ok!(Identity::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [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:564:14 [INFO] [stdout] | [INFO] [stdout] 564 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - 2 * sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | assert_ok!(Identity::set_subs(RuntimeOrigin::signed(ten.clone()), subs.clone())); [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:582:14 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - 2 * sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:598:33 [INFO] [stdout] | [INFO] [stdout] 598 | assert_ok!(Identity::set_subs(RuntimeOrigin::signed(ten.clone()), vec![])); [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:599:14 [INFO] [stdout] | [INFO] [stdout] 599 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:606:23 [INFO] [stdout] | [INFO] [stdout] 606 | Identity::set_subs(RuntimeOrigin::signed(ten), subs.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:618:4 [INFO] [stdout] | [INFO] [stdout] 618 | RuntimeOrigin::signed(ten.clone()), [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::free_balance(ten.clone()), 1000 - id_deposit(&ten_info)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:623:4 [INFO] [stdout] | [INFO] [stdout] 623 | RuntimeOrigin::signed(ten.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:626:39 [INFO] [stdout] | [INFO] [stdout] 626 | assert_ok!(Identity::clear_identity(RuntimeOrigin::signed(ten.clone()))); [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:627:14 [INFO] [stdout] | [INFO] [stdout] 627 | assert_eq!(Balances::free_balance(ten), 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:639:37 [INFO] [stdout] | [INFO] [stdout] 639 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(ten_info))); [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:640:14 [INFO] [stdout] | [INFO] [stdout] 640 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:642:4 [INFO] [stdout] | [INFO] [stdout] 642 | RuntimeOrigin::signed(ten.clone()), [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:645:14 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:646:38 [INFO] [stdout] | [INFO] [stdout] 646 | assert_ok!(Identity::kill_identity(RuntimeOrigin::root(), ten.clone())); [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:647:14 [INFO] [stdout] | [INFO] [stdout] 647 | assert_eq!(Balances::free_balance(ten), 1000 - id_deposit - sub_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:656:38 [INFO] [stdout] | [INFO] [stdout] 656 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:657:32 [INFO] [stdout] | [INFO] [stdout] 657 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:659:29 [INFO] [stdout] | [INFO] [stdout] 659 | Identity::cancel_request(RuntimeOrigin::signed(ten.clone()), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:664:4 [INFO] [stdout] | [INFO] [stdout] 664 | RuntimeOrigin::signed(ten.clone()), [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:667:14 [INFO] [stdout] | [INFO] [stdout] 667 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit(&ten_info)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:668:42 [INFO] [stdout] | [INFO] [stdout] 668 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:669:39 [INFO] [stdout] | [INFO] [stdout] 669 | assert_ok!(Identity::cancel_request(RuntimeOrigin::signed(ten.clone()), 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:670:14 [INFO] [stdout] | [INFO] [stdout] 670 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit(&ten_info)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:672:29 [INFO] [stdout] | [INFO] [stdout] 672 | Identity::cancel_request(RuntimeOrigin::signed(ten.clone()), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:677:4 [INFO] [stdout] | [INFO] [stdout] 677 | RuntimeOrigin::signed(three), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:684:29 [INFO] [stdout] | [INFO] [stdout] 684 | Identity::cancel_request(RuntimeOrigin::signed(ten), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:694:38 [INFO] [stdout] | [INFO] [stdout] 694 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:695:32 [INFO] [stdout] | [INFO] [stdout] 695 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:699:4 [INFO] [stdout] | [INFO] [stdout] 699 | RuntimeOrigin::signed(ten.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:702:14 [INFO] [stdout] | [INFO] [stdout] 702 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:704:32 [INFO] [stdout] | [INFO] [stdout] 704 | Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 9), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:707:42 [INFO] [stdout] | [INFO] [stdout] 707 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:709:14 [INFO] [stdout] | [INFO] [stdout] 709 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:713:32 [INFO] [stdout] | [INFO] [stdout] 713 | Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:717:4 [INFO] [stdout] | [INFO] [stdout] 717 | RuntimeOrigin::signed(three.clone()), [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:725:14 [INFO] [stdout] | [INFO] [stdout] 725 | assert_eq!(Balances::free_balance(three.clone()), 100 + 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:729:32 [INFO] [stdout] | [INFO] [stdout] 729 | Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:734:38 [INFO] [stdout] | [INFO] [stdout] 734 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), four)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:735:42 [INFO] [stdout] | [INFO] [stdout] 735 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 1, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:739:4 [INFO] [stdout] | [INFO] [stdout] 739 | RuntimeOrigin::signed(three), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:745:42 [INFO] [stdout] | [INFO] [stdout] 745 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:755:38 [INFO] [stdout] | [INFO] [stdout] 755 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:756:32 [INFO] [stdout] | [INFO] [stdout] 756 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:758:4 [INFO] [stdout] | [INFO] [stdout] 758 | RuntimeOrigin::signed(ten.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:761:42 [INFO] [stdout] | [INFO] [stdout] 761 | assert_ok!(Identity::request_judgement(RuntimeOrigin::signed(ten.clone()), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:763:14 [INFO] [stdout] | [INFO] [stdout] 763 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - 10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:766:3 [INFO] [stdout] | [INFO] [stdout] 766 | Balances::make_free_balance_be(&three, 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | RuntimeOrigin::signed(three.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:784:38 [INFO] [stdout] | [INFO] [stdout] 784 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:785:32 [INFO] [stdout] | [INFO] [stdout] 785 | assert_ok!(Identity::set_fee(RuntimeOrigin::signed(three), 0, 10)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:802:37 [INFO] [stdout] | [INFO] [stdout] 802 | assert_ok!(Identity::set_identity(RuntimeOrigin::signed(ten.clone()), Box::new(id))); [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:803:14 [INFO] [stdout] | [INFO] [stdout] 803 | assert_eq!(Balances::free_balance(ten), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:811:38 [INFO] [stdout] | [INFO] [stdout] 811 | assert_ok!(Identity::add_registrar(RuntimeOrigin::root(), three.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:814:29 [INFO] [stdout] | [INFO] [stdout] 814 | Identity::set_account_id(RuntimeOrigin::signed(four.clone()), 0, three.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:818:39 [INFO] [stdout] | [INFO] [stdout] 818 | assert_ok!(Identity::set_account_id(RuntimeOrigin::signed(three.clone()), 0, four.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:820:39 [INFO] [stdout] | [INFO] [stdout] 820 | assert_ok!(Identity::set_account_id(RuntimeOrigin::signed(four), 0, three)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:829:4 [INFO] [stdout] | [INFO] [stdout] 829 | RuntimeOrigin::signed(ten.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:851:4 [INFO] [stdout] | [INFO] [stdout] 851 | RuntimeOrigin::signed(ten.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:855:4 [INFO] [stdout] | [INFO] [stdout] 855 | RuntimeOrigin::signed(ten.clone()), [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:861:14 [INFO] [stdout] | [INFO] [stdout] 861 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - subs_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:868:14 [INFO] [stdout] | [INFO] [stdout] 868 | assert_eq!(Balances::free_balance(ten), 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:897:14 [INFO] [stdout] | [INFO] [stdout] 897 | assert_eq!(Balances::free_balance(ten.clone()), 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:905:14 [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit - subs_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:940:14 [INFO] [stdout] | [INFO] [stdout] 940 | assert_eq!(Balances::free_balance(ten.clone()), 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:947:14 [INFO] [stdout] | [INFO] [stdout] 947 | assert_eq!(Balances::free_balance(ten.clone()), 1000 - id_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:971:4 [INFO] [stdout] | [INFO] [stdout] 971 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:987:4 [INFO] [stdout] | [INFO] [stdout] 987 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1002:4 [INFO] [stdout] | [INFO] [stdout] 1002 | RuntimeOrigin::root(), [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:1016:3 [INFO] [stdout] | [INFO] [stdout] 1016 | Balances::make_free_balance_be(&authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1020:4 [INFO] [stdout] | [INFO] [stdout] 1020 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1036:4 [INFO] [stdout] | [INFO] [stdout] 1036 | RuntimeOrigin::signed(authority.clone()), [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:1054:14 [INFO] [stdout] | [INFO] [stdout] 1054 | assert_eq!(Balances::free_balance(&authority), initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1075:4 [INFO] [stdout] | [INFO] [stdout] 1075 | RuntimeOrigin::signed(authority.clone()), [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:1096:4 [INFO] [stdout] | [INFO] [stdout] 1096 | Balances::free_balance(&authority), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1117:4 [INFO] [stdout] | [INFO] [stdout] 1117 | RuntimeOrigin::root(), [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:1133:3 [INFO] [stdout] | [INFO] [stdout] 1133 | Balances::make_free_balance_be(&who_account, 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1136:4 [INFO] [stdout] | [INFO] [stdout] 1136 | RuntimeOrigin::signed(who_account.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1140:4 [INFO] [stdout] | [INFO] [stdout] 1140 | RuntimeOrigin::signed(authority), [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:1163:3 [INFO] [stdout] | [INFO] [stdout] 1163 | Balances::make_free_balance_be(&authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1167:4 [INFO] [stdout] | [INFO] [stdout] 1167 | RuntimeOrigin::root(), [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:1183:3 [INFO] [stdout] | [INFO] [stdout] 1183 | Balances::make_free_balance_be(&who_account, 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1187:4 [INFO] [stdout] | [INFO] [stdout] 1187 | RuntimeOrigin::signed(who_account.clone()), [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:1194:14 [INFO] [stdout] | [INFO] [stdout] 1194 | assert_eq!(Balances::reserved_balance(&who_account), expected_identity_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1196:4 [INFO] [stdout] | [INFO] [stdout] 1196 | RuntimeOrigin::signed(authority.clone()), [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:1206:4 [INFO] [stdout] | [INFO] [stdout] 1206 | Balances::free_balance(&authority), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:1210:14 [INFO] [stdout] | [INFO] [stdout] 1210 | assert_eq!(Balances::free_balance(&who_account), 1000 - expected_identity_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:1211:14 [INFO] [stdout] | [INFO] [stdout] 1211 | assert_eq!(Balances::reserved_balance(&who_account), expected_identity_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1232:4 [INFO] [stdout] | [INFO] [stdout] 1232 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1281:4 [INFO] [stdout] | [INFO] [stdout] 1281 | RuntimeOrigin::signed(authority), [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:1307:3 [INFO] [stdout] | [INFO] [stdout] 1307 | Balances::make_free_balance_be(&authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1311:4 [INFO] [stdout] | [INFO] [stdout] 1311 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1323:4 [INFO] [stdout] | [INFO] [stdout] 1323 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1337:40 [INFO] [stdout] | [INFO] [stdout] 1337 | assert_ok!(Identity::accept_username(RuntimeOrigin::signed(who.clone()), username.clone())); [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:1349:14 [INFO] [stdout] | [INFO] [stdout] 1349 | assert_eq!(Balances::free_balance(&authority), initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1354:4 [INFO] [stdout] | [INFO] [stdout] 1354 | RuntimeOrigin::signed(authority.clone()), [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:1368:4 [INFO] [stdout] | [INFO] [stdout] 1368 | Balances::free_balance(&authority), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1373:4 [INFO] [stdout] | [INFO] [stdout] 1373 | RuntimeOrigin::signed(second_caller.clone()), [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:1391:4 [INFO] [stdout] | [INFO] [stdout] 1391 | Balances::free_balance(&authority), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1413:6 [INFO] [stdout] | [INFO] [stdout] 1413 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1424:4 [INFO] [stdout] | [INFO] [stdout] 1424 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1449:6 [INFO] [stdout] | [INFO] [stdout] 1449 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1464:4 [INFO] [stdout] | [INFO] [stdout] 1464 | RuntimeOrigin::signed(authority), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1482:4 [INFO] [stdout] | [INFO] [stdout] 1482 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1489:4 [INFO] [stdout] | [INFO] [stdout] 1489 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1496:4 [INFO] [stdout] | [INFO] [stdout] 1496 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1504:5 [INFO] [stdout] | [INFO] [stdout] 1504 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1523:4 [INFO] [stdout] | [INFO] [stdout] 1523 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1539:4 [INFO] [stdout] | [INFO] [stdout] 1539 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1555:4 [INFO] [stdout] | [INFO] [stdout] 1555 | RuntimeOrigin::signed(authority), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1578:4 [INFO] [stdout] | [INFO] [stdout] 1578 | RuntimeOrigin::signed(who_account.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1605:4 [INFO] [stdout] | [INFO] [stdout] 1605 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1618:4 [INFO] [stdout] | [INFO] [stdout] 1618 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1632:4 [INFO] [stdout] | [INFO] [stdout] 1632 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1656:35 [INFO] [stdout] | [INFO] [stdout] 1656 | Identity::set_primary_username(RuntimeOrigin::signed(pi_account.clone()), c_username), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1662:35 [INFO] [stdout] | [INFO] [stdout] 1662 | Identity::set_primary_username(RuntimeOrigin::signed(pi_account.clone()), e_username), [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:1674:3 [INFO] [stdout] | [INFO] [stdout] 1674 | Balances::make_free_balance_be(&authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1678:4 [INFO] [stdout] | [INFO] [stdout] 1678 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1693:4 [INFO] [stdout] | [INFO] [stdout] 1693 | RuntimeOrigin::signed(authority.clone()), [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:1699:14 [INFO] [stdout] | [INFO] [stdout] 1699 | assert_eq!(Balances::free_balance(&authority), initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1712:38 [INFO] [stdout] | [INFO] [stdout] 1712 | Identity::remove_expired_approval(RuntimeOrigin::signed(account(1)), username.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1720:4 [INFO] [stdout] | [INFO] [stdout] 1720 | RuntimeOrigin::signed(account(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:1723:14 [INFO] [stdout] | [INFO] [stdout] 1723 | assert_eq!(Balances::free_balance(&authority), initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:1738:3 [INFO] [stdout] | [INFO] [stdout] 1738 | Balances::make_free_balance_be(&authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1742:4 [INFO] [stdout] | [INFO] [stdout] 1742 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1758:4 [INFO] [stdout] | [INFO] [stdout] 1758 | RuntimeOrigin::signed(authority.clone()), [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:1765:4 [INFO] [stdout] | [INFO] [stdout] 1765 | Balances::free_balance(&authority), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1780:38 [INFO] [stdout] | [INFO] [stdout] 1780 | Identity::remove_expired_approval(RuntimeOrigin::signed(account(1)), username.clone()), [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:1788:4 [INFO] [stdout] | [INFO] [stdout] 1788 | Balances::free_balance(&authority), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:1791:14 [INFO] [stdout] | [INFO] [stdout] 1791 | assert_eq!(Balances::reserved_balance(&authority), username_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1793:4 [INFO] [stdout] | [INFO] [stdout] 1793 | RuntimeOrigin::signed(account(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:1797:14 [INFO] [stdout] | [INFO] [stdout] 1797 | assert_eq!(Balances::free_balance(&authority), initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:1812:3 [INFO] [stdout] | [INFO] [stdout] 1812 | Balances::make_free_balance_be(&authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1816:4 [INFO] [stdout] | [INFO] [stdout] 1816 | RuntimeOrigin::root(), [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:1823:3 [INFO] [stdout] | [INFO] [stdout] 1823 | Balances::make_free_balance_be(&second_authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1826:4 [INFO] [stdout] | [INFO] [stdout] 1826 | RuntimeOrigin::root(), [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:1844:3 [INFO] [stdout] | [INFO] [stdout] 1844 | Balances::make_free_balance_be(&who_account, 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1846:4 [INFO] [stdout] | [INFO] [stdout] 1846 | RuntimeOrigin::signed(authority.clone()), [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:1853:4 [INFO] [stdout] | [INFO] [stdout] 1853 | Balances::free_balance(authority.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1865:4 [INFO] [stdout] | [INFO] [stdout] 1865 | RuntimeOrigin::signed(authority.clone()), [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:1872:4 [INFO] [stdout] | [INFO] [stdout] 1872 | Balances::free_balance(authority.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1884:4 [INFO] [stdout] | [INFO] [stdout] 1884 | RuntimeOrigin::signed(second_authority.clone()), [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:1891:4 [INFO] [stdout] | [INFO] [stdout] 1891 | Balances::free_balance(authority.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:1894:14 [INFO] [stdout] | [INFO] [stdout] 1894 | assert_eq!(Balances::free_balance(second_authority.clone()), initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1915:28 [INFO] [stdout] | [INFO] [stdout] 1915 | Identity::kill_username(RuntimeOrigin::signed(authority.clone()), username.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1922:5 [INFO] [stdout] | [INFO] [stdout] 1922 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1930:4 [INFO] [stdout] | [INFO] [stdout] 1930 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1935:38 [INFO] [stdout] | [INFO] [stdout] 1935 | assert_ok!(Identity::kill_username(RuntimeOrigin::root(), username_two.clone().into())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1942:14 [INFO] [stdout] | [INFO] [stdout] 1942 | assert_eq!(Balances::reserved_balance(authority.clone()), username_deposit); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1953:38 [INFO] [stdout] | [INFO] [stdout] 1953 | assert_ok!(Identity::kill_username(RuntimeOrigin::root(), username.clone().into())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1959:14 [INFO] [stdout] | [INFO] [stdout] 1959 | assert_eq!(Balances::reserved_balance(authority.clone()), 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1970:38 [INFO] [stdout] | [INFO] [stdout] 1970 | assert_ok!(Identity::kill_username(RuntimeOrigin::root(), username_three.clone().into())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1982:3 [INFO] [stdout] | [INFO] [stdout] 1982 | Balances::make_free_balance_be(&authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1986:4 [INFO] [stdout] | [INFO] [stdout] 1986 | RuntimeOrigin::root(), [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:2004:3 [INFO] [stdout] | [INFO] [stdout] 2004 | Balances::make_free_balance_be(&who_account, 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2006:4 [INFO] [stdout] | [INFO] [stdout] 2006 | RuntimeOrigin::signed(authority.clone()), [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:2013:4 [INFO] [stdout] | [INFO] [stdout] 2013 | Balances::free_balance(authority.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2025:4 [INFO] [stdout] | [INFO] [stdout] 2025 | RuntimeOrigin::signed(authority.clone()), [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:2033:4 [INFO] [stdout] | [INFO] [stdout] 2033 | Balances::free_balance(authority.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2058:28 [INFO] [stdout] | [INFO] [stdout] 2058 | Identity::kill_username(RuntimeOrigin::signed(authority.clone()), username.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2068:5 [INFO] [stdout] | [INFO] [stdout] 2068 | RuntimeOrigin::signed(dummy_authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2082:5 [INFO] [stdout] | [INFO] [stdout] 2082 | RuntimeOrigin::signed(dummy_authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2096:5 [INFO] [stdout] | [INFO] [stdout] 2096 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2107:4 [INFO] [stdout] | [INFO] [stdout] 2107 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2121:30 [INFO] [stdout] | [INFO] [stdout] 2121 | Identity::remove_username(RuntimeOrigin::signed(account(0)), username_two.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2131:4 [INFO] [stdout] | [INFO] [stdout] 2131 | RuntimeOrigin::signed(account(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:2141:4 [INFO] [stdout] | [INFO] [stdout] 2141 | Balances::free_balance(authority.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2149:4 [INFO] [stdout] | [INFO] [stdout] 2149 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2159:40 [INFO] [stdout] | [INFO] [stdout] 2159 | assert_ok!(Identity::remove_username(RuntimeOrigin::signed(account(0)), username.clone())); [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:2166:14 [INFO] [stdout] | [INFO] [stdout] 2166 | assert_eq!(Balances::free_balance(authority.clone()), initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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:2179:3 [INFO] [stdout] | [INFO] [stdout] 2179 | Balances::make_free_balance_be(&authority, initial_authority_balance); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2183:4 [INFO] [stdout] | [INFO] [stdout] 2183 | RuntimeOrigin::root(), [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:2201:3 [INFO] [stdout] | [INFO] [stdout] 2201 | Balances::make_free_balance_be(&who_account, 1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2203:4 [INFO] [stdout] | [INFO] [stdout] 2203 | RuntimeOrigin::signed(authority.clone()), [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:2210:4 [INFO] [stdout] | [INFO] [stdout] 2210 | Balances::free_balance(authority.clone()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2216:4 [INFO] [stdout] | [INFO] [stdout] 2216 | RuntimeOrigin::signed(authority.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2224:30 [INFO] [stdout] | [INFO] [stdout] 2224 | Identity::remove_username(RuntimeOrigin::signed(account(0)), username.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:2235:30 [INFO] [stdout] | [INFO] [stdout] 2235 | Identity::remove_username(RuntimeOrigin::signed(account(0)), username.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [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:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | 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:101:2 [INFO] [stdout] | [INFO] [stdout] 101 | 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, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-identity` (lib test) due to 697 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b49cbedae40c01549af027ef77bdd7a09140289342c7a7a8b3f7251578bd904e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49cbedae40c01549af027ef77bdd7a09140289342c7a7a8b3f7251578bd904e", kill_on_drop: false }` [INFO] [stdout] b49cbedae40c01549af027ef77bdd7a09140289342c7a7a8b3f7251578bd904e