[INFO] fetching crate pallet-treasury 41.0.0... [INFO] checking pallet-treasury-41.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-treasury 41.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pallet-treasury 41.0.0 [INFO] finished tweaking crates.io crate pallet-treasury 41.0.0 [INFO] tweaked toml for crates.io crate pallet-treasury 41.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-treasury 41.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-treasury 41.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-balances v43.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9f5a8e1cff3b10c10e6d10e2fed26221a06c18f78eb8bd8df130671c45ae511 [INFO] running `Command { std: "docker" "start" "-a" "c9f5a8e1cff3b10c10e6d10e2fed26221a06c18f78eb8bd8df130671c45ae511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9f5a8e1cff3b10c10e6d10e2fed26221a06c18f78eb8bd8df130671c45ae511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f5a8e1cff3b10c10e6d10e2fed26221a06c18f78eb8bd8df130671c45ae511", kill_on_drop: false }` [INFO] [stdout] c9f5a8e1cff3b10c10e6d10e2fed26221a06c18f78eb8bd8df130671c45ae511 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 409c9599b7c299e118d8de583a419795090a4c19a24ccfa6d9edb187f55fc3cf [INFO] running `Command { std: "docker" "start" "-a" "409c9599b7c299e118d8de583a419795090a4c19a24ccfa6d9edb187f55fc3cf", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling 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] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling expander v2.2.1 [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 base16ct v0.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking num-conv v0.1.0 [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 zerocopy v0.7.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Compiling blake2 v0.10.6 [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] Compiling same-file v1.0.6 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v1.3.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 rustc-demangle v0.1.23 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [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] Checking simple-mermaid v0.1.1 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Checking secp256k1 v0.28.2 [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] Checking regex v1.11.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking addr2line v0.21.0 [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] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [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 futures-util v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serdect v0.2.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 elliptic-curve v0.13.8 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling ss58-registry v1.43.0 [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] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking bounded-collections v0.3.2 [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-balances v43.0.0 [INFO] [stderr] Checking pallet-treasury v41.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] --> src/tests.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | Utility: pallet_utility, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 42 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | type UtilityCall = pallet_utility::Call; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 43 | type UtilityCall = pallet_utility::Call; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | type TreasuryCall = crate::Call; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | type TreasuryCall = crate::Call; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | impl pallet_balances::Config for Test { [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/tests.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | type AccountStore = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_balances::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/pallet-balances-43.0.0/src/lib.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_balances::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/pallet-balances-43.0.0/src/lib.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230| type Self::RuntimeHoldReason = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_balances::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/pallet-balances-43.0.0/src/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232| type Self::RuntimeFreezeReason = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | impl pallet_utility::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> src/tests.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | type PalletsOrigin = OriginCaller; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | ::BlockNumberProvider::set_block_number(n); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | >::on_initialize(n); [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/tests.rs:145:42 [INFO] [stdout] | [INFO] [stdout] 145 | impl frame_support::traits::EnsureOrigin for TestSpendOrigin { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 145 | impl frame_support::traits::EnsureOrigin for TestSpendOrigin { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | fn try_origin(outer: 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/tests.rs:147:63 [INFO] [stdout] | [INFO] [stdout] 147 | fn try_origin(outer: 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] 145 | impl frame_support::traits::EnsureOrigin for TestSpendOrigin { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | Result::, RuntimeOrigin>::from(outer.clone()).and_then(|o| { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 145 | impl frame_support::traits::EnsureOrigin for TestSpendOrigin { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 180 | impl Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 184 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | type BlockNumberProvider = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/tests.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn build(self) -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:222:45 [INFO] [stdout] | [INFO] [stdout] 222 | 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] 214 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | 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] 214 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | crate::GenesisConfig::::default().assimilate_storage(&mut t).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/tests.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let mut ext = sp_io::TestExternalities::new(t); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | let spend = Spends::::get(i).expect("no spend"); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 237 | fn get_payment_id(i: SpendIndex) -> Option { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:249:30 [INFO] [stdout] | [INFO] [stdout] 249 | assert_eq!(ProposalCount::::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] 246 | fn genesis_config_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | fn spend_local_origin_permissioning_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | fn spend_local_origin_permissioning_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | fn spend_local_origin_permissioning_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | fn spend_local_origin_permissioning_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:331:62 [INFO] [stdout] | [INFO] [stdout] 331 | let init_total_issuance = pallet_balances::TotalIssuance::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:333:47 [INFO] [stdout] | [INFO] [stdout] 333 | assert_eq!(pallet_balances::TotalIssuance::::get(), init_total_issuance + 100); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:337:47 [INFO] [stdout] | [INFO] [stdout] 337 | assert_eq!(pallet_balances::TotalIssuance::::get(), init_total_issuance + 50); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | fn unused_pot_should_diminish() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | >::on_initialize(2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:411:44 [INFO] [stdout] | [INFO] [stdout] 411 | 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] 410 | fn inexistent_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:412:35 [INFO] [stdout] | [INFO] [stdout] 412 | 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] 410 | fn inexistent_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/tests.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | let mut t: sp_io::TestExternalities = t.into(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:449:44 [INFO] [stdout] | [INFO] [stdout] 449 | 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] 448 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:451:35 [INFO] [stdout] | [INFO] [stdout] 451 | 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] 448 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | crate::GenesisConfig::::default().assimilate_storage(&mut t).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 448 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/tests.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | let mut t: sp_io::TestExternalities = t.into(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:474:16 [INFO] [stdout] | [INFO] [stdout] 474 | for _ in 0..::MaxApprovals::get() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | Error::::TooManyApprovals [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 468 | fn max_approvals_limited() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:494:26 [INFO] [stdout] | [INFO] [stdout] 494 | assert_eq!(Approvals::::get(), vec![0]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 487 | fn remove_already_removed_approval_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:496:26 [INFO] [stdout] | [INFO] [stdout] 496 | assert_eq!(Approvals::::get(), vec![]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 487 | fn remove_already_removed_approval_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 500 | Error::::ProposalNotApproved [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 487 | fn remove_already_removed_approval_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 506 | fn spending_local_in_batch_respects_max_total() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 570 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 531 | fn spending_in_batch_respects_max_total() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 582 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 576 | fn spend_origin_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 587 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 576 | fn spend_origin_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:592:12 [INFO] [stdout] | [INFO] [stdout] 592 | Error::::InsufficientPermission [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 576 | fn spend_origin_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:595:27 [INFO] [stdout] | [INFO] [stdout] 595 | assert_eq!(SpendCount::::get(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 576 | fn spend_origin_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:596:23 [INFO] [stdout] | [INFO] [stdout] 596 | assert_eq!(Spends::::iter().count(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 576 | fn spend_origin_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:603:3 [INFO] [stdout] | [INFO] [stdout] 603 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:606:27 [INFO] [stdout] | [INFO] [stdout] 606 | assert_eq!(SpendCount::::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] 601 | fn spend_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | Spends::::get(0).unwrap(), [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 spend_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:618:3 [INFO] [stdout] | [INFO] [stdout] 618 | System::assert_last_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:619:12 [INFO] [stdout] | [INFO] [stdout] 619 | Event::::AssetSpendApproved { [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 spend_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:635:15 [INFO] [stdout] | [INFO] [stdout] 635 | assert_eq!(::PayoutPeriod::get(), 5); [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:638:3 [INFO] [stdout] | [INFO] [stdout] 638 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:640:3 [INFO] [stdout] | [INFO] [stdout] 640 | System::set_block_number(6); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:641:71 [INFO] [stdout] | [INFO] [stdout] 641 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::SpendExpired); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 633 | fn spend_expires() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 646 | Error::::SpendExpired [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 633 | fn spend_expires() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:655:3 [INFO] [stdout] | [INFO] [stdout] 655 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | assert_eq!(SpendCount::::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] 653 | fn spend_payout_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:664:3 [INFO] [stdout] | [INFO] [stdout] 664 | System::assert_last_event(Event::::Paid { index: 0, payment_id }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:664:37 [INFO] [stdout] | [INFO] [stdout] 664 | System::assert_last_event(Event::::Paid { index: 0, payment_id }.into()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 653 | fn spend_payout_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:668:3 [INFO] [stdout] | [INFO] [stdout] 668 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:668:37 [INFO] [stdout] | [INFO] [stdout] 668 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 653 | fn spend_payout_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:670:71 [INFO] [stdout] | [INFO] [stdout] 670 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::InvalidIndex); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 653 | fn spend_payout_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:677:15 [INFO] [stdout] | [INFO] [stdout] 677 | assert_eq!(::PayoutPeriod::get(), 5); [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:679:3 [INFO] [stdout] | [INFO] [stdout] 679 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:682:3 [INFO] [stdout] | [INFO] [stdout] 682 | System::set_block_number(4); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:692:3 [INFO] [stdout] | [INFO] [stdout] 692 | System::assert_last_event(Event::::PaymentFailed { index: 0, payment_id }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:692:37 [INFO] [stdout] | [INFO] [stdout] 692 | System::assert_last_event(Event::::PaymentFailed { index: 0, payment_id }.into()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 675 | fn payout_extends_expiry() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:695:3 [INFO] [stdout] | [INFO] [stdout] 695 | System::set_block_number(7); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:706:3 [INFO] [stdout] | [INFO] [stdout] 706 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:717:12 [INFO] [stdout] | [INFO] [stdout] 717 | Error::::AlreadyAttempted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 704 | fn payout_retry_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:721:3 [INFO] [stdout] | [INFO] [stdout] 721 | System::assert_last_event(Event::::PaymentFailed { index: 0, payment_id }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:721:37 [INFO] [stdout] | [INFO] [stdout] 721 | System::assert_last_event(Event::::PaymentFailed { index: 0, payment_id }.into()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 704 | fn payout_retry_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:731:15 [INFO] [stdout] | [INFO] [stdout] 731 | assert_eq!(::PayoutPeriod::get(), 5); [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:732:3 [INFO] [stdout] | [INFO] [stdout] 732 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:742:71 [INFO] [stdout] | [INFO] [stdout] 742 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::EarlyPayout); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 729 | fn spend_valid_from_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:743:3 [INFO] [stdout] | [INFO] [stdout] 743 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:746:3 [INFO] [stdout] | [INFO] [stdout] 746 | System::set_block_number(5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:763:3 [INFO] [stdout] | [INFO] [stdout] 763 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 775 | Error::::AlreadyAttempted [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 761 | fn void_spend_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:787:23 [INFO] [stdout] | [INFO] [stdout] 787 | assert_eq!(Spends::::get(1), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 761 | fn void_spend_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:794:15 [INFO] [stdout] | [INFO] [stdout] 794 | assert_eq!(::PayoutPeriod::get(), 5); [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:795:3 [INFO] [stdout] | [INFO] [stdout] 795 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:799:3 [INFO] [stdout] | [INFO] [stdout] 799 | System::set_block_number(7); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:802:3 [INFO] [stdout] | [INFO] [stdout] 802 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:802:37 [INFO] [stdout] | [INFO] [stdout] 802 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [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 check_status_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 808 | Error::::NotAttempted [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 check_status_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:814:3 [INFO] [stdout] | [INFO] [stdout] 814 | System::set_block_number(13); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:817:3 [INFO] [stdout] | [INFO] [stdout] 817 | System::assert_last_event(Event::::PaymentFailed { index: 1, payment_id }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:817:37 [INFO] [stdout] | [INFO] [stdout] 817 | System::assert_last_event(Event::::PaymentFailed { index: 1, payment_id }.into()); [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 check_status_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:820:3 [INFO] [stdout] | [INFO] [stdout] 820 | System::assert_last_event(Event::::SpendProcessed { index: 1 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:820:37 [INFO] [stdout] | [INFO] [stdout] 820 | System::assert_last_event(Event::::SpendProcessed { index: 1 }.into()); [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 check_status_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:829:3 [INFO] [stdout] | [INFO] [stdout] 829 | System::assert_last_event(Event::::SpendProcessed { index: 2 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:829:37 [INFO] [stdout] | [INFO] [stdout] 829 | System::assert_last_event(Event::::SpendProcessed { index: 2 }.into()); [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 check_status_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:838:12 [INFO] [stdout] | [INFO] [stdout] 838 | Error::::Inconclusive [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 check_status_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:848:3 [INFO] [stdout] | [INFO] [stdout] 848 | System::assert_last_event(Event::::SpendProcessed { index: 4 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:848:37 [INFO] [stdout] | [INFO] [stdout] 848 | System::assert_last_event(Event::::SpendProcessed { index: 4 }.into()); [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 check_status_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:862:26 [INFO] [stdout] | [INFO] [stdout] 862 | assert_eq!(Proposals::::iter().count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 853 | fn try_state_proposals_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:863:30 [INFO] [stdout] | [INFO] [stdout] 863 | assert_eq!(ProposalCount::::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] 853 | fn try_state_proposals_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:865:27 [INFO] [stdout] | [INFO] [stdout] 865 | assert!(ProposalCount::::get() as usize >= Proposals::::iter().count()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 853 | fn try_state_proposals_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:865:64 [INFO] [stdout] | [INFO] [stdout] 865 | assert!(ProposalCount::::get() as usize >= Proposals::::iter().count()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 853 | fn try_state_proposals_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:867:19 [INFO] [stdout] | [INFO] [stdout] 867 | ProposalCount::::put(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 853 | fn try_state_proposals_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:886:26 [INFO] [stdout] | [INFO] [stdout] 886 | assert_eq!(Proposals::::iter().count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 877 | fn try_state_proposals_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:887:26 [INFO] [stdout] | [INFO] [stdout] 887 | assert_eq!(Approvals::::get().len(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 877 | fn try_state_proposals_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:888:48 [INFO] [stdout] | [INFO] [stdout] 888 | let current_proposal_count = ProposalCount::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 877 | fn try_state_proposals_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:892:16 [INFO] [stdout] | [INFO] [stdout] 892 | Proposals::::iter_keys() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 877 | fn try_state_proposals_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:898:30 [INFO] [stdout] | [INFO] [stdout] 898 | let proposal = Proposals::::take(0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 877 | fn try_state_proposals_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:899:15 [INFO] [stdout] | [INFO] [stdout] 899 | Proposals::::insert(1, proposal); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 877 | fn try_state_proposals_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:918:26 [INFO] [stdout] | [INFO] [stdout] 918 | assert_eq!(Proposals::::iter().count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 909 | fn try_state_proposals_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:919:26 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!(Approvals::::get().len(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 909 | fn try_state_proposals_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:921:23 [INFO] [stdout] | [INFO] [stdout] 921 | assert!(Approvals::::get() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 909 | fn try_state_proposals_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:923:40 [INFO] [stdout] | [INFO] [stdout] 923 | .all(|proposal_index| { Proposals::::contains_key(proposal_index) })); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 909 | fn try_state_proposals_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:925:44 [INFO] [stdout] | [INFO] [stdout] 925 | let mut approvals_modified = Approvals::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 909 | fn try_state_proposals_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:927:15 [INFO] [stdout] | [INFO] [stdout] 927 | Approvals::::put(approvals_modified); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 909 | fn try_state_proposals_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:944:23 [INFO] [stdout] | [INFO] [stdout] 944 | assert_eq!(Spends::::iter().count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 937 | fn try_state_spends_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:945:27 [INFO] [stdout] | [INFO] [stdout] 945 | assert_eq!(SpendCount::::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] 937 | fn try_state_spends_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:947:24 [INFO] [stdout] | [INFO] [stdout] 947 | assert!(SpendCount::::get() as usize >= Spends::::iter().count()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 937 | fn try_state_spends_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:947:58 [INFO] [stdout] | [INFO] [stdout] 947 | assert!(SpendCount::::get() as usize >= Spends::::iter().count()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 937 | fn try_state_spends_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:949:16 [INFO] [stdout] | [INFO] [stdout] 949 | SpendCount::::put(0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 937 | fn try_state_spends_invariant_1_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:966:23 [INFO] [stdout] | [INFO] [stdout] 966 | assert_eq!(Spends::::iter().count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 959 | fn try_state_spends_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:967:42 [INFO] [stdout] | [INFO] [stdout] 967 | let current_spend_count = SpendCount::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 959 | fn try_state_spends_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:971:13 [INFO] [stdout] | [INFO] [stdout] 971 | Spends::::iter_keys() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 959 | fn try_state_spends_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:977:24 [INFO] [stdout] | [INFO] [stdout] 977 | let spend = Spends::::take(0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 959 | fn try_state_spends_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:978:12 [INFO] [stdout] | [INFO] [stdout] 978 | Spends::::insert(1, spend); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 959 | fn try_state_spends_invariant_2_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:995:23 [INFO] [stdout] | [INFO] [stdout] 995 | assert_eq!(Spends::::iter().count(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 988 | fn try_state_spends_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:996:42 [INFO] [stdout] | [INFO] [stdout] 996 | let current_spend_count = SpendCount::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 988 | fn try_state_spends_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:999:20 [INFO] [stdout] | [INFO] [stdout] 999 | assert!(Spends::::iter_values() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 988 | fn try_state_spends_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1002:24 [INFO] [stdout] | [INFO] [stdout] 1002 | let spend = Spends::::take(0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 988 | fn try_state_spends_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1003:12 [INFO] [stdout] | [INFO] [stdout] 1003 | Spends::::insert( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 988 | fn try_state_spends_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1046:32 [INFO] [stdout] | [INFO] [stdout] 1046 | assert_eq!(LastSpendPeriod::::get(), Some(8)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1016 | fn multiple_spend_periods_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as treasury` [INFO] [stdout] --> src/tests.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use crate as treasury; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] --> src/tests.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | type UtilityCall = pallet_utility::Call; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_utility`, use `cargo add pallet_utility` 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_utility` [INFO] [stdout] --> src/tests.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | impl pallet_utility::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_utility` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_utility`, use `cargo add pallet_utility` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | pub TreasuryAccount: u128 = Treasury::account_id(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:248:14 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(Treasury::pot(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | assert_noop!(Treasury::spend_local(RuntimeOrigin::signed(1), 1, 1), BadOrigin); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:257:38 [INFO] [stdout] | [INFO] [stdout] 257 | assert_noop!(Treasury::spend_local(RuntimeOrigin::signed(1), 1, 1), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | Treasury::spend_local(RuntimeOrigin::signed(10), 6, 1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | Treasury::spend_local(RuntimeOrigin::signed(10), 6, 1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | Treasury::spend_local(RuntimeOrigin::signed(11), 11, 1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | Treasury::spend_local(RuntimeOrigin::signed(11), 11, 1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | Treasury::spend_local(RuntimeOrigin::signed(12), 21, 1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 267 | Treasury::spend_local(RuntimeOrigin::signed(12), 21, 1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | Treasury::spend_local(RuntimeOrigin::signed(13), 51, 1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | Treasury::spend_local(RuntimeOrigin::signed(13), 51, 1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | Balances::make_free_balance_be(&Treasury::account_id(), 102); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:283:35 [INFO] [stdout] | [INFO] [stdout] 283 | Balances::make_free_balance_be(&Treasury::account_id(), 102); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:285:36 [INFO] [stdout] | [INFO] [stdout] 285 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:286:36 [INFO] [stdout] | [INFO] [stdout] 286 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:287:36 [INFO] [stdout] | [INFO] [stdout] 287 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:288:36 [INFO] [stdout] | [INFO] [stdout] 288 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(11), 10, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:289:36 [INFO] [stdout] | [INFO] [stdout] 289 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(11), 10, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(12), 20, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:290:36 [INFO] [stdout] | [INFO] [stdout] 290 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(12), 20, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(13), 50, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(13), 50, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(Balances::free_balance(6), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:297:14 [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(Balances::free_balance(6), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 299 | assert_eq!(Treasury::pot(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:307:35 [INFO] [stdout] | [INFO] [stdout] 307 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:315:3 [INFO] [stdout] | [INFO] [stdout] 315 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:315:35 [INFO] [stdout] | [INFO] [stdout] 315 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:319:15 [INFO] [stdout] | [INFO] [stdout] 319 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:319:37 [INFO] [stdout] | [INFO] [stdout] 319 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!(Balances::free_balance(3), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:324:14 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:332:3 [INFO] [stdout] | [INFO] [stdout] 332 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | assert_eq!(Treasury::pot(), 50); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:344:3 [INFO] [stdout] | [INFO] [stdout] 344 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:344:35 [INFO] [stdout] | [INFO] [stdout] 344 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 349 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:349:37 [INFO] [stdout] | [INFO] [stdout] 349 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:353:14 [INFO] [stdout] | [INFO] [stdout] 353 | assert_eq!(Balances::free_balance(3), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | assert_eq!(Treasury::pot(), 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:361:3 [INFO] [stdout] | [INFO] [stdout] 361 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:361:35 [INFO] [stdout] | [INFO] [stdout] 361 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:362:14 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:366:15 [INFO] [stdout] | [INFO] [stdout] 366 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 150, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 150, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | assert_eq!(Treasury::pot(), 100); // Pot hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:372:11 [INFO] [stdout] | [INFO] [stdout] 372 | let _ = Balances::deposit_into_existing(&Treasury::account_id(), 100).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:372:44 [INFO] [stdout] | [INFO] [stdout] 372 | let _ = Balances::deposit_into_existing(&Treasury::account_id(), 100).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(Balances::free_balance(3), 150); // Fund has been spent [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:375:14 [INFO] [stdout] | [INFO] [stdout] 375 | assert_eq!(Treasury::pot(), 25); // Pot has finally changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:384:3 [INFO] [stdout] | [INFO] [stdout] 384 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:384:35 [INFO] [stdout] | [INFO] [stdout] 384 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:385:14 [INFO] [stdout] | [INFO] [stdout] 385 | assert_eq!(Treasury::pot(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:386:26 [INFO] [stdout] | [INFO] [stdout] 386 | let treasury_balance = Balances::free_balance(&Treasury::account_id()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:386:50 [INFO] [stdout] | [INFO] [stdout] 386 | let treasury_balance = Balances::free_balance(&Treasury::account_id()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:389:15 [INFO] [stdout] | [INFO] [stdout] 389 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), treasury_balance, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:389:37 [INFO] [stdout] | [INFO] [stdout] 389 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), treasury_balance, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | assert_eq!(Treasury::pot(), 100); // Pot hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:393:15 [INFO] [stdout] | [INFO] [stdout] 393 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), treasury_balance, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:393:37 [INFO] [stdout] | [INFO] [stdout] 393 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), treasury_balance, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | assert_eq!(Treasury::pot(), 100); // Pot hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:398:15 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), Treasury::pot(), 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:398:37 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), Treasury::pot(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:398:64 [INFO] [stdout] | [INFO] [stdout] 398 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), Treasury::pot(), 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | assert_eq!(Treasury::pot(), 0); // Pot is emptied [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | assert_eq!(Balances::free_balance(Treasury::account_id()), 1); // but the account is still there [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:403:37 [INFO] [stdout] | [INFO] [stdout] 403 | assert_eq!(Balances::free_balance(Treasury::account_id()), 1); // but the account is still there [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | assert_eq!(Balances::free_balance(Treasury::account_id()), 0); // Account does not exist [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:422:37 [INFO] [stdout] | [INFO] [stdout] 422 | assert_eq!(Balances::free_balance(Treasury::account_id()), 0); // Account does not exist [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | assert_eq!(Treasury::pot(), 0); // Pot is empty [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 99, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:427:37 [INFO] [stdout] | [INFO] [stdout] 427 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 99, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:428:15 [INFO] [stdout] | [INFO] [stdout] 428 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:428:37 [INFO] [stdout] | [INFO] [stdout] 428 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | assert_eq!(Treasury::pot(), 0); // Pot hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:434:14 [INFO] [stdout] | [INFO] [stdout] 434 | assert_eq!(Balances::free_balance(3), 0); // Balance of `3` hasn't changed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:436:3 [INFO] [stdout] | [INFO] [stdout] 436 | Balances::make_free_balance_be(&Treasury::account_id(), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:436:35 [INFO] [stdout] | [INFO] [stdout] 436 | Balances::make_free_balance_be(&Treasury::account_id(), 100); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:437:14 [INFO] [stdout] | [INFO] [stdout] 437 | assert_eq!(Treasury::pot(), 99); // Pot now contains funds [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | assert_eq!(Balances::free_balance(Treasury::account_id()), 100); // Account does exist [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:438:37 [INFO] [stdout] | [INFO] [stdout] 438 | assert_eq!(Balances::free_balance(Treasury::account_id()), 100); // Account does exist [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:442:14 [INFO] [stdout] | [INFO] [stdout] 442 | assert_eq!(Treasury::pot(), 0); // Pot has changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | assert_eq!(Balances::free_balance(3), 99); // Balance of `3` has changed [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:453:29 [INFO] [stdout] | [INFO] [stdout] 453 | balances: vec![(0, 100), (Treasury::account_id(), initial_funding)], [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:462:14 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(Balances::free_balance(Treasury::account_id()), initial_funding); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:462:37 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(Balances::free_balance(Treasury::account_id()), initial_funding); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:463:14 [INFO] [stdout] | [INFO] [stdout] 463 | assert_eq!(Treasury::pot(), initial_funding - Balances::minimum_balance()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:463:49 [INFO] [stdout] | [INFO] [stdout] 463 | assert_eq!(Treasury::pot(), initial_funding - Balances::minimum_balance()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:471:3 [INFO] [stdout] | [INFO] [stdout] 471 | Balances::make_free_balance_be(&Treasury::account_id(), u64::MAX); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:471:35 [INFO] [stdout] | [INFO] [stdout] 471 | Balances::make_free_balance_be(&Treasury::account_id(), u64::MAX); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:472:3 [INFO] [stdout] | [INFO] [stdout] 472 | Balances::make_free_balance_be(&0, u64::MAX); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:475:15 [INFO] [stdout] | [INFO] [stdout] 475 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:475:37 [INFO] [stdout] | [INFO] [stdout] 475 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:480:4 [INFO] [stdout] | [INFO] [stdout] 480 | Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:480:26 [INFO] [stdout] | [INFO] [stdout] 480 | Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:490:3 [INFO] [stdout] | [INFO] [stdout] 490 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:490:35 [INFO] [stdout] | [INFO] [stdout] 490 | Balances::make_free_balance_be(&Treasury::account_id(), 101); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:492:14 [INFO] [stdout] | [INFO] [stdout] 492 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:492:36 [INFO] [stdout] | [INFO] [stdout] 492 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | assert_ok!(Treasury::remove_approval(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:495:40 [INFO] [stdout] | [INFO] [stdout] 495 | assert_ok!(Treasury::remove_approval(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:499:4 [INFO] [stdout] | [INFO] [stdout] 499 | Treasury::remove_approval(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:499:30 [INFO] [stdout] | [INFO] [stdout] 499 | Treasury::remove_approval(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 509 | assert_ok!(RuntimeCall::from(UtilityCall::batch_all { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | RuntimeCall::from(TreasuryCall::spend_local { amount: 2, beneficiary: 100 }), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | RuntimeCall::from(TreasuryCall::spend_local { amount: 2, beneficiary: 101 }) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | .dispatch(RuntimeOrigin::signed(10))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:518:4 [INFO] [stdout] | [INFO] [stdout] 518 | RuntimeCall::from(UtilityCall::batch_all { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:520:6 [INFO] [stdout] | [INFO] [stdout] 520 | RuntimeCall::from(TreasuryCall::spend_local { amount: 2, beneficiary: 100 }), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:521:6 [INFO] [stdout] | [INFO] [stdout] 521 | RuntimeCall::from(TreasuryCall::spend_local { amount: 4, beneficiary: 101 }) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | .dispatch(RuntimeOrigin::signed(10)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | assert_ok!(RuntimeCall::from(UtilityCall::batch_all { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | RuntimeCall::from(TreasuryCall::spend { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:542:5 [INFO] [stdout] | [INFO] [stdout] 542 | RuntimeCall::from(TreasuryCall::spend { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:550:13 [INFO] [stdout] | [INFO] [stdout] 550 | .dispatch(RuntimeOrigin::signed(10))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | RuntimeCall::from(UtilityCall::batch_all { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:555:6 [INFO] [stdout] | [INFO] [stdout] 555 | RuntimeCall::from(TreasuryCall::spend { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/tests.rs:561:6 [INFO] [stdout] | [INFO] [stdout] 561 | RuntimeCall::from(TreasuryCall::spend { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:569:14 [INFO] [stdout] | [INFO] [stdout] 569 | .dispatch(RuntimeOrigin::signed(10)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:578:14 [INFO] [stdout] | [INFO] [stdout] 578 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 1, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:578:30 [INFO] [stdout] | [INFO] [stdout] 578 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 1, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:579:14 [INFO] [stdout] | [INFO] [stdout] 579 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:579:30 [INFO] [stdout] | [INFO] [stdout] 579 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:581:4 [INFO] [stdout] | [INFO] [stdout] 581 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 3, Box::new(6), None), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 3, Box::new(6), None), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:584:14 [INFO] [stdout] | [INFO] [stdout] 584 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(11), Box::new(1), 5, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:584:30 [INFO] [stdout] | [INFO] [stdout] 584 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(11), Box::new(1), 5, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:586:4 [INFO] [stdout] | [INFO] [stdout] 586 | Treasury::spend(RuntimeOrigin::signed(11), Box::new(1), 6, Box::new(6), None), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:586:20 [INFO] [stdout] | [INFO] [stdout] 586 | Treasury::spend(RuntimeOrigin::signed(11), Box::new(1), 6, Box::new(6), None), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:589:14 [INFO] [stdout] | [INFO] [stdout] 589 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(12), Box::new(1), 10, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:589:30 [INFO] [stdout] | [INFO] [stdout] 589 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(12), Box::new(1), 10, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:591:4 [INFO] [stdout] | [INFO] [stdout] 591 | Treasury::spend(RuntimeOrigin::signed(12), Box::new(1), 11, Box::new(6), None), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:591:20 [INFO] [stdout] | [INFO] [stdout] 591 | Treasury::spend(RuntimeOrigin::signed(12), Box::new(1), 11, Box::new(6), None), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:604:14 [INFO] [stdout] | [INFO] [stdout] 604 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:604:30 [INFO] [stdout] | [INFO] [stdout] 604 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:639:30 [INFO] [stdout] | [INFO] [stdout] 639 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 641 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::SpendExpired); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:641:33 [INFO] [stdout] | [INFO] [stdout] 641 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::SpendExpired); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:645:4 [INFO] [stdout] | [INFO] [stdout] 645 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), Some(0)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:645:20 [INFO] [stdout] | [INFO] [stdout] 645 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), Some(0)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:657:14 [INFO] [stdout] | [INFO] [stdout] 657 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:657:30 [INFO] [stdout] | [INFO] [stdout] 657 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:659:14 [INFO] [stdout] | [INFO] [stdout] 659 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:659:31 [INFO] [stdout] | [INFO] [stdout] 659 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:667:14 [INFO] [stdout] | [INFO] [stdout] 667 | assert_ok!(Treasury::check_status(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:667:37 [INFO] [stdout] | [INFO] [stdout] 667 | assert_ok!(Treasury::check_status(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:670:16 [INFO] [stdout] | [INFO] [stdout] 670 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::InvalidIndex); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:670:33 [INFO] [stdout] | [INFO] [stdout] 670 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::InvalidIndex); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:680:14 [INFO] [stdout] | [INFO] [stdout] 680 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:680:30 [INFO] [stdout] | [INFO] [stdout] 680 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:683:14 [INFO] [stdout] | [INFO] [stdout] 683 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:683:31 [INFO] [stdout] | [INFO] [stdout] 683 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:691:14 [INFO] [stdout] | [INFO] [stdout] 691 | assert_ok!(Treasury::check_status(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:691:37 [INFO] [stdout] | [INFO] [stdout] 691 | assert_ok!(Treasury::check_status(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:698:31 [INFO] [stdout] | [INFO] [stdout] 698 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:707:14 [INFO] [stdout] | [INFO] [stdout] 707 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:707:30 [INFO] [stdout] | [INFO] [stdout] 707 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:708:14 [INFO] [stdout] | [INFO] [stdout] 708 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:708:31 [INFO] [stdout] | [INFO] [stdout] 708 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:716:4 [INFO] [stdout] | [INFO] [stdout] 716 | Treasury::payout(RuntimeOrigin::signed(1), 0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:716:21 [INFO] [stdout] | [INFO] [stdout] 716 | Treasury::payout(RuntimeOrigin::signed(1), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:720:14 [INFO] [stdout] | [INFO] [stdout] 720 | assert_ok!(Treasury::check_status(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:720:37 [INFO] [stdout] | [INFO] [stdout] 720 | assert_ok!(Treasury::check_status(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:723:14 [INFO] [stdout] | [INFO] [stdout] 723 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:723:31 [INFO] [stdout] | [INFO] [stdout] 723 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:735:14 [INFO] [stdout] | [INFO] [stdout] 735 | assert_ok!(Treasury::spend( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:736:4 [INFO] [stdout] | [INFO] [stdout] 736 | RuntimeOrigin::signed(10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:742:16 [INFO] [stdout] | [INFO] [stdout] 742 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::EarlyPayout); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:742:33 [INFO] [stdout] | [INFO] [stdout] 742 | assert_noop!(Treasury::payout(RuntimeOrigin::signed(1), 0), Error::::EarlyPayout); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:744:14 [INFO] [stdout] | [INFO] [stdout] 744 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:744:31 [INFO] [stdout] | [INFO] [stdout] 744 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:748:14 [INFO] [stdout] | [INFO] [stdout] 748 | assert_ok!(Treasury::spend( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:749:4 [INFO] [stdout] | [INFO] [stdout] 749 | RuntimeOrigin::signed(10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:756:14 [INFO] [stdout] | [INFO] [stdout] 756 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:756:31 [INFO] [stdout] | [INFO] [stdout] 756 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:765:14 [INFO] [stdout] | [INFO] [stdout] 765 | assert_ok!(Treasury::spend( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:766:4 [INFO] [stdout] | [INFO] [stdout] 766 | RuntimeOrigin::signed(10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:772:14 [INFO] [stdout] | [INFO] [stdout] 772 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:772:31 [INFO] [stdout] | [INFO] [stdout] 772 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:774:4 [INFO] [stdout] | [INFO] [stdout] 774 | Treasury::void_spend(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:774:25 [INFO] [stdout] | [INFO] [stdout] 774 | Treasury::void_spend(RuntimeOrigin::root(), 0), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:779:14 [INFO] [stdout] | [INFO] [stdout] 779 | assert_ok!(Treasury::spend( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:780:4 [INFO] [stdout] | [INFO] [stdout] 780 | RuntimeOrigin::signed(10), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:786:14 [INFO] [stdout] | [INFO] [stdout] 786 | assert_ok!(Treasury::void_spend(RuntimeOrigin::root(), 1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:786:35 [INFO] [stdout] | [INFO] [stdout] 786 | assert_ok!(Treasury::void_spend(RuntimeOrigin::root(), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:798:14 [INFO] [stdout] | [INFO] [stdout] 798 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:798:30 [INFO] [stdout] | [INFO] [stdout] 798 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:800:14 [INFO] [stdout] | [INFO] [stdout] 800 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 0).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:800:37 [INFO] [stdout] | [INFO] [stdout] 800 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:805:14 [INFO] [stdout] | [INFO] [stdout] 805 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:805:30 [INFO] [stdout] | [INFO] [stdout] 805 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:807:4 [INFO] [stdout] | [INFO] [stdout] 807 | Treasury::check_status(RuntimeOrigin::signed(1), 1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:807:27 [INFO] [stdout] | [INFO] [stdout] 807 | Treasury::check_status(RuntimeOrigin::signed(1), 1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:810:14 [INFO] [stdout] | [INFO] [stdout] 810 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:810:31 [INFO] [stdout] | [INFO] [stdout] 810 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:815:14 [INFO] [stdout] | [INFO] [stdout] 815 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 1).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:815:37 [INFO] [stdout] | [INFO] [stdout] 815 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:818:14 [INFO] [stdout] | [INFO] [stdout] 818 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 1).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:818:37 [INFO] [stdout] | [INFO] [stdout] 818 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:823:14 [INFO] [stdout] | [INFO] [stdout] 823 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:823:30 [INFO] [stdout] | [INFO] [stdout] 823 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:824:14 [INFO] [stdout] | [INFO] [stdout] 824 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:824:31 [INFO] [stdout] | [INFO] [stdout] 824 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 2)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:827:14 [INFO] [stdout] | [INFO] [stdout] 827 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 2).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:827:37 [INFO] [stdout] | [INFO] [stdout] 827 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:832:14 [INFO] [stdout] | [INFO] [stdout] 832 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:832:30 [INFO] [stdout] | [INFO] [stdout] 832 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:833:14 [INFO] [stdout] | [INFO] [stdout] 833 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:833:31 [INFO] [stdout] | [INFO] [stdout] 833 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:837:4 [INFO] [stdout] | [INFO] [stdout] 837 | Treasury::check_status(RuntimeOrigin::signed(1), 3), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:837:27 [INFO] [stdout] | [INFO] [stdout] 837 | Treasury::check_status(RuntimeOrigin::signed(1), 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:842:14 [INFO] [stdout] | [INFO] [stdout] 842 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:842:30 [INFO] [stdout] | [INFO] [stdout] 842 | assert_ok!(Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 2, Box::new(6), None)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:843:14 [INFO] [stdout] | [INFO] [stdout] 843 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 4)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:843:31 [INFO] [stdout] | [INFO] [stdout] 843 | assert_ok!(Treasury::payout(RuntimeOrigin::signed(1), 4)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:846:14 [INFO] [stdout] | [INFO] [stdout] 846 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 4).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:846:37 [INFO] [stdout] | [INFO] [stdout] 846 | let info = Treasury::check_status(RuntimeOrigin::signed(1), 4).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:859:15 [INFO] [stdout] | [INFO] [stdout] 859 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:859:37 [INFO] [stdout] | [INFO] [stdout] 859 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:870:4 [INFO] [stdout] | [INFO] [stdout] 870 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:883:15 [INFO] [stdout] | [INFO] [stdout] 883 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:883:37 [INFO] [stdout] | [INFO] [stdout] 883 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:902:4 [INFO] [stdout] | [INFO] [stdout] 902 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:915:15 [INFO] [stdout] | [INFO] [stdout] 915 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 10, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:915:37 [INFO] [stdout] | [INFO] [stdout] 915 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 10, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:930:4 [INFO] [stdout] | [INFO] [stdout] 930 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:942:4 [INFO] [stdout] | [INFO] [stdout] 942 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 1, Box::new(6), None) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:942:20 [INFO] [stdout] | [INFO] [stdout] 942 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 1, Box::new(6), None) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:952:4 [INFO] [stdout] | [INFO] [stdout] 952 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:964:4 [INFO] [stdout] | [INFO] [stdout] 964 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 1, Box::new(6), None) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:964:20 [INFO] [stdout] | [INFO] [stdout] 964 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 1, Box::new(6), None) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:981:4 [INFO] [stdout] | [INFO] [stdout] 981 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:993:4 [INFO] [stdout] | [INFO] [stdout] 993 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 1, Box::new(6), None) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:993:20 [INFO] [stdout] | [INFO] [stdout] 993 | Treasury::spend(RuntimeOrigin::signed(10), Box::new(1), 1, Box::new(6), None) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1009:4 [INFO] [stdout] | [INFO] [stdout] 1009 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1020:3 [INFO] [stdout] | [INFO] [stdout] 1020 | Balances::make_free_balance_be(&Treasury::account_id(), 100 + 1024 + 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1020:35 [INFO] [stdout] | [INFO] [stdout] 1020 | Balances::make_free_balance_be(&Treasury::account_id(), 100 + 1024 + 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1024:15 [INFO] [stdout] | [INFO] [stdout] 1024 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1024:37 [INFO] [stdout] | [INFO] [stdout] 1024 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1025:15 [INFO] [stdout] | [INFO] [stdout] 1025 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1025:37 [INFO] [stdout] | [INFO] [stdout] 1025 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1026:15 [INFO] [stdout] | [INFO] [stdout] 1026 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1026:37 [INFO] [stdout] | [INFO] [stdout] 1026 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1027:15 [INFO] [stdout] | [INFO] [stdout] 1027 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1027:37 [INFO] [stdout] | [INFO] [stdout] 1027 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(10), 5, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1028:15 [INFO] [stdout] | [INFO] [stdout] 1028 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(11), 10, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1028:37 [INFO] [stdout] | [INFO] [stdout] 1028 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(11), 10, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1029:15 [INFO] [stdout] | [INFO] [stdout] 1029 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(12), 20, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1029:37 [INFO] [stdout] | [INFO] [stdout] 1029 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(12), 20, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1030:15 [INFO] [stdout] | [INFO] [stdout] 1030 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(13), 50, 6)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1030:37 [INFO] [stdout] | [INFO] [stdout] 1030 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(13), 50, 6)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1034:14 [INFO] [stdout] | [INFO] [stdout] 1034 | assert_eq!(Balances::free_balance(6), 0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1037:14 [INFO] [stdout] | [INFO] [stdout] 1037 | assert_eq!(Balances::free_balance(6), 100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1039:14 [INFO] [stdout] | [INFO] [stdout] 1039 | assert_eq!(Treasury::pot(), 512); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:1044:14 [INFO] [stdout] | [INFO] [stdout] 1044 | assert_eq!(Treasury::pot(), 64); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [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-treasury` (lib test) due to 417 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "409c9599b7c299e118d8de583a419795090a4c19a24ccfa6d9edb187f55fc3cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "409c9599b7c299e118d8de583a419795090a4c19a24ccfa6d9edb187f55fc3cf", kill_on_drop: false }` [INFO] [stdout] 409c9599b7c299e118d8de583a419795090a4c19a24ccfa6d9edb187f55fc3cf