[INFO] fetching crate pallet-treasury 25.0.0... [INFO] checking pallet-treasury-25.0.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate pallet-treasury 25.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate pallet-treasury 25.0.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-treasury 25.0.0 [INFO] finished tweaking crates.io crate pallet-treasury 25.0.0 [INFO] tweaked toml for crates.io crate pallet-treasury 25.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-balances v26.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0f459da7081a0cc88a1d9acf3c2580366f63a3bb87d6a27cceffca7c14a3ace [INFO] running `Command { std: "docker" "start" "-a" "a0f459da7081a0cc88a1d9acf3c2580366f63a3bb87d6a27cceffca7c14a3ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0f459da7081a0cc88a1d9acf3c2580366f63a3bb87d6a27cceffca7c14a3ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f459da7081a0cc88a1d9acf3c2580366f63a3bb87d6a27cceffca7c14a3ace", kill_on_drop: false }` [INFO] [stdout] a0f459da7081a0cc88a1d9acf3c2580366f63a3bb87d6a27cceffca7c14a3ace [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a0d84661cb4bbe39770db44c45511fd5ef7c3eaeed2649f269f411cec758940 [INFO] running `Command { std: "docker" "start" "-a" "2a0d84661cb4bbe39770db44c45511fd5ef7c3eaeed2649f269f411cec758940", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking sp-std v12.0.0 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling wasmtime-runtime v8.0.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Checking wasmtime-jit-debug v8.0.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking wasmtime-asm-macros v8.0.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v8.0.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling wasmtime v8.0.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking trie-db v0.28.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking schnellru v0.2.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v28.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling prettier-please v0.2.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling expander v2.1.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling sp-core-hashing v13.0.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Compiling proc-macro-warning v1.0.2 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Compiling aquamarine v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling sp-debug-derive v12.0.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.0 [INFO] [stderr] Compiling sp-core-hashing-proc-macro v13.0.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v10.0.0 [INFO] [stderr] Compiling macro_magic_core v0.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling macro_magic_macros v0.5.0 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling macro_magic v0.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sp-panic-handler v12.0.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking substrate-bip39 v0.4.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking cranelift-entity v0.95.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking bip39 v2.0.0 [INFO] [stderr] Checking wasmparser v0.102.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Compiling ss58-registry v1.47.0 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling docify_macros v0.2.7 [INFO] [stderr] Compiling frame-support-procedural-tools v9.0.0 [INFO] [stderr] Checking wasmtime-types v8.0.1 [INFO] [stderr] Compiling scale-info-derive v2.11.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v13.0.0 [INFO] [stderr] Compiling frame-support-procedural v21.0.0 [INFO] [stderr] Checking wasmtime-environ v8.0.1 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking docify v0.2.7 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Compiling sp-version-proc-macro v12.0.0 [INFO] [stderr] Checking scale-info v2.11.1 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking sp-storage v17.0.0 [INFO] [stderr] Checking sp-tracing v14.0.0 [INFO] [stderr] Checking sp-externalities v0.23.0 [INFO] [stderr] Checking wasmtime-jit v8.0.1 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking bounded-collections v0.1.9 [INFO] [stderr] Checking sp-arithmetic v21.0.0 [INFO] [stderr] Checking frame-metadata v16.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.4.0 [INFO] [stderr] Checking sp-wasm-interface v18.0.0 [INFO] [stderr] Checking sp-runtime-interface v22.0.0 [INFO] [stderr] Checking sp-core v26.0.0 [INFO] [stderr] Checking sp-trie v27.0.0 [INFO] [stderr] Checking sp-keystore v0.32.0 [INFO] [stderr] Checking sp-weights v25.0.0 [INFO] [stderr] Checking sp-state-machine v0.33.0 [INFO] [stderr] Checking sp-application-crypto v28.0.0 [INFO] [stderr] Checking sp-runtime v29.0.0 [INFO] [stderr] Checking sp-version v27.0.0 [INFO] [stderr] Checking sp-inherents v24.0.0 [INFO] [stderr] Checking sp-staking v24.0.0 [INFO] [stderr] Checking sp-api v24.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.5.0 [INFO] [stderr] Checking frame-support v26.0.0 [INFO] [stderr] Checking frame-system v26.0.0 [INFO] [stderr] Checking pallet-balances v26.0.0 [INFO] [stderr] Checking pallet-treasury v25.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/tests.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | Utility: pallet_utility, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/tests.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ext = sp_io::TestExternalities::new(t); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 43 | 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:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 44 | 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:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 45 | 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 `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 62 | type RuntimeOrigin = Self::RuntimeOrigin; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 64 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 70 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | type PalletInfo = PalletInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-support-26.0.0/src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct PalletId(pub [u8; 8]); [INFO] [stdout] | ------------------- similarly named struct `PalletId` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 73 | type PalletInfo = Self::PalletInfo; [INFO] [stdout] | ++++++ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 73 | type PalletInfo = PalletId; [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 `Test` in this scope [INFO] [stdout] --> src/tests.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | impl pallet_balances::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:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 87 | 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:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | type AccountStore = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | 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:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | 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:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | type PalletsOrigin = OriginCaller; [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:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | 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] 166 | 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:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | fn try_origin(o: 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:168:59 [INFO] [stdout] | [INFO] [stdout] 168 | fn try_origin(o: 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] 166 | 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:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | Result::, RuntimeOrigin>::from(o).and_then(|o| match o { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 166 | 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:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | 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:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | 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] 194 | 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:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 199 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/tests.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn build(self) -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:231:45 [INFO] [stdout] | [INFO] [stdout] 231 | 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] 229 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:232:36 [INFO] [stdout] | [INFO] [stdout] 232 | 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] 229 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | 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] 229 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | 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] 245 | 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:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | 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] 262 | 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:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | 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] 262 | 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:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | 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] 262 | 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:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | 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] 262 | fn spend_local_origin_permissioning_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | >::on_initialize(1); [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:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | >::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:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | Error::::InsufficientProposersBalance, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 343 | fn spend_proposal_fails_when_proposer_poor() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | >::on_initialize(1); [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:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | >::on_initialize(2); [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:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | >::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:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | 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] 409 | fn reject_already_rejected_spend_proposal_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | 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] 432 | fn reject_non_existent_spend_proposal_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | 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] 445 | fn accept_non_existent_spend_proposal_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | 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] 458 | fn accept_already_rejected_spend_proposal_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:495:4 [INFO] [stdout] | [INFO] [stdout] 495 | >::on_initialize(2); [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:516:4 [INFO] [stdout] | [INFO] [stdout] 516 | >::on_initialize(2); [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:520:4 [INFO] [stdout] | [INFO] [stdout] 520 | >::on_initialize(4); [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:544:4 [INFO] [stdout] | [INFO] [stdout] 544 | >::on_initialize(2); [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:556:4 [INFO] [stdout] | [INFO] [stdout] 556 | >::on_initialize(4); [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:566:44 [INFO] [stdout] | [INFO] [stdout] 566 | 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] 565 | 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:567:35 [INFO] [stdout] | [INFO] [stdout] 567 | pallet_balances::GenesisConfig:: { balances: vec![(0, 100), (1, 99), (2, 1)] } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 565 | fn inexistent_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/tests.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | let mut t: sp_io::TestExternalities = t.into(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | >::on_initialize(2); [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:601:4 [INFO] [stdout] | [INFO] [stdout] 601 | >::on_initialize(4); [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:610:44 [INFO] [stdout] | [INFO] [stdout] 610 | 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] 609 | 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:612:35 [INFO] [stdout] | [INFO] [stdout] 612 | 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] 609 | 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:618:25 [INFO] [stdout] | [INFO] [stdout] 618 | 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] 609 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/tests.rs:619:13 [INFO] [stdout] | [INFO] [stdout] 619 | let mut t: sp_io::TestExternalities = t.into(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:633:16 [INFO] [stdout] | [INFO] [stdout] 633 | 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:654:12 [INFO] [stdout] | [INFO] [stdout] 654 | 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] 628 | 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:678:12 [INFO] [stdout] | [INFO] [stdout] 678 | 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] 660 | 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:703:12 [INFO] [stdout] | [INFO] [stdout] 703 | 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] 684 | 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:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | 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] 709 | 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:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | 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] 754 | 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:765:12 [INFO] [stdout] | [INFO] [stdout] 765 | 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] 754 | 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:770:12 [INFO] [stdout] | [INFO] [stdout] 770 | 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] 754 | 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:773:27 [INFO] [stdout] | [INFO] [stdout] 773 | 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] 754 | 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:774:23 [INFO] [stdout] | [INFO] [stdout] 774 | 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] 754 | 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:781:3 [INFO] [stdout] | [INFO] [stdout] 781 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:784:27 [INFO] [stdout] | [INFO] [stdout] 784 | 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] 779 | 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:786:13 [INFO] [stdout] | [INFO] [stdout] 786 | 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] 779 | 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:796:3 [INFO] [stdout] | [INFO] [stdout] 796 | System::assert_last_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:797:12 [INFO] [stdout] | [INFO] [stdout] 797 | 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] 779 | 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:813:15 [INFO] [stdout] | [INFO] [stdout] 813 | 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:816:3 [INFO] [stdout] | [INFO] [stdout] 816 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:818:3 [INFO] [stdout] | [INFO] [stdout] 818 | System::set_block_number(6); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:819:71 [INFO] [stdout] | [INFO] [stdout] 819 | 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] 811 | 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:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | 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] 811 | 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:833:3 [INFO] [stdout] | [INFO] [stdout] 833 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | 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] 831 | 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:842:3 [INFO] [stdout] | [INFO] [stdout] 842 | 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 one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:842:37 [INFO] [stdout] | [INFO] [stdout] 842 | 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] 831 | 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:846:3 [INFO] [stdout] | [INFO] [stdout] 846 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:846:37 [INFO] [stdout] | [INFO] [stdout] 846 | 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] 831 | 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:848:71 [INFO] [stdout] | [INFO] [stdout] 848 | 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] 831 | 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:855:3 [INFO] [stdout] | [INFO] [stdout] 855 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:866:12 [INFO] [stdout] | [INFO] [stdout] 866 | 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] 853 | 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:870:3 [INFO] [stdout] | [INFO] [stdout] 870 | 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 one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:870:37 [INFO] [stdout] | [INFO] [stdout] 870 | 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] 853 | 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:880:15 [INFO] [stdout] | [INFO] [stdout] 880 | 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:881:3 [INFO] [stdout] | [INFO] [stdout] 881 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:891:71 [INFO] [stdout] | [INFO] [stdout] 891 | 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] 878 | 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:892:3 [INFO] [stdout] | [INFO] [stdout] 892 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:895:3 [INFO] [stdout] | [INFO] [stdout] 895 | System::set_block_number(5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:912:3 [INFO] [stdout] | [INFO] [stdout] 912 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:924:12 [INFO] [stdout] | [INFO] [stdout] 924 | 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] 910 | 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:936:23 [INFO] [stdout] | [INFO] [stdout] 936 | 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] 910 | 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:943:15 [INFO] [stdout] | [INFO] [stdout] 943 | 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:944:3 [INFO] [stdout] | [INFO] [stdout] 944 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:948:3 [INFO] [stdout] | [INFO] [stdout] 948 | System::set_block_number(7); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:951:3 [INFO] [stdout] | [INFO] [stdout] 951 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:951:37 [INFO] [stdout] | [INFO] [stdout] 951 | 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] 941 | 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:957:12 [INFO] [stdout] | [INFO] [stdout] 957 | 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] 941 | 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:963:3 [INFO] [stdout] | [INFO] [stdout] 963 | System::set_block_number(13); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:966:3 [INFO] [stdout] | [INFO] [stdout] 966 | 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 one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:966:37 [INFO] [stdout] | [INFO] [stdout] 966 | 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] 941 | 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:969:3 [INFO] [stdout] | [INFO] [stdout] 969 | System::assert_last_event(Event::::SpendProcessed { index: 1 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:969:37 [INFO] [stdout] | [INFO] [stdout] 969 | 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] 941 | 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:978:3 [INFO] [stdout] | [INFO] [stdout] 978 | System::assert_last_event(Event::::SpendProcessed { index: 2 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:978:37 [INFO] [stdout] | [INFO] [stdout] 978 | 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] 941 | 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:987:12 [INFO] [stdout] | [INFO] [stdout] 987 | 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] 941 | 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:997:3 [INFO] [stdout] | [INFO] [stdout] 997 | System::assert_last_event(Event::::SpendProcessed { index: 4 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:997:37 [INFO] [stdout] | [INFO] [stdout] 997 | 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] 941 | 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:1010:26 [INFO] [stdout] | [INFO] [stdout] 1010 | 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] 1002 | 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:1011:30 [INFO] [stdout] | [INFO] [stdout] 1011 | 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] 1002 | 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:1013:27 [INFO] [stdout] | [INFO] [stdout] 1013 | 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] 1002 | 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:1013:64 [INFO] [stdout] | [INFO] [stdout] 1013 | 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] 1002 | 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:1015:19 [INFO] [stdout] | [INFO] [stdout] 1015 | 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] 1002 | 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:1033:26 [INFO] [stdout] | [INFO] [stdout] 1033 | 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] 1025 | 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:1034:48 [INFO] [stdout] | [INFO] [stdout] 1034 | 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] 1025 | 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:1038:16 [INFO] [stdout] | [INFO] [stdout] 1038 | 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] 1025 | 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:1044:30 [INFO] [stdout] | [INFO] [stdout] 1044 | 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] 1025 | 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:1045:15 [INFO] [stdout] | [INFO] [stdout] 1045 | 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] 1025 | 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:1063:26 [INFO] [stdout] | [INFO] [stdout] 1063 | 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] 1055 | 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:1069:26 [INFO] [stdout] | [INFO] [stdout] 1069 | 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] 1055 | 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:1071:23 [INFO] [stdout] | [INFO] [stdout] 1071 | 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] 1055 | 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:1073:40 [INFO] [stdout] | [INFO] [stdout] 1073 | .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] 1055 | 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:1075:44 [INFO] [stdout] | [INFO] [stdout] 1075 | 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] 1055 | 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:1077:15 [INFO] [stdout] | [INFO] [stdout] 1077 | 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] 1055 | 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:1094:23 [INFO] [stdout] | [INFO] [stdout] 1094 | 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] 1087 | 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:1095:27 [INFO] [stdout] | [INFO] [stdout] 1095 | 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] 1087 | 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:1097:24 [INFO] [stdout] | [INFO] [stdout] 1097 | 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] 1087 | 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:1097:58 [INFO] [stdout] | [INFO] [stdout] 1097 | 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] 1087 | 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:1099:16 [INFO] [stdout] | [INFO] [stdout] 1099 | 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] 1087 | 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:1116:23 [INFO] [stdout] | [INFO] [stdout] 1116 | 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] 1109 | 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:1117:42 [INFO] [stdout] | [INFO] [stdout] 1117 | 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] 1109 | 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:1121:13 [INFO] [stdout] | [INFO] [stdout] 1121 | 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] 1109 | 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:1127:24 [INFO] [stdout] | [INFO] [stdout] 1127 | 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] 1109 | 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:1128:12 [INFO] [stdout] | [INFO] [stdout] 1128 | 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] 1109 | 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:1145:23 [INFO] [stdout] | [INFO] [stdout] 1145 | 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] 1138 | 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:1146:42 [INFO] [stdout] | [INFO] [stdout] 1146 | 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] 1138 | 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:1149:20 [INFO] [stdout] | [INFO] [stdout] 1149 | 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] 1138 | 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:1152:24 [INFO] [stdout] | [INFO] [stdout] 1152 | 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] 1138 | 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:1153:12 [INFO] [stdout] | [INFO] [stdout] 1153 | 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] 1138 | fn try_state_spends_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PalletId` is imported redundantly [INFO] [stdout] --> src/tests.rs:37:2 [INFO] [stdout] | [INFO] [stdout] 37 | PalletId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | -------- the item `PalletId` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as treasury` [INFO] [stdout] --> src/tests.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate as treasury; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/tests.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | type UtilityCall = pallet_utility::Call; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/tests.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | impl pallet_utility::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | r => Err(RuntimeOrigin::from(r)), [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:256:14 [INFO] [stdout] | [INFO] [stdout] 256 | 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:14 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(Treasury::proposal_count(), 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:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | 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:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | 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:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | 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:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | 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:270:4 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | 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:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | 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:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | 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:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | 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:278:26 [INFO] [stdout] | [INFO] [stdout] 278 | 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:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | 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:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | 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:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | 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:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | 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:292:14 [INFO] [stdout] | [INFO] [stdout] 292 | 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:292:36 [INFO] [stdout] | [INFO] [stdout] 292 | 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:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | 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:293:36 [INFO] [stdout] | [INFO] [stdout] 293 | 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:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | 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:294:36 [INFO] [stdout] | [INFO] [stdout] 294 | 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:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | 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:295:36 [INFO] [stdout] | [INFO] [stdout] 295 | 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:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | 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:296:36 [INFO] [stdout] | [INFO] [stdout] 296 | 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:297:14 [INFO] [stdout] | [INFO] [stdout] 297 | 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:297:36 [INFO] [stdout] | [INFO] [stdout] 297 | 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:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | 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:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | 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:305:14 [INFO] [stdout] | [INFO] [stdout] 305 | 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:313:3 [INFO] [stdout] | [INFO] [stdout] 313 | 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:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | 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:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | 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:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | Treasury::propose_spend(RuntimeOrigin::signed(0), 1, 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:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(Balances::free_balance(0), 99); [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:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(Balances::reserved_balance(0), 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:335:4 [INFO] [stdout] | [INFO] [stdout] 335 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | assert_eq!(Balances::free_balance(0), 95); [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:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(Balances::reserved_balance(0), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | Treasury::propose_spend(RuntimeOrigin::signed(2), 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:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | Treasury::propose_spend(RuntimeOrigin::signed(2), 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:358:3 [INFO] [stdout] | [INFO] [stdout] 358 | 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:358:35 [INFO] [stdout] | [INFO] [stdout] 358 | 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:4 [INFO] [stdout] | [INFO] [stdout] 362 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:362:28 [INFO] [stdout] | [INFO] [stdout] 362 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:366:4 [INFO] [stdout] | [INFO] [stdout] 366 | Treasury::approve_proposal(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:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | 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:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | 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:378:29 [INFO] [stdout] | [INFO] [stdout] 378 | let init_total_issuance = Balances::total_issuance(); [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:379:3 [INFO] [stdout] | [INFO] [stdout] 379 | 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:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | 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 `Balances` [INFO] [stdout] --> src/tests.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Balances::total_issuance(), init_total_issuance + 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:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | 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:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(Balances::total_issuance(), init_total_issuance + 50); [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:391:3 [INFO] [stdout] | [INFO] [stdout] 391 | 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:391:35 [INFO] [stdout] | [INFO] [stdout] 391 | 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:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | Treasury::reject_proposal(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:399:30 [INFO] [stdout] | [INFO] [stdout] 399 | Treasury::reject_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | 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:404:14 [INFO] [stdout] | [INFO] [stdout] 404 | 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:411:3 [INFO] [stdout] | [INFO] [stdout] 411 | 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:411:35 [INFO] [stdout] | [INFO] [stdout] 411 | 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:415:4 [INFO] [stdout] | [INFO] [stdout] 415 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:415:28 [INFO] [stdout] | [INFO] [stdout] 415 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | Treasury::reject_proposal(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:419:30 [INFO] [stdout] | [INFO] [stdout] 419 | Treasury::reject_proposal(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:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | Treasury::reject_proposal(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:424:31 [INFO] [stdout] | [INFO] [stdout] 424 | Treasury::reject_proposal(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:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | Treasury::reject_proposal(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:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | Treasury::reject_proposal(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:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | Treasury::approve_proposal(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:450:32 [INFO] [stdout] | [INFO] [stdout] 450 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:460:3 [INFO] [stdout] | [INFO] [stdout] 460 | 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:460:35 [INFO] [stdout] | [INFO] [stdout] 460 | 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:464:4 [INFO] [stdout] | [INFO] [stdout] 464 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:464:28 [INFO] [stdout] | [INFO] [stdout] 464 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | Treasury::reject_proposal(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:468:30 [INFO] [stdout] | [INFO] [stdout] 468 | Treasury::reject_proposal(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:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | Treasury::approve_proposal(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:473:32 [INFO] [stdout] | [INFO] [stdout] 473 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:483:3 [INFO] [stdout] | [INFO] [stdout] 483 | 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:483:35 [INFO] [stdout] | [INFO] [stdout] 483 | 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:484:14 [INFO] [stdout] | [INFO] [stdout] 484 | 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:488:4 [INFO] [stdout] | [INFO] [stdout] 488 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:488:28 [INFO] [stdout] | [INFO] [stdout] 488 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:492:4 [INFO] [stdout] | [INFO] [stdout] 492 | Treasury::approve_proposal(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:492:31 [INFO] [stdout] | [INFO] [stdout] 492 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | 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:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | 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:504:3 [INFO] [stdout] | [INFO] [stdout] 504 | 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:504:35 [INFO] [stdout] | [INFO] [stdout] 504 | 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:505:14 [INFO] [stdout] | [INFO] [stdout] 505 | 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:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:513:4 [INFO] [stdout] | [INFO] [stdout] 513 | Treasury::approve_proposal(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:513:31 [INFO] [stdout] | [INFO] [stdout] 513 | Treasury::approve_proposal(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:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | 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:519:11 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:44 [INFO] [stdout] | [INFO] [stdout] 519 | 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:521:14 [INFO] [stdout] | [INFO] [stdout] 521 | 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:522:14 [INFO] [stdout] | [INFO] [stdout] 522 | 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:531:3 [INFO] [stdout] | [INFO] [stdout] 531 | 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:531:35 [INFO] [stdout] | [INFO] [stdout] 531 | 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:532:14 [INFO] [stdout] | [INFO] [stdout] 532 | 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:533:26 [INFO] [stdout] | [INFO] [stdout] 533 | 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:533:50 [INFO] [stdout] | [INFO] [stdout] 533 | 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:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:537:28 [INFO] [stdout] | [INFO] [stdout] 537 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | Treasury::approve_proposal(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:541:31 [INFO] [stdout] | [INFO] [stdout] 541 | Treasury::approve_proposal(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:545:14 [INFO] [stdout] | [INFO] [stdout] 545 | 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:549:4 [INFO] [stdout] | [INFO] [stdout] 549 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:549:54 [INFO] [stdout] | [INFO] [stdout] 549 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | Treasury::approve_proposal(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:553:31 [INFO] [stdout] | [INFO] [stdout] 553 | Treasury::approve_proposal(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:557:14 [INFO] [stdout] | [INFO] [stdout] 557 | 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:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | 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:558:37 [INFO] [stdout] | [INFO] [stdout] 558 | 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:574:14 [INFO] [stdout] | [INFO] [stdout] 574 | 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:574:37 [INFO] [stdout] | [INFO] [stdout] 574 | 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:575:14 [INFO] [stdout] | [INFO] [stdout] 575 | 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:579:4 [INFO] [stdout] | [INFO] [stdout] 579 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:583:4 [INFO] [stdout] | [INFO] [stdout] 583 | Treasury::approve_proposal(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:583:31 [INFO] [stdout] | [INFO] [stdout] 583 | Treasury::approve_proposal(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:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:587:28 [INFO] [stdout] | [INFO] [stdout] 587 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:591:4 [INFO] [stdout] | [INFO] [stdout] 591 | Treasury::approve_proposal(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:591:31 [INFO] [stdout] | [INFO] [stdout] 591 | Treasury::approve_proposal(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:594:14 [INFO] [stdout] | [INFO] [stdout] 594 | 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:595:14 [INFO] [stdout] | [INFO] [stdout] 595 | 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:597:3 [INFO] [stdout] | [INFO] [stdout] 597 | 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:597:35 [INFO] [stdout] | [INFO] [stdout] 597 | 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:598:14 [INFO] [stdout] | [INFO] [stdout] 598 | 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:599:14 [INFO] [stdout] | [INFO] [stdout] 599 | 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:599:37 [INFO] [stdout] | [INFO] [stdout] 599 | 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:603:14 [INFO] [stdout] | [INFO] [stdout] 603 | 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:604:14 [INFO] [stdout] | [INFO] [stdout] 604 | 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:614:29 [INFO] [stdout] | [INFO] [stdout] 614 | 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:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | 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:622:37 [INFO] [stdout] | [INFO] [stdout] 622 | 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:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | 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:623:49 [INFO] [stdout] | [INFO] [stdout] 623 | 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:630:3 [INFO] [stdout] | [INFO] [stdout] 630 | 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:630:35 [INFO] [stdout] | [INFO] [stdout] 630 | 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:631:3 [INFO] [stdout] | [INFO] [stdout] 631 | 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:636:5 [INFO] [stdout] | [INFO] [stdout] 636 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:636:29 [INFO] [stdout] | [INFO] [stdout] 636 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:640:5 [INFO] [stdout] | [INFO] [stdout] 640 | Treasury::approve_proposal(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:640:32 [INFO] [stdout] | [INFO] [stdout] 640 | Treasury::approve_proposal(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:647:4 [INFO] [stdout] | [INFO] [stdout] 647 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:652:5 [INFO] [stdout] | [INFO] [stdout] 652 | Treasury::approve_proposal(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:652:32 [INFO] [stdout] | [INFO] [stdout] 652 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:662:3 [INFO] [stdout] | [INFO] [stdout] 662 | 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:662:35 [INFO] [stdout] | [INFO] [stdout] 662 | 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:666:4 [INFO] [stdout] | [INFO] [stdout] 666 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:666:28 [INFO] [stdout] | [INFO] [stdout] 666 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:670:4 [INFO] [stdout] | [INFO] [stdout] 670 | Treasury::approve_proposal(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:670:31 [INFO] [stdout] | [INFO] [stdout] 670 | Treasury::approve_proposal(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:672:14 [INFO] [stdout] | [INFO] [stdout] 672 | assert_eq!(Treasury::approvals(), vec![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:673:14 [INFO] [stdout] | [INFO] [stdout] 673 | 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:673:40 [INFO] [stdout] | [INFO] [stdout] 673 | 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:674:14 [INFO] [stdout] | [INFO] [stdout] 674 | assert_eq!(Treasury::approvals(), vec![]); [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:677:4 [INFO] [stdout] | [INFO] [stdout] 677 | 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:677:30 [INFO] [stdout] | [INFO] [stdout] 677 | 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:687:14 [INFO] [stdout] | [INFO] [stdout] 687 | 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:689:5 [INFO] [stdout] | [INFO] [stdout] 689 | 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:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | 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:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | .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:696:4 [INFO] [stdout] | [INFO] [stdout] 696 | 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:698:6 [INFO] [stdout] | [INFO] [stdout] 698 | 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:699:6 [INFO] [stdout] | [INFO] [stdout] 699 | 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:702:14 [INFO] [stdout] | [INFO] [stdout] 702 | .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:712:14 [INFO] [stdout] | [INFO] [stdout] 712 | 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:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | 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:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | 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:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | .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:731:4 [INFO] [stdout] | [INFO] [stdout] 731 | 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:733:6 [INFO] [stdout] | [INFO] [stdout] 733 | 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:739:6 [INFO] [stdout] | [INFO] [stdout] 739 | 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:747:14 [INFO] [stdout] | [INFO] [stdout] 747 | .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:756:14 [INFO] [stdout] | [INFO] [stdout] 756 | 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:756:30 [INFO] [stdout] | [INFO] [stdout] 756 | 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:757:14 [INFO] [stdout] | [INFO] [stdout] 757 | 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:757:30 [INFO] [stdout] | [INFO] [stdout] 757 | 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:759:4 [INFO] [stdout] | [INFO] [stdout] 759 | 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:759:20 [INFO] [stdout] | [INFO] [stdout] 759 | 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:762:14 [INFO] [stdout] | [INFO] [stdout] 762 | 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:762:30 [INFO] [stdout] | [INFO] [stdout] 762 | 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:764:4 [INFO] [stdout] | [INFO] [stdout] 764 | 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:764:20 [INFO] [stdout] | [INFO] [stdout] 764 | 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:767:14 [INFO] [stdout] | [INFO] [stdout] 767 | 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:767:30 [INFO] [stdout] | [INFO] [stdout] 767 | 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:769:4 [INFO] [stdout] | [INFO] [stdout] 769 | 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:769:20 [INFO] [stdout] | [INFO] [stdout] 769 | 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:782:14 [INFO] [stdout] | [INFO] [stdout] 782 | 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:782:30 [INFO] [stdout] | [INFO] [stdout] 782 | 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:817:14 [INFO] [stdout] | [INFO] [stdout] 817 | 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:817:30 [INFO] [stdout] | [INFO] [stdout] 817 | 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:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | 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:819:33 [INFO] [stdout] | [INFO] [stdout] 819 | 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:823:4 [INFO] [stdout] | [INFO] [stdout] 823 | 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:823:20 [INFO] [stdout] | [INFO] [stdout] 823 | 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:835:14 [INFO] [stdout] | [INFO] [stdout] 835 | 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:835:30 [INFO] [stdout] | [INFO] [stdout] 835 | 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:837:14 [INFO] [stdout] | [INFO] [stdout] 837 | 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:837:31 [INFO] [stdout] | [INFO] [stdout] 837 | 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:845:14 [INFO] [stdout] | [INFO] [stdout] 845 | 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:845:37 [INFO] [stdout] | [INFO] [stdout] 845 | 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:848:16 [INFO] [stdout] | [INFO] [stdout] 848 | 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:848:33 [INFO] [stdout] | [INFO] [stdout] 848 | 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:856:14 [INFO] [stdout] | [INFO] [stdout] 856 | 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:856:30 [INFO] [stdout] | [INFO] [stdout] 856 | 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:857:14 [INFO] [stdout] | [INFO] [stdout] 857 | 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:857:31 [INFO] [stdout] | [INFO] [stdout] 857 | 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:865:4 [INFO] [stdout] | [INFO] [stdout] 865 | 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:865:21 [INFO] [stdout] | [INFO] [stdout] 865 | 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:869:14 [INFO] [stdout] | [INFO] [stdout] 869 | 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:869:37 [INFO] [stdout] | [INFO] [stdout] 869 | 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:872:14 [INFO] [stdout] | [INFO] [stdout] 872 | 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:872:31 [INFO] [stdout] | [INFO] [stdout] 872 | 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:884:14 [INFO] [stdout] | [INFO] [stdout] 884 | 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:885:4 [INFO] [stdout] | [INFO] [stdout] 885 | 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:891:16 [INFO] [stdout] | [INFO] [stdout] 891 | 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:891:33 [INFO] [stdout] | [INFO] [stdout] 891 | 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:893:14 [INFO] [stdout] | [INFO] [stdout] 893 | 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:893:31 [INFO] [stdout] | [INFO] [stdout] 893 | 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:897:14 [INFO] [stdout] | [INFO] [stdout] 897 | 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:898:4 [INFO] [stdout] | [INFO] [stdout] 898 | 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:905:14 [INFO] [stdout] | [INFO] [stdout] 905 | 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:905:31 [INFO] [stdout] | [INFO] [stdout] 905 | 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:914:14 [INFO] [stdout] | [INFO] [stdout] 914 | 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:915:4 [INFO] [stdout] | [INFO] [stdout] 915 | 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:921:14 [INFO] [stdout] | [INFO] [stdout] 921 | 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:921:31 [INFO] [stdout] | [INFO] [stdout] 921 | 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:923:4 [INFO] [stdout] | [INFO] [stdout] 923 | 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:923:25 [INFO] [stdout] | [INFO] [stdout] 923 | 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:928:14 [INFO] [stdout] | [INFO] [stdout] 928 | 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:929:4 [INFO] [stdout] | [INFO] [stdout] 929 | 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:935:14 [INFO] [stdout] | [INFO] [stdout] 935 | 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:935:35 [INFO] [stdout] | [INFO] [stdout] 935 | 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:947:14 [INFO] [stdout] | [INFO] [stdout] 947 | 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:947:30 [INFO] [stdout] | [INFO] [stdout] 947 | 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:949:14 [INFO] [stdout] | [INFO] [stdout] 949 | 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:949:37 [INFO] [stdout] | [INFO] [stdout] 949 | 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:954:14 [INFO] [stdout] | [INFO] [stdout] 954 | 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:954:30 [INFO] [stdout] | [INFO] [stdout] 954 | 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:956:4 [INFO] [stdout] | [INFO] [stdout] 956 | 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:956:27 [INFO] [stdout] | [INFO] [stdout] 956 | 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:959:14 [INFO] [stdout] | [INFO] [stdout] 959 | 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:959:31 [INFO] [stdout] | [INFO] [stdout] 959 | 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:964:14 [INFO] [stdout] | [INFO] [stdout] 964 | 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:964:37 [INFO] [stdout] | [INFO] [stdout] 964 | 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:967:14 [INFO] [stdout] | [INFO] [stdout] 967 | 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:967:37 [INFO] [stdout] | [INFO] [stdout] 967 | 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:972:14 [INFO] [stdout] | [INFO] [stdout] 972 | 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:972:30 [INFO] [stdout] | [INFO] [stdout] 972 | 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:973:14 [INFO] [stdout] | [INFO] [stdout] 973 | 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:973:31 [INFO] [stdout] | [INFO] [stdout] 973 | 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:976:14 [INFO] [stdout] | [INFO] [stdout] 976 | 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:976:37 [INFO] [stdout] | [INFO] [stdout] 976 | 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:981:14 [INFO] [stdout] | [INFO] [stdout] 981 | 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:981:30 [INFO] [stdout] | [INFO] [stdout] 981 | 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:982:14 [INFO] [stdout] | [INFO] [stdout] 982 | 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:982:31 [INFO] [stdout] | [INFO] [stdout] 982 | 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:986:4 [INFO] [stdout] | [INFO] [stdout] 986 | 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:986:27 [INFO] [stdout] | [INFO] [stdout] 986 | 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:991:14 [INFO] [stdout] | [INFO] [stdout] 991 | 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:991:30 [INFO] [stdout] | [INFO] [stdout] 991 | 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:992:14 [INFO] [stdout] | [INFO] [stdout] 992 | 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:992:31 [INFO] [stdout] | [INFO] [stdout] 992 | 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:995:14 [INFO] [stdout] | [INFO] [stdout] 995 | 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:995:37 [INFO] [stdout] | [INFO] [stdout] 995 | 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:1008:4 [INFO] [stdout] | [INFO] [stdout] 1008 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1008:28 [INFO] [stdout] | [INFO] [stdout] 1008 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1018:4 [INFO] [stdout] | [INFO] [stdout] 1018 | 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:1031:4 [INFO] [stdout] | [INFO] [stdout] 1031 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1031:28 [INFO] [stdout] | [INFO] [stdout] 1031 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1048:4 [INFO] [stdout] | [INFO] [stdout] 1048 | 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:1061:4 [INFO] [stdout] | [INFO] [stdout] 1061 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1061:28 [INFO] [stdout] | [INFO] [stdout] 1061 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1067:4 [INFO] [stdout] | [INFO] [stdout] 1067 | Treasury::approve_proposal(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:1067:31 [INFO] [stdout] | [INFO] [stdout] 1067 | Treasury::approve_proposal(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:1080:4 [INFO] [stdout] | [INFO] [stdout] 1080 | 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:1092:4 [INFO] [stdout] | [INFO] [stdout] 1092 | 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:1092:20 [INFO] [stdout] | [INFO] [stdout] 1092 | 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:1102:4 [INFO] [stdout] | [INFO] [stdout] 1102 | 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:1114:4 [INFO] [stdout] | [INFO] [stdout] 1114 | 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:1114:20 [INFO] [stdout] | [INFO] [stdout] 1114 | 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:1131:4 [INFO] [stdout] | [INFO] [stdout] 1131 | 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:1143:4 [INFO] [stdout] | [INFO] [stdout] 1143 | 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:1143:20 [INFO] [stdout] | [INFO] [stdout] 1143 | 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:1159:4 [INFO] [stdout] | [INFO] [stdout] 1159 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 450 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-treasury` (lib test) due to 451 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a0d84661cb4bbe39770db44c45511fd5ef7c3eaeed2649f269f411cec758940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0d84661cb4bbe39770db44c45511fd5ef7c3eaeed2649f269f411cec758940", kill_on_drop: false }` [INFO] [stdout] 2a0d84661cb4bbe39770db44c45511fd5ef7c3eaeed2649f269f411cec758940 [INFO] checking pallet-treasury-25.0.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate pallet-treasury 25.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate pallet-treasury 25.0.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-treasury 25.0.0 [INFO] finished tweaking crates.io crate pallet-treasury 25.0.0 [INFO] tweaked toml for crates.io crate pallet-treasury 25.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb5d9bf049cd7fdadc2cefed07735ed2860184d7507fbeab1b6d1f7e4b25b42b [INFO] running `Command { std: "docker" "start" "-a" "eb5d9bf049cd7fdadc2cefed07735ed2860184d7507fbeab1b6d1f7e4b25b42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb5d9bf049cd7fdadc2cefed07735ed2860184d7507fbeab1b6d1f7e4b25b42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5d9bf049cd7fdadc2cefed07735ed2860184d7507fbeab1b6d1f7e4b25b42b", kill_on_drop: false }` [INFO] [stdout] eb5d9bf049cd7fdadc2cefed07735ed2860184d7507fbeab1b6d1f7e4b25b42b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb3c28b0a044137c637af5f84180ea4ef7fb30b07a1c01bbc3d78c87cae0b088 [INFO] running `Command { std: "docker" "start" "-a" "eb3c28b0a044137c637af5f84180ea4ef7fb30b07a1c01bbc3d78c87cae0b088", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking sp-std v12.0.0 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling wasmtime-runtime v8.0.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking wasmtime-jit-debug v8.0.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking wasmtime-asm-macros v8.0.1 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v8.0.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling wasmtime v8.0.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking trie-db v0.28.0 [INFO] [stderr] Checking schnellru v0.2.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v28.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling prettier-please v0.2.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling expander v2.1.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling proc-macro-warning v1.0.2 [INFO] [stderr] Compiling cfg-expr v0.15.7 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Compiling sp-core-hashing v13.0.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling sp-debug-derive v12.0.0 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.0 [INFO] [stderr] Compiling sp-core-hashing-proc-macro v13.0.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v10.0.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Compiling aquamarine v0.3.3 [INFO] [stderr] Compiling macro_magic_core v0.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling macro_magic_macros v0.5.0 [INFO] [stderr] Checking sp-panic-handler v12.0.0 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking ed25519-zebra v3.1.0 [INFO] [stderr] Compiling macro_magic v0.5.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking substrate-bip39 v0.4.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Checking cranelift-entity v0.95.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking bip39 v2.0.0 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking wasmparser v0.102.0 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Compiling ss58-registry v1.47.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling frame-support-procedural-tools v9.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v13.0.0 [INFO] [stderr] Compiling frame-support-procedural v21.0.0 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling docify_macros v0.2.7 [INFO] [stderr] Checking wasmtime-types v8.0.1 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking wasmtime-environ v8.0.1 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Checking docify v0.2.7 [INFO] [stderr] Checking scale-info v2.11.1 [INFO] [stderr] Checking sp-storage v17.0.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking sp-tracing v14.0.0 [INFO] [stderr] Checking sp-externalities v0.23.0 [INFO] [stderr] Compiling sp-version-proc-macro v12.0.0 [INFO] [stderr] Checking wasmtime-jit v8.0.1 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking bounded-collections v0.1.9 [INFO] [stderr] Checking sp-arithmetic v21.0.0 [INFO] [stderr] Checking frame-metadata v16.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.4.0 [INFO] [stderr] Checking sp-wasm-interface v18.0.0 [INFO] [stderr] Checking sp-runtime-interface v22.0.0 [INFO] [stderr] Checking sp-core v26.0.0 [INFO] [stderr] Checking sp-trie v27.0.0 [INFO] [stderr] Checking sp-keystore v0.32.0 [INFO] [stderr] Checking sp-weights v25.0.0 [INFO] [stderr] Checking sp-state-machine v0.33.0 [INFO] [stderr] Checking sp-application-crypto v28.0.0 [INFO] [stderr] Checking sp-runtime v29.0.0 [INFO] [stderr] Checking sp-version v27.0.0 [INFO] [stderr] Checking sp-staking v24.0.0 [INFO] [stderr] Checking sp-inherents v24.0.0 [INFO] [stderr] Checking sp-api v24.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.5.0 [INFO] [stderr] Checking frame-support v26.0.0 [INFO] [stderr] Checking frame-system v26.0.0 [INFO] [stderr] Checking pallet-balances v26.0.0 [INFO] [stderr] Checking pallet-treasury v25.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/tests.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | Utility: pallet_utility, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/tests.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ext = sp_io::TestExternalities::new(t); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 43 | 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:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 44 | 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:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | 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] 45 | 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 `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | type RuntimeOrigin = RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 62 | type RuntimeOrigin = Self::RuntimeOrigin; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 64 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 70 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | type PalletInfo = PalletInfo; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-support-26.0.0/src/lib.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct PalletId(pub [u8; 8]); [INFO] [stdout] | ------------------- similarly named struct `PalletId` defined here [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 73 | type PalletInfo = Self::PalletInfo; [INFO] [stdout] | ++++++ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 73 | type PalletInfo = PalletId; [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 `Test` in this scope [INFO] [stdout] --> src/tests.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | impl pallet_balances::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:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 87 | 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:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | type AccountStore = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | 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:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | 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:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | type PalletsOrigin = OriginCaller; [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:166:42 [INFO] [stdout] | [INFO] [stdout] 166 | 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] 166 | 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:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | fn try_origin(o: 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:168:59 [INFO] [stdout] | [INFO] [stdout] 168 | fn try_origin(o: 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] 166 | 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:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | Result::, RuntimeOrigin>::from(o).and_then(|o| match o { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 166 | 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:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | 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:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | 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] 194 | 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:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 199 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/tests.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn build(self) -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:231:45 [INFO] [stdout] | [INFO] [stdout] 231 | 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] 229 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:232:36 [INFO] [stdout] | [INFO] [stdout] 232 | 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] 229 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:238:26 [INFO] [stdout] | [INFO] [stdout] 238 | 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] 229 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | 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] 245 | 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:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | 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] 262 | 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:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | 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] 262 | 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:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | 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] 262 | 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:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | 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] 262 | fn spend_local_origin_permissioning_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | >::on_initialize(1); [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:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | >::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:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | Error::::InsufficientProposersBalance, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 343 | fn spend_proposal_fails_when_proposer_poor() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | >::on_initialize(1); [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:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | >::on_initialize(2); [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:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | >::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:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | 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] 409 | fn reject_already_rejected_spend_proposal_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | 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] 432 | fn reject_non_existent_spend_proposal_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | 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] 445 | fn accept_non_existent_spend_proposal_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | 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] 458 | fn accept_already_rejected_spend_proposal_fails() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:495:4 [INFO] [stdout] | [INFO] [stdout] 495 | >::on_initialize(2); [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:516:4 [INFO] [stdout] | [INFO] [stdout] 516 | >::on_initialize(2); [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:520:4 [INFO] [stdout] | [INFO] [stdout] 520 | >::on_initialize(4); [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:544:4 [INFO] [stdout] | [INFO] [stdout] 544 | >::on_initialize(2); [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:556:4 [INFO] [stdout] | [INFO] [stdout] 556 | >::on_initialize(4); [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:566:44 [INFO] [stdout] | [INFO] [stdout] 566 | 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] 565 | 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:567:35 [INFO] [stdout] | [INFO] [stdout] 567 | pallet_balances::GenesisConfig:: { balances: vec![(0, 100), (1, 99), (2, 1)] } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 565 | fn inexistent_account_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/tests.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | let mut t: sp_io::TestExternalities = t.into(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Treasury` in this scope [INFO] [stdout] --> src/tests.rs:593:4 [INFO] [stdout] | [INFO] [stdout] 593 | >::on_initialize(2); [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:601:4 [INFO] [stdout] | [INFO] [stdout] 601 | >::on_initialize(4); [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:610:44 [INFO] [stdout] | [INFO] [stdout] 610 | 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] 609 | 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:612:35 [INFO] [stdout] | [INFO] [stdout] 612 | 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] 609 | 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:618:25 [INFO] [stdout] | [INFO] [stdout] 618 | 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] 609 | fn genesis_funding_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/tests.rs:619:13 [INFO] [stdout] | [INFO] [stdout] 619 | let mut t: sp_io::TestExternalities = t.into(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:633:16 [INFO] [stdout] | [INFO] [stdout] 633 | 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:654:12 [INFO] [stdout] | [INFO] [stdout] 654 | 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] 628 | 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:678:12 [INFO] [stdout] | [INFO] [stdout] 678 | 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] 660 | 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:703:12 [INFO] [stdout] | [INFO] [stdout] 703 | 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] 684 | 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:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | 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] 709 | 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:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | 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] 754 | 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:765:12 [INFO] [stdout] | [INFO] [stdout] 765 | 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] 754 | 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:770:12 [INFO] [stdout] | [INFO] [stdout] 770 | 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] 754 | 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:773:27 [INFO] [stdout] | [INFO] [stdout] 773 | 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] 754 | 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:774:23 [INFO] [stdout] | [INFO] [stdout] 774 | 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] 754 | 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:781:3 [INFO] [stdout] | [INFO] [stdout] 781 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:784:27 [INFO] [stdout] | [INFO] [stdout] 784 | 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] 779 | 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:786:13 [INFO] [stdout] | [INFO] [stdout] 786 | 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] 779 | 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:796:3 [INFO] [stdout] | [INFO] [stdout] 796 | System::assert_last_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:797:12 [INFO] [stdout] | [INFO] [stdout] 797 | 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] 779 | 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:813:15 [INFO] [stdout] | [INFO] [stdout] 813 | 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:816:3 [INFO] [stdout] | [INFO] [stdout] 816 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:818:3 [INFO] [stdout] | [INFO] [stdout] 818 | System::set_block_number(6); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:819:71 [INFO] [stdout] | [INFO] [stdout] 819 | 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] 811 | 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:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | 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] 811 | 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:833:3 [INFO] [stdout] | [INFO] [stdout] 833 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | 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] 831 | 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:842:3 [INFO] [stdout] | [INFO] [stdout] 842 | 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 one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:842:37 [INFO] [stdout] | [INFO] [stdout] 842 | 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] 831 | 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:846:3 [INFO] [stdout] | [INFO] [stdout] 846 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:846:37 [INFO] [stdout] | [INFO] [stdout] 846 | 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] 831 | 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:848:71 [INFO] [stdout] | [INFO] [stdout] 848 | 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] 831 | 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:855:3 [INFO] [stdout] | [INFO] [stdout] 855 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:866:12 [INFO] [stdout] | [INFO] [stdout] 866 | 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] 853 | 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:870:3 [INFO] [stdout] | [INFO] [stdout] 870 | 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 one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:870:37 [INFO] [stdout] | [INFO] [stdout] 870 | 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] 853 | 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:880:15 [INFO] [stdout] | [INFO] [stdout] 880 | 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:881:3 [INFO] [stdout] | [INFO] [stdout] 881 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:891:71 [INFO] [stdout] | [INFO] [stdout] 891 | 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] 878 | 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:892:3 [INFO] [stdout] | [INFO] [stdout] 892 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:895:3 [INFO] [stdout] | [INFO] [stdout] 895 | System::set_block_number(5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:912:3 [INFO] [stdout] | [INFO] [stdout] 912 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:924:12 [INFO] [stdout] | [INFO] [stdout] 924 | 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] 910 | 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:936:23 [INFO] [stdout] | [INFO] [stdout] 936 | 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] 910 | 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:943:15 [INFO] [stdout] | [INFO] [stdout] 943 | 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:944:3 [INFO] [stdout] | [INFO] [stdout] 944 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:948:3 [INFO] [stdout] | [INFO] [stdout] 948 | System::set_block_number(7); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:951:3 [INFO] [stdout] | [INFO] [stdout] 951 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:951:37 [INFO] [stdout] | [INFO] [stdout] 951 | 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] 941 | 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:957:12 [INFO] [stdout] | [INFO] [stdout] 957 | 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] 941 | 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:963:3 [INFO] [stdout] | [INFO] [stdout] 963 | System::set_block_number(13); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:966:3 [INFO] [stdout] | [INFO] [stdout] 966 | 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 one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:966:37 [INFO] [stdout] | [INFO] [stdout] 966 | 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] 941 | 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:969:3 [INFO] [stdout] | [INFO] [stdout] 969 | System::assert_last_event(Event::::SpendProcessed { index: 1 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:969:37 [INFO] [stdout] | [INFO] [stdout] 969 | 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] 941 | 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:978:3 [INFO] [stdout] | [INFO] [stdout] 978 | System::assert_last_event(Event::::SpendProcessed { index: 2 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:978:37 [INFO] [stdout] | [INFO] [stdout] 978 | 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] 941 | 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:987:12 [INFO] [stdout] | [INFO] [stdout] 987 | 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] 941 | 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:997:3 [INFO] [stdout] | [INFO] [stdout] 997 | System::assert_last_event(Event::::SpendProcessed { index: 4 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 + use sp_std::alloc::System; [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:997:37 [INFO] [stdout] | [INFO] [stdout] 997 | 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] 941 | 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:1010:26 [INFO] [stdout] | [INFO] [stdout] 1010 | 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] 1002 | 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:1011:30 [INFO] [stdout] | [INFO] [stdout] 1011 | 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] 1002 | 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:1013:27 [INFO] [stdout] | [INFO] [stdout] 1013 | 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] 1002 | 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:1013:64 [INFO] [stdout] | [INFO] [stdout] 1013 | 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] 1002 | 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:1015:19 [INFO] [stdout] | [INFO] [stdout] 1015 | 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] 1002 | 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:1033:26 [INFO] [stdout] | [INFO] [stdout] 1033 | 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] 1025 | 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:1034:48 [INFO] [stdout] | [INFO] [stdout] 1034 | 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] 1025 | 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:1038:16 [INFO] [stdout] | [INFO] [stdout] 1038 | 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] 1025 | 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:1044:30 [INFO] [stdout] | [INFO] [stdout] 1044 | 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] 1025 | 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:1045:15 [INFO] [stdout] | [INFO] [stdout] 1045 | 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] 1025 | 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:1063:26 [INFO] [stdout] | [INFO] [stdout] 1063 | 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] 1055 | 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:1069:26 [INFO] [stdout] | [INFO] [stdout] 1069 | 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] 1055 | 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:1071:23 [INFO] [stdout] | [INFO] [stdout] 1071 | 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] 1055 | 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:1073:40 [INFO] [stdout] | [INFO] [stdout] 1073 | .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] 1055 | 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:1075:44 [INFO] [stdout] | [INFO] [stdout] 1075 | 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] 1055 | 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:1077:15 [INFO] [stdout] | [INFO] [stdout] 1077 | 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] 1055 | 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:1094:23 [INFO] [stdout] | [INFO] [stdout] 1094 | 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] 1087 | 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:1095:27 [INFO] [stdout] | [INFO] [stdout] 1095 | 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] 1087 | 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:1097:24 [INFO] [stdout] | [INFO] [stdout] 1097 | 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] 1087 | 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:1097:58 [INFO] [stdout] | [INFO] [stdout] 1097 | 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] 1087 | 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:1099:16 [INFO] [stdout] | [INFO] [stdout] 1099 | 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] 1087 | 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:1116:23 [INFO] [stdout] | [INFO] [stdout] 1116 | 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] 1109 | 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:1117:42 [INFO] [stdout] | [INFO] [stdout] 1117 | 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] 1109 | 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:1121:13 [INFO] [stdout] | [INFO] [stdout] 1121 | 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] 1109 | 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:1127:24 [INFO] [stdout] | [INFO] [stdout] 1127 | 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] 1109 | 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:1128:12 [INFO] [stdout] | [INFO] [stdout] 1128 | 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] 1109 | 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:1145:23 [INFO] [stdout] | [INFO] [stdout] 1145 | 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] 1138 | 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:1146:42 [INFO] [stdout] | [INFO] [stdout] 1146 | 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] 1138 | 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:1149:20 [INFO] [stdout] | [INFO] [stdout] 1149 | 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] 1138 | 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:1152:24 [INFO] [stdout] | [INFO] [stdout] 1152 | 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] 1138 | 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:1153:12 [INFO] [stdout] | [INFO] [stdout] 1153 | 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] 1138 | fn try_state_spends_invariant_3_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PalletId` is imported redundantly [INFO] [stdout] --> src/tests.rs:37:2 [INFO] [stdout] | [INFO] [stdout] 37 | PalletId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | -------- the item `PalletId` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as treasury` [INFO] [stdout] --> src/tests.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use crate as treasury; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/tests.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | type UtilityCall = pallet_utility::Call; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/tests.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | impl pallet_utility::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | 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 `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | r => Err(RuntimeOrigin::from(r)), [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:256:14 [INFO] [stdout] | [INFO] [stdout] 256 | 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:14 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(Treasury::proposal_count(), 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:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | 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:264:38 [INFO] [stdout] | [INFO] [stdout] 264 | 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:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | 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:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | 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:270:4 [INFO] [stdout] | [INFO] [stdout] 270 | 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:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | 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:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | 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:274:26 [INFO] [stdout] | [INFO] [stdout] 274 | 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:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | 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:278:26 [INFO] [stdout] | [INFO] [stdout] 278 | 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:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | 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:289:35 [INFO] [stdout] | [INFO] [stdout] 289 | 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:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | 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:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | 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:292:14 [INFO] [stdout] | [INFO] [stdout] 292 | 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:292:36 [INFO] [stdout] | [INFO] [stdout] 292 | 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:293:14 [INFO] [stdout] | [INFO] [stdout] 293 | 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:293:36 [INFO] [stdout] | [INFO] [stdout] 293 | 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:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | 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:294:36 [INFO] [stdout] | [INFO] [stdout] 294 | 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:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | 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:295:36 [INFO] [stdout] | [INFO] [stdout] 295 | 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:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | 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:296:36 [INFO] [stdout] | [INFO] [stdout] 296 | 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:297:14 [INFO] [stdout] | [INFO] [stdout] 297 | 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:297:36 [INFO] [stdout] | [INFO] [stdout] 297 | 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:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | 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:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | 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:305:14 [INFO] [stdout] | [INFO] [stdout] 305 | 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:313:3 [INFO] [stdout] | [INFO] [stdout] 313 | 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:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | 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:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | 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:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | Treasury::propose_spend(RuntimeOrigin::signed(0), 1, 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:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(Balances::free_balance(0), 99); [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:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(Balances::reserved_balance(0), 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:335:4 [INFO] [stdout] | [INFO] [stdout] 335 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | assert_eq!(Balances::free_balance(0), 95); [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:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(Balances::reserved_balance(0), 5); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | Treasury::propose_spend(RuntimeOrigin::signed(2), 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:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | Treasury::propose_spend(RuntimeOrigin::signed(2), 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:358:3 [INFO] [stdout] | [INFO] [stdout] 358 | 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:358:35 [INFO] [stdout] | [INFO] [stdout] 358 | 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:4 [INFO] [stdout] | [INFO] [stdout] 362 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:362:28 [INFO] [stdout] | [INFO] [stdout] 362 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:366:4 [INFO] [stdout] | [INFO] [stdout] 366 | Treasury::approve_proposal(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:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | 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:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | 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:378:29 [INFO] [stdout] | [INFO] [stdout] 378 | let init_total_issuance = Balances::total_issuance(); [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:379:3 [INFO] [stdout] | [INFO] [stdout] 379 | 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:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | 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 `Balances` [INFO] [stdout] --> src/tests.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Balances::total_issuance(), init_total_issuance + 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:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | 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:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(Balances::total_issuance(), init_total_issuance + 50); [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:391:3 [INFO] [stdout] | [INFO] [stdout] 391 | 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:391:35 [INFO] [stdout] | [INFO] [stdout] 391 | 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:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | Treasury::reject_proposal(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:399:30 [INFO] [stdout] | [INFO] [stdout] 399 | Treasury::reject_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | 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:404:14 [INFO] [stdout] | [INFO] [stdout] 404 | 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:411:3 [INFO] [stdout] | [INFO] [stdout] 411 | 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:411:35 [INFO] [stdout] | [INFO] [stdout] 411 | 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:415:4 [INFO] [stdout] | [INFO] [stdout] 415 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:415:28 [INFO] [stdout] | [INFO] [stdout] 415 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:419:4 [INFO] [stdout] | [INFO] [stdout] 419 | Treasury::reject_proposal(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:419:30 [INFO] [stdout] | [INFO] [stdout] 419 | Treasury::reject_proposal(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:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | Treasury::reject_proposal(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:424:31 [INFO] [stdout] | [INFO] [stdout] 424 | Treasury::reject_proposal(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:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | Treasury::reject_proposal(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:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | Treasury::reject_proposal(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:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | Treasury::approve_proposal(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:450:32 [INFO] [stdout] | [INFO] [stdout] 450 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:460:3 [INFO] [stdout] | [INFO] [stdout] 460 | 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:460:35 [INFO] [stdout] | [INFO] [stdout] 460 | 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:464:4 [INFO] [stdout] | [INFO] [stdout] 464 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:464:28 [INFO] [stdout] | [INFO] [stdout] 464 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:468:4 [INFO] [stdout] | [INFO] [stdout] 468 | Treasury::reject_proposal(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:468:30 [INFO] [stdout] | [INFO] [stdout] 468 | Treasury::reject_proposal(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:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | Treasury::approve_proposal(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:473:32 [INFO] [stdout] | [INFO] [stdout] 473 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:483:3 [INFO] [stdout] | [INFO] [stdout] 483 | 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:483:35 [INFO] [stdout] | [INFO] [stdout] 483 | 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:484:14 [INFO] [stdout] | [INFO] [stdout] 484 | 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:488:4 [INFO] [stdout] | [INFO] [stdout] 488 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:488:28 [INFO] [stdout] | [INFO] [stdout] 488 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:492:4 [INFO] [stdout] | [INFO] [stdout] 492 | Treasury::approve_proposal(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:492:31 [INFO] [stdout] | [INFO] [stdout] 492 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | 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:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | 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:504:3 [INFO] [stdout] | [INFO] [stdout] 504 | 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:504:35 [INFO] [stdout] | [INFO] [stdout] 504 | 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:505:14 [INFO] [stdout] | [INFO] [stdout] 505 | 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:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:513:4 [INFO] [stdout] | [INFO] [stdout] 513 | Treasury::approve_proposal(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:513:31 [INFO] [stdout] | [INFO] [stdout] 513 | Treasury::approve_proposal(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:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | 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:519:11 [INFO] [stdout] | [INFO] [stdout] 519 | 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:519:44 [INFO] [stdout] | [INFO] [stdout] 519 | 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:521:14 [INFO] [stdout] | [INFO] [stdout] 521 | 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:522:14 [INFO] [stdout] | [INFO] [stdout] 522 | 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:531:3 [INFO] [stdout] | [INFO] [stdout] 531 | 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:531:35 [INFO] [stdout] | [INFO] [stdout] 531 | 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:532:14 [INFO] [stdout] | [INFO] [stdout] 532 | 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:533:26 [INFO] [stdout] | [INFO] [stdout] 533 | 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:533:50 [INFO] [stdout] | [INFO] [stdout] 533 | 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:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:537:28 [INFO] [stdout] | [INFO] [stdout] 537 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:541:4 [INFO] [stdout] | [INFO] [stdout] 541 | Treasury::approve_proposal(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:541:31 [INFO] [stdout] | [INFO] [stdout] 541 | Treasury::approve_proposal(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:545:14 [INFO] [stdout] | [INFO] [stdout] 545 | 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:549:4 [INFO] [stdout] | [INFO] [stdout] 549 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:549:54 [INFO] [stdout] | [INFO] [stdout] 549 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:553:4 [INFO] [stdout] | [INFO] [stdout] 553 | Treasury::approve_proposal(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:553:31 [INFO] [stdout] | [INFO] [stdout] 553 | Treasury::approve_proposal(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:557:14 [INFO] [stdout] | [INFO] [stdout] 557 | 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:558:14 [INFO] [stdout] | [INFO] [stdout] 558 | 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:558:37 [INFO] [stdout] | [INFO] [stdout] 558 | 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:574:14 [INFO] [stdout] | [INFO] [stdout] 574 | 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:574:37 [INFO] [stdout] | [INFO] [stdout] 574 | 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:575:14 [INFO] [stdout] | [INFO] [stdout] 575 | 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:579:4 [INFO] [stdout] | [INFO] [stdout] 579 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:583:4 [INFO] [stdout] | [INFO] [stdout] 583 | Treasury::approve_proposal(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:583:31 [INFO] [stdout] | [INFO] [stdout] 583 | Treasury::approve_proposal(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:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:587:28 [INFO] [stdout] | [INFO] [stdout] 587 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:591:4 [INFO] [stdout] | [INFO] [stdout] 591 | Treasury::approve_proposal(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:591:31 [INFO] [stdout] | [INFO] [stdout] 591 | Treasury::approve_proposal(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:594:14 [INFO] [stdout] | [INFO] [stdout] 594 | 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:595:14 [INFO] [stdout] | [INFO] [stdout] 595 | 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:597:3 [INFO] [stdout] | [INFO] [stdout] 597 | 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:597:35 [INFO] [stdout] | [INFO] [stdout] 597 | 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:598:14 [INFO] [stdout] | [INFO] [stdout] 598 | 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:599:14 [INFO] [stdout] | [INFO] [stdout] 599 | 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:599:37 [INFO] [stdout] | [INFO] [stdout] 599 | 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:603:14 [INFO] [stdout] | [INFO] [stdout] 603 | 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:604:14 [INFO] [stdout] | [INFO] [stdout] 604 | 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:614:29 [INFO] [stdout] | [INFO] [stdout] 614 | 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:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | 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:622:37 [INFO] [stdout] | [INFO] [stdout] 622 | 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:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | 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:623:49 [INFO] [stdout] | [INFO] [stdout] 623 | 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:630:3 [INFO] [stdout] | [INFO] [stdout] 630 | 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:630:35 [INFO] [stdout] | [INFO] [stdout] 630 | 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:631:3 [INFO] [stdout] | [INFO] [stdout] 631 | 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:636:5 [INFO] [stdout] | [INFO] [stdout] 636 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:636:29 [INFO] [stdout] | [INFO] [stdout] 636 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:640:5 [INFO] [stdout] | [INFO] [stdout] 640 | Treasury::approve_proposal(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:640:32 [INFO] [stdout] | [INFO] [stdout] 640 | Treasury::approve_proposal(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:647:4 [INFO] [stdout] | [INFO] [stdout] 647 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:647:28 [INFO] [stdout] | [INFO] [stdout] 647 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:652:5 [INFO] [stdout] | [INFO] [stdout] 652 | Treasury::approve_proposal(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:652:32 [INFO] [stdout] | [INFO] [stdout] 652 | Treasury::approve_proposal(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 `Balances` [INFO] [stdout] --> src/tests.rs:662:3 [INFO] [stdout] | [INFO] [stdout] 662 | 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:662:35 [INFO] [stdout] | [INFO] [stdout] 662 | 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:666:4 [INFO] [stdout] | [INFO] [stdout] 666 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:666:28 [INFO] [stdout] | [INFO] [stdout] 666 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:670:4 [INFO] [stdout] | [INFO] [stdout] 670 | Treasury::approve_proposal(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:670:31 [INFO] [stdout] | [INFO] [stdout] 670 | Treasury::approve_proposal(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:672:14 [INFO] [stdout] | [INFO] [stdout] 672 | assert_eq!(Treasury::approvals(), vec![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:673:14 [INFO] [stdout] | [INFO] [stdout] 673 | 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:673:40 [INFO] [stdout] | [INFO] [stdout] 673 | 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:674:14 [INFO] [stdout] | [INFO] [stdout] 674 | assert_eq!(Treasury::approvals(), vec![]); [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:677:4 [INFO] [stdout] | [INFO] [stdout] 677 | 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:677:30 [INFO] [stdout] | [INFO] [stdout] 677 | 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:687:14 [INFO] [stdout] | [INFO] [stdout] 687 | 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:689:5 [INFO] [stdout] | [INFO] [stdout] 689 | 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:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | 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:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | .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:696:4 [INFO] [stdout] | [INFO] [stdout] 696 | 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:698:6 [INFO] [stdout] | [INFO] [stdout] 698 | 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:699:6 [INFO] [stdout] | [INFO] [stdout] 699 | 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:702:14 [INFO] [stdout] | [INFO] [stdout] 702 | .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:712:14 [INFO] [stdout] | [INFO] [stdout] 712 | 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:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | 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:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | 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:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | .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:731:4 [INFO] [stdout] | [INFO] [stdout] 731 | 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:733:6 [INFO] [stdout] | [INFO] [stdout] 733 | 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:739:6 [INFO] [stdout] | [INFO] [stdout] 739 | 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:747:14 [INFO] [stdout] | [INFO] [stdout] 747 | .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:756:14 [INFO] [stdout] | [INFO] [stdout] 756 | 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:756:30 [INFO] [stdout] | [INFO] [stdout] 756 | 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:757:14 [INFO] [stdout] | [INFO] [stdout] 757 | 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:757:30 [INFO] [stdout] | [INFO] [stdout] 757 | 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:759:4 [INFO] [stdout] | [INFO] [stdout] 759 | 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:759:20 [INFO] [stdout] | [INFO] [stdout] 759 | 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:762:14 [INFO] [stdout] | [INFO] [stdout] 762 | 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:762:30 [INFO] [stdout] | [INFO] [stdout] 762 | 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:764:4 [INFO] [stdout] | [INFO] [stdout] 764 | 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:764:20 [INFO] [stdout] | [INFO] [stdout] 764 | 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:767:14 [INFO] [stdout] | [INFO] [stdout] 767 | 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:767:30 [INFO] [stdout] | [INFO] [stdout] 767 | 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:769:4 [INFO] [stdout] | [INFO] [stdout] 769 | 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:769:20 [INFO] [stdout] | [INFO] [stdout] 769 | 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:782:14 [INFO] [stdout] | [INFO] [stdout] 782 | 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:782:30 [INFO] [stdout] | [INFO] [stdout] 782 | 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:817:14 [INFO] [stdout] | [INFO] [stdout] 817 | 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:817:30 [INFO] [stdout] | [INFO] [stdout] 817 | 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:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | 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:819:33 [INFO] [stdout] | [INFO] [stdout] 819 | 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:823:4 [INFO] [stdout] | [INFO] [stdout] 823 | 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:823:20 [INFO] [stdout] | [INFO] [stdout] 823 | 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:835:14 [INFO] [stdout] | [INFO] [stdout] 835 | 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:835:30 [INFO] [stdout] | [INFO] [stdout] 835 | 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:837:14 [INFO] [stdout] | [INFO] [stdout] 837 | 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:837:31 [INFO] [stdout] | [INFO] [stdout] 837 | 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:845:14 [INFO] [stdout] | [INFO] [stdout] 845 | 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:845:37 [INFO] [stdout] | [INFO] [stdout] 845 | 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:848:16 [INFO] [stdout] | [INFO] [stdout] 848 | 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:848:33 [INFO] [stdout] | [INFO] [stdout] 848 | 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:856:14 [INFO] [stdout] | [INFO] [stdout] 856 | 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:856:30 [INFO] [stdout] | [INFO] [stdout] 856 | 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:857:14 [INFO] [stdout] | [INFO] [stdout] 857 | 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:857:31 [INFO] [stdout] | [INFO] [stdout] 857 | 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:865:4 [INFO] [stdout] | [INFO] [stdout] 865 | 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:865:21 [INFO] [stdout] | [INFO] [stdout] 865 | 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:869:14 [INFO] [stdout] | [INFO] [stdout] 869 | 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:869:37 [INFO] [stdout] | [INFO] [stdout] 869 | 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:872:14 [INFO] [stdout] | [INFO] [stdout] 872 | 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:872:31 [INFO] [stdout] | [INFO] [stdout] 872 | 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:884:14 [INFO] [stdout] | [INFO] [stdout] 884 | 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:885:4 [INFO] [stdout] | [INFO] [stdout] 885 | 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:891:16 [INFO] [stdout] | [INFO] [stdout] 891 | 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:891:33 [INFO] [stdout] | [INFO] [stdout] 891 | 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:893:14 [INFO] [stdout] | [INFO] [stdout] 893 | 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:893:31 [INFO] [stdout] | [INFO] [stdout] 893 | 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:897:14 [INFO] [stdout] | [INFO] [stdout] 897 | 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:898:4 [INFO] [stdout] | [INFO] [stdout] 898 | 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:905:14 [INFO] [stdout] | [INFO] [stdout] 905 | 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:905:31 [INFO] [stdout] | [INFO] [stdout] 905 | 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:914:14 [INFO] [stdout] | [INFO] [stdout] 914 | 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:915:4 [INFO] [stdout] | [INFO] [stdout] 915 | 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:921:14 [INFO] [stdout] | [INFO] [stdout] 921 | 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:921:31 [INFO] [stdout] | [INFO] [stdout] 921 | 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:923:4 [INFO] [stdout] | [INFO] [stdout] 923 | 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:923:25 [INFO] [stdout] | [INFO] [stdout] 923 | 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:928:14 [INFO] [stdout] | [INFO] [stdout] 928 | 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:929:4 [INFO] [stdout] | [INFO] [stdout] 929 | 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:935:14 [INFO] [stdout] | [INFO] [stdout] 935 | 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:935:35 [INFO] [stdout] | [INFO] [stdout] 935 | 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:947:14 [INFO] [stdout] | [INFO] [stdout] 947 | 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:947:30 [INFO] [stdout] | [INFO] [stdout] 947 | 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:949:14 [INFO] [stdout] | [INFO] [stdout] 949 | 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:949:37 [INFO] [stdout] | [INFO] [stdout] 949 | 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:954:14 [INFO] [stdout] | [INFO] [stdout] 954 | 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:954:30 [INFO] [stdout] | [INFO] [stdout] 954 | 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:956:4 [INFO] [stdout] | [INFO] [stdout] 956 | 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:956:27 [INFO] [stdout] | [INFO] [stdout] 956 | 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:959:14 [INFO] [stdout] | [INFO] [stdout] 959 | 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:959:31 [INFO] [stdout] | [INFO] [stdout] 959 | 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:964:14 [INFO] [stdout] | [INFO] [stdout] 964 | 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:964:37 [INFO] [stdout] | [INFO] [stdout] 964 | 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:967:14 [INFO] [stdout] | [INFO] [stdout] 967 | 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:967:37 [INFO] [stdout] | [INFO] [stdout] 967 | 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:972:14 [INFO] [stdout] | [INFO] [stdout] 972 | 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:972:30 [INFO] [stdout] | [INFO] [stdout] 972 | 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:973:14 [INFO] [stdout] | [INFO] [stdout] 973 | 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:973:31 [INFO] [stdout] | [INFO] [stdout] 973 | 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:976:14 [INFO] [stdout] | [INFO] [stdout] 976 | 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:976:37 [INFO] [stdout] | [INFO] [stdout] 976 | 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:981:14 [INFO] [stdout] | [INFO] [stdout] 981 | 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:981:30 [INFO] [stdout] | [INFO] [stdout] 981 | 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:982:14 [INFO] [stdout] | [INFO] [stdout] 982 | 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:982:31 [INFO] [stdout] | [INFO] [stdout] 982 | 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:986:4 [INFO] [stdout] | [INFO] [stdout] 986 | 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:986:27 [INFO] [stdout] | [INFO] [stdout] 986 | 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:991:14 [INFO] [stdout] | [INFO] [stdout] 991 | 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:991:30 [INFO] [stdout] | [INFO] [stdout] 991 | 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:992:14 [INFO] [stdout] | [INFO] [stdout] 992 | 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:992:31 [INFO] [stdout] | [INFO] [stdout] 992 | 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:995:14 [INFO] [stdout] | [INFO] [stdout] 995 | 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:995:37 [INFO] [stdout] | [INFO] [stdout] 995 | 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:1008:4 [INFO] [stdout] | [INFO] [stdout] 1008 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1008:28 [INFO] [stdout] | [INFO] [stdout] 1008 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1018:4 [INFO] [stdout] | [INFO] [stdout] 1018 | 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:1031:4 [INFO] [stdout] | [INFO] [stdout] 1031 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1031:28 [INFO] [stdout] | [INFO] [stdout] 1031 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1048:4 [INFO] [stdout] | [INFO] [stdout] 1048 | 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:1061:4 [INFO] [stdout] | [INFO] [stdout] 1061 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1061:28 [INFO] [stdout] | [INFO] [stdout] 1061 | Treasury::propose_spend(RuntimeOrigin::signed(0), 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:1067:4 [INFO] [stdout] | [INFO] [stdout] 1067 | Treasury::approve_proposal(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:1067:31 [INFO] [stdout] | [INFO] [stdout] 1067 | Treasury::approve_proposal(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:1080:4 [INFO] [stdout] | [INFO] [stdout] 1080 | 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:1092:4 [INFO] [stdout] | [INFO] [stdout] 1092 | 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:1092:20 [INFO] [stdout] | [INFO] [stdout] 1092 | 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:1102:4 [INFO] [stdout] | [INFO] [stdout] 1102 | 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:1114:4 [INFO] [stdout] | [INFO] [stdout] 1114 | 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:1114:20 [INFO] [stdout] | [INFO] [stdout] 1114 | 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:1131:4 [INFO] [stdout] | [INFO] [stdout] 1131 | 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:1143:4 [INFO] [stdout] | [INFO] [stdout] 1143 | 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:1143:20 [INFO] [stdout] | [INFO] [stdout] 1143 | 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:1159:4 [INFO] [stdout] | [INFO] [stdout] 1159 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 450 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-treasury` (lib test) due to 451 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "eb3c28b0a044137c637af5f84180ea4ef7fb30b07a1c01bbc3d78c87cae0b088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb3c28b0a044137c637af5f84180ea4ef7fb30b07a1c01bbc3d78c87cae0b088", kill_on_drop: false }` [INFO] [stdout] eb3c28b0a044137c637af5f84180ea4ef7fb30b07a1c01bbc3d78c87cae0b088