[INFO] fetching crate pallet-delegated-staking 7.0.0... [INFO] testing pallet-delegated-staking-7.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pallet-delegated-staking 7.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pallet-delegated-staking 7.0.0 [INFO] finished tweaking crates.io crate pallet-delegated-staking 7.0.0 [INFO] tweaked toml for crates.io crate pallet-delegated-staking 7.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-delegated-staking 7.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 345 packages to latest compatible versions [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f960e7007926445d1f75322e456149cc861551623cc357f4c7dc6c223c714e64 [INFO] running `Command { std: "docker" "start" "-a" "f960e7007926445d1f75322e456149cc861551623cc357f4c7dc6c223c714e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f960e7007926445d1f75322e456149cc861551623cc357f4c7dc6c223c714e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f960e7007926445d1f75322e456149cc861551623cc357f4c7dc6c223c714e64", kill_on_drop: false }` [INFO] [stdout] f960e7007926445d1f75322e456149cc861551623cc357f4c7dc6c223c714e64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e8542099fd464168c5a98603238efa50fe97dbf7b99fed245e88e15fb099c12f [INFO] running `Command { std: "docker" "start" "-a" "e8542099fd464168c5a98603238efa50fe97dbf7b99fed245e88e15fb099c12f", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling addr2line v0.24.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 derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling frame-metadata v20.0.0 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling sp-metadata-ir v0.10.0 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling sp-application-crypto v40.1.0 [INFO] [stderr] Compiling sp-runtime v41.1.0 [INFO] [stderr] Compiling sp-version v39.0.0 [INFO] [stderr] Compiling sp-staking v38.0.0 [INFO] [stderr] Compiling sp-inherents v36.0.0 [INFO] [stderr] Compiling sp-api v36.0.1 [INFO] [stderr] Compiling sp-genesis-builder v0.17.0 [INFO] [stderr] Compiling frame-support v40.1.0 [INFO] [stderr] Compiling frame-system v40.1.0 [INFO] [stderr] Compiling pallet-delegated-staking v7.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e8542099fd464168c5a98603238efa50fe97dbf7b99fed245e88e15fb099c12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8542099fd464168c5a98603238efa50fe97dbf7b99fed245e88e15fb099c12f", kill_on_drop: false }` [INFO] [stdout] e8542099fd464168c5a98603238efa50fe97dbf7b99fed245e88e15fb099c12f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d0e05a041e7c4b8658915979353fa691e2e56c6201d050d35d27a24b859df114 [INFO] running `Command { std: "docker" "start" "-a" "d0e05a041e7c4b8658915979353fa691e2e56c6201d050d35d27a24b859df114", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-delegated-staking v7.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use frame_election_provider_support::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use frame_election_provider_support::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_staking` [INFO] [stdout] --> src/mock.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pallet_staking::{ActiveEra, ActiveEraInfo, CurrentEra}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sp_core::U256; [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 `pallet_nomination_pools` [INFO] [stdout] --> src/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use pallet_nomination_pools::{Error as PoolsError, Event as PoolsEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_staking` [INFO] [stdout] --> src/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use pallet_staking::{Error as StakingError, RewardDestination}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_nomination_pools` [INFO] [stdout] --> src/tests.rs:825:6 [INFO] [stdout] | [INFO] [stdout] 825 | use pallet_nomination_pools::{BondExtra, BondedPools, PoolState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` 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_nomination_pools` [INFO] [stdout] --> src/mock.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | Pools: pallet_nomination_pools, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive_impl(pallet_staking::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking_reward_curve` [INFO] [stdout] --> src/mock.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | #[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_nomination_pools` [INFO] [stdout] --> src/mock.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | pallet_nomination_pools::adapter::DelegateStake; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` 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_staking` [INFO] [stdout] --> src/tests.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | pallet_staking::slashing::do_slash::( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` 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_staking` [INFO] [stdout] --> src/tests.rs:644:15 [INFO] [stdout] | [INFO] [stdout] 644 | assert_eq!(pallet_staking::asset::total_balance::(&agent), agent_amount); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` 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_staking` [INFO] [stdout] --> src/tests.rs:1216:4 [INFO] [stdout] | [INFO] [stdout] 1216 | pallet_staking::slashing::do_slash::( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` 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_nomination_pools` [INFO] [stdout] --> src/tests.rs:1391:3 [INFO] [stdout] | [INFO] [stdout] 1391 | pallet_nomination_pools::LastPoolId::::get() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub type T = Runtime; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:40:47 [INFO] [stdout] | [INFO] [stdout] 40 | 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] 40 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | impl frame_system::Config for Runtime { [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/mock.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 18 + 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/mock.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | impl pallet_timestamp::Config for Runtime { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/mock.rs:90:81 [INFO] [stdout] | [INFO] [stdout] 90 | pub const RewardCurve: &'static sp_runtime::curve::PiecewiseLinear<'static> = &I_NPOS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | type System = Runtime; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:122:36 [INFO] [stdout] | [INFO] [stdout] 122 | impl delegated_staking::Config for Runtime { [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/mock.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 123 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub type Balance = u128; [INFO] [stdout] | ------------------------ similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 125 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:128:27 [INFO] [stdout] | [INFO] [stdout] 128 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 128 | type RuntimeHoldReason = Self::RuntimeHoldReason; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | type CoreStaking = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | impl pallet_nomination_pools::Config for Runtime { [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/mock.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub type Balance = u128; [INFO] [stdout] | ------------------------ similarly named type alias `Balance` defined here [INFO] [stdout] ... [INFO] [stdout] 152 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/mock.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | type RuntimeFreezeReason = RuntimeFreezeReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:163:57 [INFO] [stdout] | [INFO] [stdout] 163 | pallet_nomination_pools::adapter::DelegateStake; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 163 - pallet_nomination_pools::adapter::DelegateStake; [INFO] [stdout] 163 + pallet_nomination_pools::adapter::DelegateStake; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 149 | impl pallet_nomination_pools::Config for Runtime { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope [INFO] [stdout] --> src/mock.rs:163:66 [INFO] [stdout] | [INFO] [stdout] 163 | pallet_nomination_pools::adapter::DelegateStake; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 149 | impl pallet_nomination_pools::Config for Runtime { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | type BlockNumberProvider = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:166:43 [INFO] [stdout] | [INFO] [stdout] 166 | type Filter = pallet_staking::AllStakers; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 149 | impl pallet_nomination_pools::Config for Runtime { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/mock.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 185 - sp_tracing::try_init_simple(); [INFO] [stdout] 185 + sp_staking::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | 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] 183 | impl ExtBuilder { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | frame_system::Pallet::::set_block_number(1); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 183 | impl ExtBuilder { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/mock.rs:245:3 [INFO] [stdout] | [INFO] [stdout] 245 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 245 - sp_tracing::try_init_simple(); [INFO] [stdout] 245 + sp_staking::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:318:83 [INFO] [stdout] | [INFO] [stdout] 318 | pub(crate) fn pool_events_since_last_call() -> Vec> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 318 | pub(crate) fn pool_events_since_last_call() -> Vec> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:319:15 [INFO] [stdout] | [INFO] [stdout] 319 | let events = System::read_events_for_pallet::>(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:319:79 [INFO] [stdout] | [INFO] [stdout] 319 | let events = System::read_events_for_pallet::>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 318 | pub(crate) fn pool_events_since_last_call() -> Vec> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:325:60 [INFO] [stdout] | [INFO] [stdout] 325 | pub(crate) fn events_since_last_call() -> Vec> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 325 | pub(crate) fn events_since_last_call() -> Vec> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:326:15 [INFO] [stdout] | [INFO] [stdout] 326 | let events = System::read_events_for_pallet::>(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Runtime` in this scope [INFO] [stdout] --> src/mock.rs:326:61 [INFO] [stdout] | [INFO] [stdout] 326 | let events = System::read_events_for_pallet::>(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 325 | pub(crate) fn events_since_last_call() -> Vec> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope [INFO] [stdout] --> src/tests.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | ::delegator_slash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope [INFO] [stdout] --> src/tests.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | ::delegator_slash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope [INFO] [stdout] --> src/tests.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | assert_ok!(::delegator_slash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:290:6 [INFO] [stdout] | [INFO] [stdout] 290 | ::slash_reward_fraction() * slash, [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DelegatedStaking` in this scope [INFO] [stdout] --> src/tests.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | ::delegator_slash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:583:6 [INFO] [stdout] | [INFO] [stdout] 583 | ::set_payee(&200, &200), [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:588:16 [INFO] [stdout] | [INFO] [stdout] 588 | assert_ok!(::set_payee(&200, &201)); [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:638:15 [INFO] [stdout] | [INFO] [stdout] 638 | assert_eq!(System::providers(&agent), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:655:15 [INFO] [stdout] | [INFO] [stdout] 655 | assert_eq!(System::providers(&agent), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:658:15 [INFO] [stdout] | [INFO] [stdout] 658 | assert_eq!(System::providers(&proxy_delegator), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:681:16 [INFO] [stdout] | [INFO] [stdout] 681 | assert_eq!(System::providers(&delegator), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:689:16 [INFO] [stdout] | [INFO] [stdout] 689 | assert_eq!(System::providers(&delegator), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:720:15 [INFO] [stdout] | [INFO] [stdout] 720 | assert_eq!(System::providers(&proxy_delegator), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:739:16 [INFO] [stdout] | [INFO] [stdout] 739 | assert_eq!(System::providers(&delegator), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:747:15 [INFO] [stdout] | [INFO] [stdout] 747 | assert_eq!(System::providers(&agent), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:762:15 [INFO] [stdout] | [INFO] [stdout] 762 | assert_eq!(System::providers(&agent), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:771:15 [INFO] [stdout] | [INFO] [stdout] 771 | assert_eq!(System::providers(&delegator), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:778:15 [INFO] [stdout] | [INFO] [stdout] 778 | assert_eq!(System::providers(&delegator), 2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:787:15 [INFO] [stdout] | [INFO] [stdout] 787 | assert_eq!(System::providers(&delegator), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:811:15 [INFO] [stdout] | [INFO] [stdout] 811 | assert_eq!(System::providers(&delegator), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:812:15 [INFO] [stdout] | [INFO] [stdout] 812 | assert_eq!(System::providers(&agent), 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:817:15 [INFO] [stdout] | [INFO] [stdout] 817 | assert_eq!(System::providers(&delegator), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:818:15 [INFO] [stdout] | [INFO] [stdout] 818 | assert_eq!(System::providers(&agent), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 344 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1021:4 [INFO] [stdout] | [INFO] [stdout] 1021 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 824 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1154:4 [INFO] [stdout] | [INFO] [stdout] 1154 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 824 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1173:13 [INFO] [stdout] | [INFO] [stdout] 1173 | assert!(!System::account_exists(&Pools::generate_bonded_account(pool_id))); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 824 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1204:4 [INFO] [stdout] | [INFO] [stdout] 1204 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 824 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1255:4 [INFO] [stdout] | [INFO] [stdout] 1255 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 824 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Currency` and `VariantCountOf` [INFO] [stdout] --> src/mock.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | traits::{ConstU64, Currency, VariantCountOf}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StakingInterface` [INFO] [stdout] --> src/mock.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | use sp_staking::{Agent, Stake, StakingInterface}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::fungible::InspectHold` [INFO] [stdout] --> src/tests.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | use frame_support::{assert_noop, assert_ok, traits::fungible::InspectHold}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | 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_timestamp` [INFO] [stdout] --> src/mock.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | impl pallet_timestamp::Config for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_timestamp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_timestamp`, use `cargo add pallet_timestamp` 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_nomination_pools` [INFO] [stdout] --> src/mock.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | impl pallet_nomination_pools::Config for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` 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_staking` [INFO] [stdout] --> src/mock.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | type Filter = pallet_staking::AllStakers; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` 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/mock.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | let _ = pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 220 | let _ = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/mock.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | DelegatedStaking::do_try_state().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/mock.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | let _ = Balances::deposit_creating(who, amount); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/mock.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | assert_ok!(DelegatedStaking::register_agent(RawOrigin::Signed(agent).into(), reward_acc)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/mock.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/mock.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), delegated_amount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:305:2 [INFO] [stdout] | [INFO] [stdout] 305 | Staking::stake(&who).unwrap() == Stake { total, active } && [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] --> src/mock.rs:318:52 [INFO] [stdout] | [INFO] [stdout] 318 | pub(crate) fn pool_events_since_last_call() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` 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_nomination_pools` [INFO] [stdout] --> src/mock.rs:319:48 [INFO] [stdout] | [INFO] [stdout] 319 | let events = System::read_events_for_pallet::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_nomination_pools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_nomination_pools`, use `cargo add pallet_nomination_pools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | assert_ok!(DelegatedStaking::register_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | assert!(DelegatedStaking::is_agent(&agent)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(delegator)), 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | DelegatedStaking::register_agent(RawOrigin::Signed(100).into(), 100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | assert!(!DelegatedStaking::is_agent(&agent)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | assert_ok!(DelegatedStaking::register_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &i), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | assert!(DelegatedStaking::is_agent(&agent)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 100 * 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | assert_ok!(DelegatedStaking::register_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | assert_ok!(DelegatedStaking::register_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | DelegatedStaking::delegate_to_agent(RawOrigin::Signed(agent_one).into(), agent_two, 10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | DelegatedStaking::delegate_to_agent(RawOrigin::Signed(agent_one).into(), agent_one, 10), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | let mut old_reporter_balance = Balances::free_balance(reporter); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | let unslashed_balance = DelegatedStaking::held_balance_of(Delegator::from(i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | DelegatedStaking::held_balance_of(Delegator::from(i)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | Balances::free_balance(reporter) - old_reporter_balance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:293:27 [INFO] [stdout] | [INFO] [stdout] 293 | old_reporter_balance = Balances::free_balance(reporter); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | assert_ok!(DelegatedStaking::register_agent(RawOrigin::Signed(agent).into(), reward_acc)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:332:11 [INFO] [stdout] | [INFO] [stdout] 332 | assert!(DelegatedStaking::is_agent(&agent)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:333:14 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:335:4 [INFO] [stdout] | [INFO] [stdout] 335 | Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(delegator)), 1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 352 | assert_eq!(Staking::status(&agent), Err(StakingError::::NotStash.into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 356 | assert_ok!(DelegatedStaking::register_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:360:15 [INFO] [stdout] | [INFO] [stdout] 360 | assert_eq!(DelegatedStaking::stakeable_balance(Agent::from(agent)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:367:16 [INFO] [stdout] | [INFO] [stdout] 367 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:374:6 [INFO] [stdout] | [INFO] [stdout] 374 | Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:378:6 [INFO] [stdout] | [INFO] [stdout] 378 | DelegatedStaking::delegator_balance(Delegator::from(delegator)).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:388:15 [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq!(Staking::stake(&agent).unwrap(), Stake { total: 50 * 100, active: 50 * 100 }) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 301, 50, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:414:15 [INFO] [stdout] | [INFO] [stdout] 414 | assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 50)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:418:15 [INFO] [stdout] | [INFO] [stdout] 418 | assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 100)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:422:15 [INFO] [stdout] | [INFO] [stdout] 422 | assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 200)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 305, 50, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 305, 51, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | assert_ok!(DelegatedStaking::release_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:451:15 [INFO] [stdout] | [INFO] [stdout] 451 | assert_ok!(DelegatedStaking::release_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 305, 5, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 309, 91, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 310, 101, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:477:15 [INFO] [stdout] | [INFO] [stdout] 477 | assert_ok!(DelegatedStaking::release_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:484:15 [INFO] [stdout] | [INFO] [stdout] 484 | assert_ok!(DelegatedStaking::release_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 301, 1, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 350, 1, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 300, 320, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:520:16 [INFO] [stdout] | [INFO] [stdout] 520 | assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 10)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:527:15 [INFO] [stdout] | [INFO] [stdout] 527 | assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 10)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | assert_ok!(DelegatedStaking::release_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 544 | DelegatedStaking::release_delegation(RawOrigin::Signed(agent).into(), 300, 141, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:547:15 [INFO] [stdout] | [INFO] [stdout] 547 | assert_ok!(DelegatedStaking::release_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:554:15 [INFO] [stdout] | [INFO] [stdout] 554 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(300)), 320 - 300); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:563:22 [INFO] [stdout] | [INFO] [stdout] 563 | let balance_200 = Balances::free_balance(200); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | DelegatedStaking::register_agent(RawOrigin::Signed(200).into(), 200), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | assert_ok!(DelegatedStaking::register_agent(RawOrigin::Signed(200).into(), 201)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:575:15 [INFO] [stdout] | [INFO] [stdout] 575 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:596:15 [INFO] [stdout] | [INFO] [stdout] 596 | assert_eq!(Balances::free_balance(200), balance_200); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 607 | DelegatedStaking::register_agent(RawOrigin::Signed(200).into(), 201), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:612:5 [INFO] [stdout] | [INFO] [stdout] 612 | DelegatedStaking::register_agent(RawOrigin::Signed(202).into(), 203), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:630:15 [INFO] [stdout] | [INFO] [stdout] 630 | assert_ok!(Staking::bond( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 631 | RuntimeOrigin::signed(agent), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:635:15 [INFO] [stdout] | [INFO] [stdout] 635 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(agent), vec![GENESIS_VALIDATOR],)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:635:33 [INFO] [stdout] | [INFO] [stdout] 635 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(agent), vec![GENESIS_VALIDATOR],)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:636:21 [INFO] [stdout] | [INFO] [stdout] 636 | let init_stake = Staking::stake(&agent).unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 650 | DelegatedStaking::generate_proxy_delegator(Agent::from(agent)).get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:652:15 [INFO] [stdout] | [INFO] [stdout] 652 | assert_ok!(DelegatedStaking::migrate_to_agent(RawOrigin::Signed(agent).into(), 201)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:656:15 [INFO] [stdout] | [INFO] [stdout] 656 | assert_eq!(Balances::free_balance(agent), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:659:15 [INFO] [stdout] | [INFO] [stdout] 659 | assert_eq!(Balances::free_balance(proxy_delegator), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &proxy_delegator), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:668:15 [INFO] [stdout] | [INFO] [stdout] 668 | assert_eq!(Balances::free_balance(agent), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:669:15 [INFO] [stdout] | [INFO] [stdout] 669 | assert_eq!(Staking::stake(&agent).unwrap(), init_stake); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:680:16 [INFO] [stdout] | [INFO] [stdout] 680 | assert_eq!(Balances::free_balance(delegator), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:684:16 [INFO] [stdout] | [INFO] [stdout] 684 | assert_ok!(DelegatedStaking::migrate_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:691:6 [INFO] [stdout] | [INFO] [stdout] 691 | Balances::balance_on_hold(&HoldReason::StakingDelegation.into(), &delegator), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:696:6 [INFO] [stdout] | [INFO] [stdout] 696 | Balances::balance_on_hold( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:704:16 [INFO] [stdout] | [INFO] [stdout] 704 | assert_eq!(Staking::stake(&agent).unwrap(), init_stake); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | DelegatedStaking::migrate_delegation(RawOrigin::Signed(agent).into(), 305, 1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:723:15 [INFO] [stdout] | [INFO] [stdout] 723 | assert_ok!(Staking::chill(RuntimeOrigin::signed(agent))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:723:30 [INFO] [stdout] | [INFO] [stdout] 723 | assert_ok!(Staking::chill(RuntimeOrigin::signed(agent))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:724:15 [INFO] [stdout] | [INFO] [stdout] 724 | assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), staked_amount)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:726:15 [INFO] [stdout] | [INFO] [stdout] 726 | assert_ok!(Staking::withdraw_unbonded(RawOrigin::Signed(agent).into(), 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:728:16 [INFO] [stdout] | [INFO] [stdout] 728 | assert_ok!(DelegatedStaking::release_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:737:16 [INFO] [stdout] | [INFO] [stdout] 737 | assert_eq!(Balances::free_balance(delegator), delegator_share); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:743:15 [INFO] [stdout] | [INFO] [stdout] 743 | assert_ok!(DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:763:15 [INFO] [stdout] | [INFO] [stdout] 763 | assert_ok!(DelegatedStaking::register_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:772:15 [INFO] [stdout] | [INFO] [stdout] 772 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:780:15 [INFO] [stdout] | [INFO] [stdout] 780 | assert_ok!(DelegatedStaking::delegate_to_agent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:790:15 [INFO] [stdout] | [INFO] [stdout] 790 | assert_ok!(Staking::unbond(RawOrigin::Signed(agent).into(), 1000)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:792:15 [INFO] [stdout] | [INFO] [stdout] 792 | assert_ok!(Staking::withdraw_unbonded(RawOrigin::Signed(agent).into(), 0)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:796:5 [INFO] [stdout] | [INFO] [stdout] 796 | DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:800:15 [INFO] [stdout] | [INFO] [stdout] 800 | assert_ok!(DelegatedStaking::release_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:808:15 [INFO] [stdout] | [INFO] [stdout] 808 | assert_ok!(DelegatedStaking::remove_agent(RawOrigin::Signed(agent).into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:815:15 [INFO] [stdout] | [INFO] [stdout] 815 | assert_ok!(Balances::transfer_all(RawOrigin::Signed(delegator).into(), 1337, false)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:816:15 [INFO] [stdout] | [INFO] [stdout] 816 | assert_ok!(Balances::transfer_all(RawOrigin::Signed(agent).into(), 1337, false)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:835:15 [INFO] [stdout] | [INFO] [stdout] 835 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(creator)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:838:15 [INFO] [stdout] | [INFO] [stdout] 838 | assert_ok!(Pools::create( [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:848:5 [INFO] [stdout] | [INFO] [stdout] 848 | DelegatedStaking::held_balance_of(Delegator::from(creator)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:852:23 [INFO] [stdout] | [INFO] [stdout] 852 | let pool_account = Pools::generate_bonded_account(1); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:874:15 [INFO] [stdout] | [INFO] [stdout] 874 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(delegator)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:877:15 [INFO] [stdout] | [INFO] [stdout] 877 | assert_ok!(Pools::join(RawOrigin::Signed(delegator).into(), 100, pool_id)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:881:15 [INFO] [stdout] | [INFO] [stdout] 881 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(delegator)), 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:884:15 [INFO] [stdout] | [INFO] [stdout] 884 | assert_eq!(Staking::status(&delegator), Err(StakingError::::NotStash.into())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:886:39 [INFO] [stdout] | [INFO] [stdout] 886 | let pool_agent = get_agent_ledger(&Pools::generate_bonded_account(1)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:895:5 [INFO] [stdout] | [INFO] [stdout] 895 | Staking::reap_stash(RuntimeOrigin::signed(100), pool_agent.key, 0), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:895:25 [INFO] [stdout] | [INFO] [stdout] 895 | Staking::reap_stash(RuntimeOrigin::signed(100), pool_agent.key, 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:902:16 [INFO] [stdout] | [INFO] [stdout] 902 | assert_ok!(Pools::join(RawOrigin::Signed(i).into(), 100 + i, pool_id)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:904:16 [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(i)), 100 + i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:925:16 [INFO] [stdout] | [INFO] [stdout] 925 | assert_ok!(Pools::bond_extra( [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:946:21 [INFO] [stdout] | [INFO] [stdout] 946 | let reward_acc = Pools::generate_reward_account(pool_id); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:952:23 [INFO] [stdout] | [INFO] [stdout] 952 | let pre_balance = Balances::free_balance(i); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:954:6 [INFO] [stdout] | [INFO] [stdout] 954 | DelegatedStaking::held_balance_of(Delegator::from(i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:956:16 [INFO] [stdout] | [INFO] [stdout] 956 | assert_ok!(Pools::claim_payout(RawOrigin::Signed(i).into())); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:958:18 [INFO] [stdout] | [INFO] [stdout] 958 | let reward = Balances::free_balance(i) - pre_balance; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:963:22 [INFO] [stdout] | [INFO] [stdout] 963 | let pre_balance = Balances::free_balance(creator); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:964:15 [INFO] [stdout] | [INFO] [stdout] 964 | assert_ok!(Pools::claim_payout(RawOrigin::Signed(creator).into())); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:966:17 [INFO] [stdout] | [INFO] [stdout] 966 | let reward = Balances::free_balance(creator) - pre_balance; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:970:15 [INFO] [stdout] | [INFO] [stdout] 970 | assert_eq!(Balances::free_balance(reward_acc), ExistentialDeposit::get()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:984:19 [INFO] [stdout] | [INFO] [stdout] 984 | let pool_acc = Pools::generate_bonded_account(pool_id); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:989:5 [INFO] [stdout] | [INFO] [stdout] 989 | Pools::withdraw_unbonded(RawOrigin::Signed(301).into(), 301, 0), [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:994:15 [INFO] [stdout] | [INFO] [stdout] 994 | assert_ok!(Pools::unbond(RawOrigin::Signed(301).into(), 301, 50)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:998:15 [INFO] [stdout] | [INFO] [stdout] 998 | assert_ok!(Pools::unbond(RawOrigin::Signed(302).into(), 302, 100)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1002:15 [INFO] [stdout] | [INFO] [stdout] 1002 | assert_ok!(Pools::unbond(RawOrigin::Signed(303).into(), 303, 200)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1011:6 [INFO] [stdout] | [INFO] [stdout] 1011 | Pools::withdraw_unbonded(RawOrigin::Signed(i).into(), i, 0), [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:1022:19 [INFO] [stdout] | [INFO] [stdout] 1022 | let held_301 = DelegatedStaking::held_balance_of(Delegator::from(301)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1023:19 [INFO] [stdout] | [INFO] [stdout] 1023 | let free_301 = Balances::free_balance(301); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1025:15 [INFO] [stdout] | [INFO] [stdout] 1025 | assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(301).into(), 301, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:1034:15 [INFO] [stdout] | [INFO] [stdout] 1034 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(301)), held_301 - 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1035:15 [INFO] [stdout] | [INFO] [stdout] 1035 | assert_eq!(Balances::free_balance(301), free_301 + 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1039:15 [INFO] [stdout] | [INFO] [stdout] 1039 | assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(302).into(), 302, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1040:15 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(303).into(), 303, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1074:16 [INFO] [stdout] | [INFO] [stdout] 1074 | assert_ok!(Pools::unbond(RawOrigin::Signed(i).into(), i, 100)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1080:16 [INFO] [stdout] | [INFO] [stdout] 1080 | assert_ok!(Pools::unbond(RawOrigin::Signed(i).into(), i, 50)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1085:15 [INFO] [stdout] | [INFO] [stdout] 1085 | assert_ok!(Pools::pool_withdraw_unbonded(RawOrigin::Signed(100).into(), pool_id, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1090:15 [INFO] [stdout] | [INFO] [stdout] 1090 | assert_ok!(Pools::pool_withdraw_unbonded(RawOrigin::Signed(100).into(), pool_id, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1095:15 [INFO] [stdout] | [INFO] [stdout] 1095 | assert_ok!(Pools::pool_withdraw_unbonded(RawOrigin::Signed(100).into(), pool_id, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1106:5 [INFO] [stdout] | [INFO] [stdout] 1106 | Pools::nominate(RawOrigin::Signed(100).into(), 1, vec![99]), [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1111:19 [INFO] [stdout] | [INFO] [stdout] 1111 | let pool_acc = Pools::generate_bonded_account(pool_id); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1112:15 [INFO] [stdout] | [INFO] [stdout] 1112 | assert_ok!(Pools::nominate(RawOrigin::Signed(100).into(), 1, vec![20, 21, 22])); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1113:12 [INFO] [stdout] | [INFO] [stdout] 1113 | assert!(Staking::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![20, 21, 22]))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1116:15 [INFO] [stdout] | [INFO] [stdout] 1116 | assert_ok!(Pools::nominate(RawOrigin::Signed(100).into(), 1, vec![18, 19, 22])); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1117:12 [INFO] [stdout] | [INFO] [stdout] 1117 | assert!(Staking::status(&pool_acc) == Ok(StakerStatus::Nominator(vec![18, 19, 22]))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1132:15 [INFO] [stdout] | [INFO] [stdout] 1132 | assert_ok!(Pools::set_state( [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1137:15 [INFO] [stdout] | [INFO] [stdout] 1137 | assert_ok!(Pools::chill(RawOrigin::Signed(creator).into(), pool_id)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1141:16 [INFO] [stdout] | [INFO] [stdout] 1141 | assert_ok!(Pools::unbond(RawOrigin::Signed(creator).into(), i, 200)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1147:16 [INFO] [stdout] | [INFO] [stdout] 1147 | assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(creator).into(), i, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1151:15 [INFO] [stdout] | [INFO] [stdout] 1151 | assert_ok!(Pools::unbond(RawOrigin::Signed(creator).into(), creator, creator_stake)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1156:15 [INFO] [stdout] | [INFO] [stdout] 1156 | assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(creator).into(), creator, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1172:39 [INFO] [stdout] | [INFO] [stdout] 1172 | assert!(!Agents::::contains_key(Pools::generate_bonded_account(pool_id))); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1173:37 [INFO] [stdout] | [INFO] [stdout] 1173 | assert!(!System::account_exists(&Pools::generate_bonded_account(pool_id))); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1190:19 [INFO] [stdout] | [INFO] [stdout] 1190 | let pool_acc = Pools::generate_bonded_account(pool_id); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1193:15 [INFO] [stdout] | [INFO] [stdout] 1193 | assert_eq!(Staking::stake(&pool_acc).unwrap().total, total_staked); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1197:15 [INFO] [stdout] | [INFO] [stdout] 1197 | assert_ok!(Pools::unbond(RawOrigin::Signed(300).into(), 300, delegator_stake)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1200:15 [INFO] [stdout] | [INFO] [stdout] 1200 | assert_ok!(Pools::unbond(RawOrigin::Signed(301).into(), 301, delegator_stake)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1203:15 [INFO] [stdout] | [INFO] [stdout] 1203 | assert_ok!(Pools::unbond(RawOrigin::Signed(302).into(), 302, delegator_stake)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1213:15 [INFO] [stdout] | [INFO] [stdout] 1213 | assert_eq!(Pools::api_pool_pending_slash(pool_id), 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1225:15 [INFO] [stdout] | [INFO] [stdout] 1225 | assert_eq!(Pools::api_pool_pending_slash(pool_id), 500); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:1241:15 [INFO] [stdout] | [INFO] [stdout] 1241 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(creator)), creator_stake); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:1243:16 [INFO] [stdout] | [INFO] [stdout] 1243 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(i)), delegator_stake); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1247:5 [INFO] [stdout] | [INFO] [stdout] 1247 | Staking::total_stake(&pool_acc).unwrap() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1258:15 [INFO] [stdout] | [INFO] [stdout] 1258 | assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(300).into(), 300, 1)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1267:23 [INFO] [stdout] | [INFO] [stdout] 1267 | let pre_balance = Balances::free_balance(i); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1269:16 [INFO] [stdout] | [INFO] [stdout] 1269 | assert_ok!(Pools::withdraw_unbonded(RawOrigin::Signed(i).into(), i, 0)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:1278:16 [INFO] [stdout] | [INFO] [stdout] 1278 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(i)), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1279:16 [INFO] [stdout] | [INFO] [stdout] 1279 | assert_eq!(Balances::free_balance(i) - pre_balance, 50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1290:16 [INFO] [stdout] | [INFO] [stdout] 1290 | assert_eq!(Pools::api_pool_pending_slash(pool_id), pre_pending_slash); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1292:16 [INFO] [stdout] | [INFO] [stdout] 1292 | assert_eq!(Pools::api_member_pending_slash(i), 50); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1294:16 [INFO] [stdout] | [INFO] [stdout] 1294 | assert_ok!(Pools::apply_slash(RawOrigin::Signed(slash_reporter).into(), i)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1296:16 [INFO] [stdout] | [INFO] [stdout] 1296 | assert_eq!(Pools::api_member_pending_slash(i), 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1301:16 [INFO] [stdout] | [INFO] [stdout] 1301 | assert_eq!(Pools::api_pool_pending_slash(pool_id), pre_pending_slash - 50); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelegatedStaking` [INFO] [stdout] --> src/tests.rs:1303:16 [INFO] [stdout] | [INFO] [stdout] 1303 | assert_eq!(DelegatedStaking::held_balance_of(Delegator::from(i)), 50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DelegatedStaking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1307:15 [INFO] [stdout] | [INFO] [stdout] 1307 | assert_eq!(Pools::api_pool_pending_slash(pool_id), 250); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1310:15 [INFO] [stdout] | [INFO] [stdout] 1310 | assert_eq!(Balances::free_balance(slash_reporter), 100 + 5 * 3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1312:15 [INFO] [stdout] | [INFO] [stdout] 1312 | assert_eq!(Pools::api_member_pending_slash(creator), 250); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1314:15 [INFO] [stdout] | [INFO] [stdout] 1314 | assert_ok!(Pools::apply_slash(RawOrigin::Signed(slash_reporter).into(), creator)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1316:15 [INFO] [stdout] | [INFO] [stdout] 1316 | assert_eq!(Pools::api_member_pending_slash(creator), 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1320:15 [INFO] [stdout] | [INFO] [stdout] 1320 | assert_eq!(Pools::api_pool_pending_slash(pool_id), 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1323:15 [INFO] [stdout] | [INFO] [stdout] 1323 | assert_eq!(Balances::free_balance(slash_reporter), 115 + 25); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `Balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1340:15 [INFO] [stdout] | [INFO] [stdout] 1340 | assert_ok!(Pools::join(RawOrigin::Signed(delegator).into(), 200, pool_id)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1344:5 [INFO] [stdout] | [INFO] [stdout] 1344 | Staking::bond( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1345:6 [INFO] [stdout] | [INFO] [stdout] 1345 | RuntimeOrigin::signed(delegator), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1366:15 [INFO] [stdout] | [INFO] [stdout] 1366 | assert_ok!(Staking::bond( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1367:5 [INFO] [stdout] | [INFO] [stdout] 1367 | RuntimeOrigin::signed(staker), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1371:15 [INFO] [stdout] | [INFO] [stdout] 1371 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(staker), vec![GENESIS_VALIDATOR])); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1371:33 [INFO] [stdout] | [INFO] [stdout] 1371 | assert_ok!(Staking::nominate(RuntimeOrigin::signed(staker), vec![GENESIS_VALIDATOR])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1375:5 [INFO] [stdout] | [INFO] [stdout] 1375 | Pools::join(RawOrigin::Signed(staker).into(), 200, pool_id), [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1383:14 [INFO] [stdout] | [INFO] [stdout] 1383 | assert_ok!(Pools::create( [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1397:15 [INFO] [stdout] | [INFO] [stdout] 1397 | assert_ok!(Pools::join(RawOrigin::Signed(delegator).into(), amount, pool_id)); [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pools` [INFO] [stdout] --> src/tests.rs:1402:21 [INFO] [stdout] | [INFO] [stdout] 1402 | get_agent_ledger(&Pools::generate_bonded_account(pool_id)) [INFO] [stdout] | ^^^^^ use of undeclared type `Pools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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-delegated-staking` (lib test) due to 295 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0e05a041e7c4b8658915979353fa691e2e56c6201d050d35d27a24b859df114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e05a041e7c4b8658915979353fa691e2e56c6201d050d35d27a24b859df114", kill_on_drop: false }` [INFO] [stdout] d0e05a041e7c4b8658915979353fa691e2e56c6201d050d35d27a24b859df114