[INFO] fetching crate pallet-asset-rewards 0.4.0... [INFO] checking pallet-asset-rewards-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-asset-rewards 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate pallet-asset-rewards 0.4.0 [INFO] finished tweaking crates.io crate pallet-asset-rewards 0.4.0 [INFO] tweaked toml for crates.io crate pallet-asset-rewards 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-asset-rewards 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-asset-rewards 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16ede413d9675b3f31190f4c44aea7a8e5c94c26a81b618120c9bcc6335e3d14 [INFO] running `Command { std: "docker" "start" "-a" "16ede413d9675b3f31190f4c44aea7a8e5c94c26a81b618120c9bcc6335e3d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16ede413d9675b3f31190f4c44aea7a8e5c94c26a81b618120c9bcc6335e3d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ede413d9675b3f31190f4c44aea7a8e5c94c26a81b618120c9bcc6335e3d14", kill_on_drop: false }` [INFO] [stdout] 16ede413d9675b3f31190f4c44aea7a8e5c94c26a81b618120c9bcc6335e3d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b25f5b5d6ae905fab3f9e1fbfeb74db9fbbcae6bdb257d5bc163cb9b61d5d749 [INFO] running `Command { std: "docker" "start" "-a" "b25f5b5d6ae905fab3f9e1fbfeb74db9fbbcae6bdb257d5bc163cb9b61d5d749", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking pallet-asset-rewards v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> src/mock.rs:97:2 [INFO] [stdout] | [INFO] [stdout] 97 | pallet_assets::runtime_benchmarks_enabled! { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets_freezer` [INFO] [stdout] --> src/mock.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | AssetsFreezer: pallet_assets_freezer::, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets_freezer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeEvent` in `mock` [INFO] [stdout] --> src/tests.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | if let mock::RuntimeEvent::StakingRewards(inner) = e { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RuntimeEvent` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | 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] 39 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | impl frame_system::Config for MockRuntime { [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:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | impl pallet_balances::Config for MockRuntime { [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:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | type AccountStore = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/mock.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | type FreezeIdentifier = RuntimeFreezeReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | type RuntimeHoldReason = RuntimeHoldReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/mock.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | type RuntimeFreezeReason = RuntimeFreezeReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | impl pallet_assets::Config for MockRuntime { [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:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | 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:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Balance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetsFreezer` in this scope [INFO] [stdout] --> src/mock.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | type Freezer = AssetsFreezer; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | impl EnsureOrigin for MockPermissionedOrigin { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | impl EnsureOrigin for MockPermissionedOrigin { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | type Success = ::AccountId; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_origin(origin: RuntimeOrigin) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:113:64 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_origin(origin: RuntimeOrigin) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | impl EnsureOrigin for MockPermissionedOrigin { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:127:74 [INFO] [stdout] | [INFO] [stdout] 127 | impl pallet_assets_freezer::Config for MockRuntime { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/mock.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | type RuntimeFreezeReason = RuntimeFreezeReason; [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:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | 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:132:36 [INFO] [stdout] | [INFO] [stdout] 132 | pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 132 - pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] 132 + pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 132 | pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/mock.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 132 | pub type NativeAndAssets = UnionOf, u128>; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | UnionOf, u128>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 135 - UnionOf, u128>; [INFO] [stdout] 135 + UnionOf, u128>; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 134 | pub type NativeAndAssetsFreezer = [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssetsFreezer` in this scope [INFO] [stdout] --> src/mock.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | UnionOf, u128>; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 134 | pub type NativeAndAssetsFreezer = [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/mock.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | pub const CreationHoldReason: RuntimeHoldReason = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | impl Config for MockRuntime { [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:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 155 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/mock.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | type RuntimeFreezeReason = RuntimeFreezeReason; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 163 | type RuntimeFreezeReason = Self::RuntimeFreezeReason; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | Balances, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 166 - Balances, [INFO] [stdout] 166 + Balance, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 154 | impl Config for MockRuntime { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | pallet_assets::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/mock.rs:204:35 [INFO] [stdout] | [INFO] [stdout] 204 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) fn new_test_ext() -> sp_io::TestExternalities { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | let balance_before: ::Balance = [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | <::Assets>::balance(reward_asset_id.clone(), &staker); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | if let Some(staker_pool) = PoolStakers::::get(pool_id, staker) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 68 | fn assert_hypothetically_earned( [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | <::Assets>::balance(reward_asset_id.clone(), &staker); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn events() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 96 | fn events() -> Vec> { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | let result = System::events() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:109:2 [INFO] [stdout] | [INFO] [stdout] 109 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | Pools::::iter().collect() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 114 | fn pools() -> Vec<(u32, PoolInfo, u128, u64>)> { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(NextPoolId::::get(), 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | System::set_block_number(10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 119 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 119 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | [Event::::PoolCreated { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(NextPoolId::::get(), 1); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | [Event::::PoolCreated { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:205:28 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(NextPoolId::::get(), 2); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 122 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(NextPoolId::::get(), 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 243 | fn success_same_assets() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | System::set_block_number(10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 119 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 119 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:264:14 [INFO] [stdout] | [INFO] [stdout] 264 | [Event::::PoolCreated { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 243 | fn success_same_assets() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | assert_eq!(NextPoolId::::get(), 1); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 243 | fn success_same_assets() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | Error::::NonExistentAsset [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 298 | fn fails_for_non_existent_asset() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | Error::::NonExistentAsset [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 298 | fn fails_for_non_existent_asset() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | Error::::NonExistentAsset [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 298 | fn fails_for_non_existent_asset() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:366:28 [INFO] [stdout] | [INFO] [stdout] 366 | assert_eq!(NextPoolId::::get(), 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 364 | fn create_pool_with_caller_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:368:4 [INFO] [stdout] | [INFO] [stdout] 368 | System::set_block_number(10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 119 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 119 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:382:14 [INFO] [stdout] | [INFO] [stdout] 382 | [Event::::PoolCreated { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 364 | fn create_pool_with_caller_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:393:23 [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(Pools::::get(0).unwrap().admin, PermissionedAccountId::get()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 364 | fn create_pool_with_caller_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:407:27 [INFO] [stdout] | [INFO] [stdout] 407 | let initial_balance = >::reducible_balance( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | assert_eq!(PoolStakers::::get(pool_id, user).unwrap().amount, 1000); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 402 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | Event::::Staked { staker: user, amount: 1000, pool_id: 0 } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 402 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | assert_eq!(Pools::::get(pool_id).unwrap().total_tokens_staked, 1000); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 402 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:431:6 [INFO] [stdout] | [INFO] [stdout] 431 | >::reducible_balance( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | Event::::Staked { staker: user, amount: 500, pool_id: 0 } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 402 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:450:29 [INFO] [stdout] | [INFO] [stdout] 450 | assert_eq!(PoolStakers::::get(pool_id, user).unwrap().amount, 1000 + 500); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 402 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:453:23 [INFO] [stdout] | [INFO] [stdout] 453 | assert_eq!(Pools::::get(pool_id).unwrap().total_tokens_staked, 1000 + 500); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 402 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:456:6 [INFO] [stdout] | [INFO] [stdout] 456 | >::reducible_balance( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | Error::::NonExistentPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 471 | fn fails_for_non_existent_pool() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/tests.rs:487:27 [INFO] [stdout] | [INFO] [stdout] 487 | let initial_balance = >::reducible_balance( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | Event::::Unstaked { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 505 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | assert_eq!(PoolStakers::::get(pool_id, user).unwrap().amount, 500); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 505 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:532:23 [INFO] [stdout] | [INFO] [stdout] 532 | assert_eq!(Pools::::get(pool_id).unwrap().total_tokens_staked, 500); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 505 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:538:26 [INFO] [stdout] | [INFO] [stdout] 538 | assert!(PoolStakers::::get(pool_id, user).is_none()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 505 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:541:23 [INFO] [stdout] | [INFO] [stdout] 541 | assert_eq!(Pools::::get(pool_id).unwrap().total_tokens_staked, 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 505 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:551:21 [INFO] [stdout] | [INFO] [stdout] 551 | let init_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 502 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 502 + use sp_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:564:4 [INFO] [stdout] | [INFO] [stdout] 564 | System::set_block_number(init_block + DEFAULT_EXPIRE_AFTER + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 502 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 502 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Event::::Unstaked { caller, staker, amount: 500, pool_id: 0 } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 546 | fn unstake_for_other() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | Error::::NonExistentPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 582 | fn fails_for_non_existent_pool() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:613:13 [INFO] [stdout] | [INFO] [stdout] 613 | Error::::NotEnoughTokens [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn fails_for_insufficient_staked_amount() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:631:4 [INFO] [stdout] | [INFO] [stdout] 631 | System::set_block_number(10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 620 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 620 + use sp_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:635:4 [INFO] [stdout] | [INFO] [stdout] 635 | System::set_block_number(20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 620 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 620 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:636:25 [INFO] [stdout] | [INFO] [stdout] 636 | let balance_before: ::Balance = [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:637:7 [INFO] [stdout] | [INFO] [stdout] 637 | <::Assets>::balance(reward_asset_id.clone(), &staker); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:644:7 [INFO] [stdout] | [INFO] [stdout] 644 | <::Assets>::balance(reward_asset_id.clone(), &staker); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:649:18 [INFO] [stdout] | [INFO] [stdout] 649 | 10 * Pools::::get(pool_id).unwrap().reward_rate_per_block [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 623 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | Event::::RewardsHarvested { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 623 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:657:27 [INFO] [stdout] | [INFO] [stdout] 657 | amount: 10 * Pools::::get(pool_id).unwrap().reward_rate_per_block [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 623 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:669:21 [INFO] [stdout] | [INFO] [stdout] 669 | let init_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 620 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 620 + use sp_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:674:4 [INFO] [stdout] | [INFO] [stdout] 674 | System::set_block_number(10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 620 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 620 + use sp_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:677:4 [INFO] [stdout] | [INFO] [stdout] 677 | System::set_block_number(20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 620 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 620 + use sp_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:4 [INFO] [stdout] | [INFO] [stdout] 689 | System::set_block_number(init_block + DEFAULT_EXPIRE_AFTER + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 620 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 620 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | Event::::RewardsHarvested { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 664 | fn harvest_for_other() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:722:13 [INFO] [stdout] | [INFO] [stdout] 722 | Error::::NonExistentStaker [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 711 | fn fails_for_non_existent_staker() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:739:13 [INFO] [stdout] | [INFO] [stdout] 739 | Error::::NonExistentPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 728 | fn fails_for_non_existent_pool() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:766:13 [INFO] [stdout] | [INFO] [stdout] 766 | Event::::PoolAdminModified { pool_id, new_admin } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 749 | fn success_signed_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:768:23 [INFO] [stdout] | [INFO] [stdout] 768 | assert_eq!(Pools::::get(pool_id).unwrap().admin, new_admin); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 749 | fn success_signed_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:785:13 [INFO] [stdout] | [INFO] [stdout] 785 | Event::::PoolAdminModified { pool_id, new_admin } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 773 | fn success_permissioned_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:787:23 [INFO] [stdout] | [INFO] [stdout] 787 | assert_eq!(Pools::::get(pool_id).unwrap().admin, new_admin); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 773 | fn success_permissioned_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:804:13 [INFO] [stdout] | [INFO] [stdout] 804 | Error::::NonExistentPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 792 | fn fails_for_non_existent_pool() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:836:27 [INFO] [stdout] | [INFO] [stdout] 836 | let new_expiry_block = System::block_number() + DEFAULT_EXPIRE_AFTER + 1u64; [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 830 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 830 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:846:23 [INFO] [stdout] | [INFO] [stdout] 846 | assert_eq!(Pools::::get(pool_id).unwrap().expiry_block, new_expiry_block); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 833 | fn success_permissioned_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:849:13 [INFO] [stdout] | [INFO] [stdout] 849 | Event::::PoolExpiryBlockModified { pool_id, new_expiry_block } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 833 | fn success_permissioned_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:859:27 [INFO] [stdout] | [INFO] [stdout] 859 | let new_expiry_block = System::block_number() + DEFAULT_EXPIRE_AFTER + 1u64; [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 830 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 830 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:869:23 [INFO] [stdout] | [INFO] [stdout] 869 | assert_eq!(Pools::::get(pool_id).unwrap().expiry_block, new_expiry_block); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 855 | fn success_signed_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | Event::::PoolExpiryBlockModified { pool_id, new_expiry_block } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 855 | fn success_signed_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:884:4 [INFO] [stdout] | [INFO] [stdout] 884 | System::set_block_number(10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 830 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 830 + use sp_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:889:4 [INFO] [stdout] | [INFO] [stdout] 889 | System::set_block_number(20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 830 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 830 + use sp_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:898:4 [INFO] [stdout] | [INFO] [stdout] 898 | System::set_block_number(250); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 830 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 830 + use sp_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:912:4 [INFO] [stdout] | [INFO] [stdout] 912 | System::set_block_number(350); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 830 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 830 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:937:13 [INFO] [stdout] | [INFO] [stdout] 937 | Error::::ExpiryCut [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 925 | fn fails_to_cutback_expiration() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:955:13 [INFO] [stdout] | [INFO] [stdout] 955 | Error::::NonExistentPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 943 | fn fails_for_non_existent_pool() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:985:4 [INFO] [stdout] | [INFO] [stdout] 985 | System::set_block_number(50); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 830 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 830 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | Error::::ExpiryBlockMustBeInTheFuture [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 980 | fn fails_for_expiry_block_in_the_past() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | Pools::::get(pool_id).unwrap().reward_rate_per_block, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1002 | fn success_signed_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | Event::::PoolRewardRateModified { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1002 | fn success_signed_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | Pools::::get(pool_id).unwrap().reward_rate_per_block, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1033 | fn success_permissioned_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1055:13 [INFO] [stdout] | [INFO] [stdout] 1055 | Event::::PoolRewardRateModified { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1033 | fn success_permissioned_admin() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1073:4 [INFO] [stdout] | [INFO] [stdout] 1073 | System::set_block_number(10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 999 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 999 + use sp_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:1075:4 [INFO] [stdout] | [INFO] [stdout] 1075 | System::set_block_number(20); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 999 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 999 + use sp_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:1085:4 [INFO] [stdout] | [INFO] [stdout] 1085 | System::set_block_number(30); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 999 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 999 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1110:13 [INFO] [stdout] | [INFO] [stdout] 1110 | Error::::NonExistentPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1098 | fn fails_for_non_existent_pool() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1145:13 [INFO] [stdout] | [INFO] [stdout] 1145 | Error::::RewardRateCut [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1135 | fn fails_to_decrease() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1165:7 [INFO] [stdout] | [INFO] [stdout] 1165 | <::Assets>::balance(reward_asset_id.clone(), &depositor); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1166:32 [INFO] [stdout] | [INFO] [stdout] 1166 | let pool_balance_before = <::Assets>::balance( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1176:7 [INFO] [stdout] | [INFO] [stdout] 1176 | <::Assets>::balance(reward_asset_id.clone(), &depositor); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1178:7 [INFO] [stdout] | [INFO] [stdout] 1178 | <::Assets>::balance(reward_asset_id, &pool_account_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | Error::::NonExistentPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1186 | fn fails_for_non_existent_pool() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1215:32 [INFO] [stdout] | [INFO] [stdout] 1215 | let admin_balance_before = >::balance(&admin); [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Balance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1218:20 [INFO] [stdout] | [INFO] [stdout] 1218 | assert!(Pools::::get(pool_id).is_some()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1211 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1223:6 [INFO] [stdout] | [INFO] [stdout] 1223 | >::balance(&admin), [INFO] [stdout] | ^^^^^^^^ help: a trait with a similar name exists: `Balance` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-support-42.0.0/src/traits/tokens/misc.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / pub trait Balance: [INFO] [stdout] 262 | | AtLeast32BitUnsigned [INFO] [stdout] 263 | | + FullCodec [INFO] [stdout] 264 | | + DecodeWithMemTracking [INFO] [stdout] ... | [INFO] [stdout] 273 | | + MaybeSerializeDeserialize [INFO] [stdout] 274 | | + 'static [INFO] [stdout] | |_____________- similarly named trait `Balance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1227:23 [INFO] [stdout] | [INFO] [stdout] 1227 | assert_eq!(Pools::::get(pool_id), None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1211 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1228:29 [INFO] [stdout] | [INFO] [stdout] 1228 | assert_eq!(PoolStakers::::iter_prefix_values(pool_id).count(), 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1211 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1229:26 [INFO] [stdout] | [INFO] [stdout] 1229 | assert_eq!(PoolCost::::get(pool_id), None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1211 | fn success() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1247:13 [INFO] [stdout] | [INFO] [stdout] 1247 | Error::::NonEmptyPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1234 | fn success_only_when_pool_empty() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1255:13 [INFO] [stdout] | [INFO] [stdout] 1255 | Error::::NonEmptyPool [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1234 | fn success_only_when_pool_empty() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1263:23 [INFO] [stdout] | [INFO] [stdout] 1263 | assert_eq!(Pools::::get(pool_id), None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1234 | fn success_only_when_pool_empty() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1264:29 [INFO] [stdout] | [INFO] [stdout] 1264 | assert_eq!(PoolStakers::::iter_prefix_values(pool_id).count(), 0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1234 | fn success_only_when_pool_empty() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1265:26 [INFO] [stdout] | [INFO] [stdout] 1265 | assert_eq!(PoolCost::::get(pool_id), None); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1234 | fn success_only_when_pool_empty() { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1303:3 [INFO] [stdout] | [INFO] [stdout] 1303 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1315:3 [INFO] [stdout] | [INFO] [stdout] 1315 | System::set_block_number(7); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1325:3 [INFO] [stdout] | [INFO] [stdout] 1325 | System::set_block_number(9); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1338:3 [INFO] [stdout] | [INFO] [stdout] 1338 | System::set_block_number(12); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1351:3 [INFO] [stdout] | [INFO] [stdout] 1351 | System::set_block_number(22); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1361:3 [INFO] [stdout] | [INFO] [stdout] 1361 | System::set_block_number(23); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1371:3 [INFO] [stdout] | [INFO] [stdout] 1371 | System::set_block_number(50); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1380:3 [INFO] [stdout] | [INFO] [stdout] 1380 | System::set_block_number(51); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1395:3 [INFO] [stdout] | [INFO] [stdout] 1395 | System::set_block_number(53); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1403:3 [INFO] [stdout] | [INFO] [stdout] 1403 | System::set_block_number(55); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_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:1413:3 [INFO] [stdout] | [INFO] [stdout] 1413 | System::set_block_number(57); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1417:24 [INFO] [stdout] | [INFO] [stdout] 1417 | let balance_before: ::Balance = [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1418:6 [INFO] [stdout] | [INFO] [stdout] 1418 | <::Assets>::balance(reward_asset_id.clone(), &staker2); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockRuntime` in this scope [INFO] [stdout] --> src/tests.rs:1421:6 [INFO] [stdout] | [INFO] [stdout] 1421 | <::Assets>::balance(reward_asset_id.clone(), &staker2); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1427:3 [INFO] [stdout] | [INFO] [stdout] 1427 | System::set_block_number(60); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] 18 + use sp_std::alloc::System; [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:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | impl pallet_balances::Config for MockRuntime { [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_assets` [INFO] [stdout] --> src/mock.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | impl pallet_assets::Config for MockRuntime { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` 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_assets_freezer` [INFO] [stdout] --> src/mock.rs:127:6 [INFO] [stdout] | [INFO] [stdout] 127 | impl pallet_assets_freezer::Config for MockRuntime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets_freezer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets_freezer`, use `cargo add pallet_assets_freezer` 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_assets_freezer` [INFO] [stdout] --> src/mock.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | impl pallet_assets_freezer::Config for MockRuntime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets_freezer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets_freezer`, use `cargo add pallet_assets_freezer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeHoldReason` [INFO] [stdout] --> src/mock.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | RuntimeHoldReason::StakingRewards(pallet_asset_rewards::HoldReason::PoolCreation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RuntimeHoldReason` [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:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | type Balance = ::Balance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] --> src/mock.rs:177:2 [INFO] [stdout] | [INFO] [stdout] 177 | pallet_assets::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_assets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_assets`, use `cargo add pallet_assets` 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:204:2 [INFO] [stdout] | [INFO] [stdout] 204 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | assert_ok!(StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | assert_ok!(StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | assert_ok!(StakingRewards::harvest_rewards(RuntimeOrigin::signed(staker), pool_id, None),); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | assert_ok!(StakingRewards::harvest_rewards(RuntimeOrigin::signed(staker), pool_id, None),); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | assert_ok!(StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 169 | account: StakingRewards::pool_account_id(&0), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | assert_ok!(StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | account: StakingRewards::pool_account_id(&0), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | account: StakingRewards::pool_account_id(&1), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | assert_ok!(StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | account: StakingRewards::pool_account_id(&0), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:305:6 [INFO] [stdout] | [INFO] [stdout] 305 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:317:6 [INFO] [stdout] | [INFO] [stdout] 317 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:329:6 [INFO] [stdout] | [INFO] [stdout] 329 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:351:6 [INFO] [stdout] | [INFO] [stdout] 351 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:371:15 [INFO] [stdout] | [INFO] [stdout] 371 | assert_ok!(StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:415:15 [INFO] [stdout] | [INFO] [stdout] 415 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:415:37 [INFO] [stdout] | [INFO] [stdout] 415 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:441:15 [INFO] [stdout] | [INFO] [stdout] 441 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, 500)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:441:37 [INFO] [stdout] | [INFO] [stdout] 441 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, 500)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | StakingRewards::stake(RuntimeOrigin::signed(user), 999, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:475:27 [INFO] [stdout] | [INFO] [stdout] 475 | StakingRewards::stake(RuntimeOrigin::signed(user), 999, 1000), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, initial_balance + 1), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:494:27 [INFO] [stdout] | [INFO] [stdout] 494 | StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, initial_balance + 1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:512:15 [INFO] [stdout] | [INFO] [stdout] 512 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:512:37 [INFO] [stdout] | [INFO] [stdout] 512 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:515:15 [INFO] [stdout] | [INFO] [stdout] 515 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(user), pool_id, 500, None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:515:39 [INFO] [stdout] | [INFO] [stdout] 515 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(user), pool_id, 500, None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:535:15 [INFO] [stdout] | [INFO] [stdout] 535 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(user), pool_id, 500, None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:535:39 [INFO] [stdout] | [INFO] [stdout] 535 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(user), pool_id, 500, None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:556:15 [INFO] [stdout] | [INFO] [stdout] 556 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:556:37 [INFO] [stdout] | [INFO] [stdout] 556 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 560 | StakingRewards::unstake(RuntimeOrigin::signed(caller), pool_id, 500, Some(staker)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:560:29 [INFO] [stdout] | [INFO] [stdout] 560 | StakingRewards::unstake(RuntimeOrigin::signed(caller), pool_id, 500, Some(staker)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:566:15 [INFO] [stdout] | [INFO] [stdout] 566 | assert_ok!(StakingRewards::unstake( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | RuntimeOrigin::signed(caller), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | StakingRewards::unstake( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:590:6 [INFO] [stdout] | [INFO] [stdout] 590 | RuntimeOrigin::signed(user), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:608:15 [INFO] [stdout] | [INFO] [stdout] 608 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:608:37 [INFO] [stdout] | [INFO] [stdout] 608 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(user), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:612:5 [INFO] [stdout] | [INFO] [stdout] 612 | StakingRewards::unstake(RuntimeOrigin::signed(user), pool_id, 1500, None), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:612:29 [INFO] [stdout] | [INFO] [stdout] 612 | StakingRewards::unstake(RuntimeOrigin::signed(user), pool_id, 1500, None), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:632:15 [INFO] [stdout] | [INFO] [stdout] 632 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:632:37 [INFO] [stdout] | [INFO] [stdout] 632 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:638:15 [INFO] [stdout] | [INFO] [stdout] 638 | assert_ok!(StakingRewards::harvest_rewards( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:639:5 [INFO] [stdout] | [INFO] [stdout] 639 | 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 `StakingRewards` [INFO] [stdout] --> src/tests.rs:675:15 [INFO] [stdout] | [INFO] [stdout] 675 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:675:37 [INFO] [stdout] | [INFO] [stdout] 675 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:681:5 [INFO] [stdout] | [INFO] [stdout] 681 | StakingRewards::harvest_rewards( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:682:6 [INFO] [stdout] | [INFO] [stdout] 682 | RuntimeOrigin::signed(caller), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:692:15 [INFO] [stdout] | [INFO] [stdout] 692 | assert_ok!(StakingRewards::harvest_rewards( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | RuntimeOrigin::signed(caller), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:717:5 [INFO] [stdout] | [INFO] [stdout] 717 | StakingRewards::harvest_rewards( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:718:6 [INFO] [stdout] | [INFO] [stdout] 718 | RuntimeOrigin::signed(non_existent_staker), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:734:5 [INFO] [stdout] | [INFO] [stdout] 734 | StakingRewards::harvest_rewards( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:735:6 [INFO] [stdout] | [INFO] [stdout] 735 | 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 `StakingRewards` [INFO] [stdout] --> src/tests.rs:757:15 [INFO] [stdout] | [INFO] [stdout] 757 | assert_ok!(StakingRewards::set_pool_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 758 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:780:15 [INFO] [stdout] | [INFO] [stdout] 780 | assert_ok!(StakingRewards::set_pool_admin(RuntimeOrigin::root(), pool_id, new_admin)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:780:46 [INFO] [stdout] | [INFO] [stdout] 780 | assert_ok!(StakingRewards::set_pool_admin(RuntimeOrigin::root(), pool_id, new_admin)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:799:5 [INFO] [stdout] | [INFO] [stdout] 799 | StakingRewards::set_pool_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:800:6 [INFO] [stdout] | [INFO] [stdout] 800 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 818 | StakingRewards::set_pool_admin( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:819:6 [INFO] [stdout] | [INFO] [stdout] 819 | RuntimeOrigin::signed(non_admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:839:15 [INFO] [stdout] | [INFO] [stdout] 839 | assert_ok!(StakingRewards::set_pool_expiry_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:840:5 [INFO] [stdout] | [INFO] [stdout] 840 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:862:15 [INFO] [stdout] | [INFO] [stdout] 862 | assert_ok!(StakingRewards::set_pool_expiry_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:863:5 [INFO] [stdout] | [INFO] [stdout] 863 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:888:15 [INFO] [stdout] | [INFO] [stdout] 888 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:888:37 [INFO] [stdout] | [INFO] [stdout] 888 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:907:15 [INFO] [stdout] | [INFO] [stdout] 907 | assert_ok!(StakingRewards::set_pool_expiry_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:908:5 [INFO] [stdout] | [INFO] [stdout] 908 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 932 | StakingRewards::set_pool_expiry_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:933:6 [INFO] [stdout] | [INFO] [stdout] 933 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:950:5 [INFO] [stdout] | [INFO] [stdout] 950 | StakingRewards::set_pool_expiry_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:951:6 [INFO] [stdout] | [INFO] [stdout] 951 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:969:5 [INFO] [stdout] | [INFO] [stdout] 969 | StakingRewards::set_pool_expiry_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:970:6 [INFO] [stdout] | [INFO] [stdout] 970 | RuntimeOrigin::signed(non_admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:987:5 [INFO] [stdout] | [INFO] [stdout] 987 | StakingRewards::set_pool_expiry_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:988:6 [INFO] [stdout] | [INFO] [stdout] 988 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1009:15 [INFO] [stdout] | [INFO] [stdout] 1009 | assert_ok!(StakingRewards::set_pool_reward_rate_per_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1010:5 [INFO] [stdout] | [INFO] [stdout] 1010 | RuntimeOrigin::signed(DEFAULT_ADMIN), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1040:15 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_ok!(StakingRewards::set_pool_reward_rate_per_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1041:5 [INFO] [stdout] | [INFO] [stdout] 1041 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1074:15 [INFO] [stdout] | [INFO] [stdout] 1074 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1074:37 [INFO] [stdout] | [INFO] [stdout] 1074 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 1000)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1078:15 [INFO] [stdout] | [INFO] [stdout] 1078 | assert_ok!(StakingRewards::set_pool_reward_rate_per_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1079:5 [INFO] [stdout] | [INFO] [stdout] 1079 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1105:5 [INFO] [stdout] | [INFO] [stdout] 1105 | StakingRewards::set_pool_reward_rate_per_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1106:6 [INFO] [stdout] | [INFO] [stdout] 1106 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1124:5 [INFO] [stdout] | [INFO] [stdout] 1124 | StakingRewards::set_pool_reward_rate_per_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1125:6 [INFO] [stdout] | [INFO] [stdout] 1125 | RuntimeOrigin::signed(non_admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1140:5 [INFO] [stdout] | [INFO] [stdout] 1140 | StakingRewards::set_pool_reward_rate_per_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1141:6 [INFO] [stdout] | [INFO] [stdout] 1141 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1162:26 [INFO] [stdout] | [INFO] [stdout] 1162 | let pool_account_id = StakingRewards::pool_account_id(&pool_id); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1170:15 [INFO] [stdout] | [INFO] [stdout] 1170 | assert_ok!(StakingRewards::deposit_reward_tokens( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1171:5 [INFO] [stdout] | [INFO] [stdout] 1171 | RuntimeOrigin::signed(depositor), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1189:5 [INFO] [stdout] | [INFO] [stdout] 1189 | StakingRewards::deposit_reward_tokens(RuntimeOrigin::signed(1), 999, 100), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1189:43 [INFO] [stdout] | [INFO] [stdout] 1189 | StakingRewards::deposit_reward_tokens(RuntimeOrigin::signed(1), 999, 100), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1200:5 [INFO] [stdout] | [INFO] [stdout] 1200 | StakingRewards::deposit_reward_tokens(RuntimeOrigin::signed(1), 0, 100_000_000), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1200:43 [INFO] [stdout] | [INFO] [stdout] 1200 | StakingRewards::deposit_reward_tokens(RuntimeOrigin::signed(1), 0, 100_000_000), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1220:15 [INFO] [stdout] | [INFO] [stdout] 1220 | assert_ok!(StakingRewards::cleanup_pool(RuntimeOrigin::signed(admin), pool_id)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1220:44 [INFO] [stdout] | [INFO] [stdout] 1220 | assert_ok!(StakingRewards::cleanup_pool(RuntimeOrigin::signed(admin), pool_id)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1243:15 [INFO] [stdout] | [INFO] [stdout] 1243 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1243:37 [INFO] [stdout] | [INFO] [stdout] 1243 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker), pool_id, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1246:5 [INFO] [stdout] | [INFO] [stdout] 1246 | StakingRewards::cleanup_pool(RuntimeOrigin::signed(admin), pool_id), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1246:34 [INFO] [stdout] | [INFO] [stdout] 1246 | StakingRewards::cleanup_pool(RuntimeOrigin::signed(admin), pool_id), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1251:15 [INFO] [stdout] | [INFO] [stdout] 1251 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(staker), pool_id, 50, None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1251:39 [INFO] [stdout] | [INFO] [stdout] 1251 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(staker), pool_id, 50, None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1254:5 [INFO] [stdout] | [INFO] [stdout] 1254 | StakingRewards::cleanup_pool(RuntimeOrigin::signed(admin), pool_id), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1254:34 [INFO] [stdout] | [INFO] [stdout] 1254 | StakingRewards::cleanup_pool(RuntimeOrigin::signed(admin), pool_id), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1259:15 [INFO] [stdout] | [INFO] [stdout] 1259 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(staker), pool_id, 50, None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1259:39 [INFO] [stdout] | [INFO] [stdout] 1259 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(staker), pool_id, 50, None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1261:15 [INFO] [stdout] | [INFO] [stdout] 1261 | assert_ok!(StakingRewards::cleanup_pool(RuntimeOrigin::signed(admin), pool_id),); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1261:44 [INFO] [stdout] | [INFO] [stdout] 1261 | assert_ok!(StakingRewards::cleanup_pool(RuntimeOrigin::signed(admin), pool_id),); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1277:5 [INFO] [stdout] | [INFO] [stdout] 1277 | StakingRewards::cleanup_pool(RuntimeOrigin::signed(caller), pool_id), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1277:34 [INFO] [stdout] | [INFO] [stdout] 1277 | StakingRewards::cleanup_pool(RuntimeOrigin::signed(caller), pool_id), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1304:14 [INFO] [stdout] | [INFO] [stdout] 1304 | assert_ok!(StakingRewards::create_pool( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1305:4 [INFO] [stdout] | [INFO] [stdout] 1305 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1316:14 [INFO] [stdout] | [INFO] [stdout] 1316 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker1), pool_id, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1316:36 [INFO] [stdout] | [INFO] [stdout] 1316 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker1), pool_id, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1326:14 [INFO] [stdout] | [INFO] [stdout] 1326 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker2), pool_id, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1326:36 [INFO] [stdout] | [INFO] [stdout] 1326 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker2), pool_id, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1339:14 [INFO] [stdout] | [INFO] [stdout] 1339 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker1), pool_id, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1339:36 [INFO] [stdout] | [INFO] [stdout] 1339 | assert_ok!(StakingRewards::stake(RuntimeOrigin::signed(staker1), pool_id, 100)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1352:14 [INFO] [stdout] | [INFO] [stdout] 1352 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(staker1), pool_id, 100, None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1352:38 [INFO] [stdout] | [INFO] [stdout] 1352 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(staker1), pool_id, 100, None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1362:14 [INFO] [stdout] | [INFO] [stdout] 1362 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(staker1), pool_id, 100, None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1362:38 [INFO] [stdout] | [INFO] [stdout] 1362 | assert_ok!(StakingRewards::unstake(RuntimeOrigin::signed(staker1), pool_id, 100, None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1383:14 [INFO] [stdout] | [INFO] [stdout] 1383 | assert_ok!(StakingRewards::set_pool_expiry_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1384:4 [INFO] [stdout] | [INFO] [stdout] 1384 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1404:14 [INFO] [stdout] | [INFO] [stdout] 1404 | assert_ok!(StakingRewards::set_pool_reward_rate_per_block( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1405:4 [INFO] [stdout] | [INFO] [stdout] 1405 | RuntimeOrigin::signed(admin), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StakingRewards` [INFO] [stdout] --> src/tests.rs:1419:14 [INFO] [stdout] | [INFO] [stdout] 1419 | assert_ok!(StakingRewards::harvest_rewards(RuntimeOrigin::signed(staker2), pool_id, None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `StakingRewards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1419:46 [INFO] [stdout] | [INFO] [stdout] 1419 | assert_ok!(StakingRewards::harvest_rewards(RuntimeOrigin::signed(staker2), pool_id, None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-asset-rewards` (lib test) due to 314 previous errors [INFO] running `Command { std: "docker" "inspect" "b25f5b5d6ae905fab3f9e1fbfeb74db9fbbcae6bdb257d5bc163cb9b61d5d749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b25f5b5d6ae905fab3f9e1fbfeb74db9fbbcae6bdb257d5bc163cb9b61d5d749", kill_on_drop: false }` [INFO] [stdout] b25f5b5d6ae905fab3f9e1fbfeb74db9fbbcae6bdb257d5bc163cb9b61d5d749