[INFO] fetching crate pallet-treasury 36.0.1... [INFO] checking pallet-treasury-36.0.1 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate pallet-treasury 36.0.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pallet-treasury 36.0.1 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-treasury 36.0.1 [INFO] finished tweaking crates.io crate pallet-treasury 36.0.1 [INFO] tweaked toml for crates.io crate pallet-treasury 36.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 329 packages to latest compatible versions [INFO] [stderr] Adding frame-benchmarking v37.0.0 (available: v38.0.0) [INFO] [stderr] Adding frame-support v37.0.1 (available: v38.0.0) [INFO] [stderr] Adding frame-system v37.1.0 (available: v38.0.0) [INFO] [stderr] Adding pallet-balances v38.0.0 (available: v39.0.0) [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b1e5e043fc0bd5f7dcecd771fd413f39bd8c0f06fe7130fad2903ed82b6a7a0 [INFO] running `Command { std: "docker" "start" "-a" "6b1e5e043fc0bd5f7dcecd771fd413f39bd8c0f06fe7130fad2903ed82b6a7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b1e5e043fc0bd5f7dcecd771fd413f39bd8c0f06fe7130fad2903ed82b6a7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1e5e043fc0bd5f7dcecd771fd413f39bd8c0f06fe7130fad2903ed82b6a7a0", kill_on_drop: false }` [INFO] [stdout] 6b1e5e043fc0bd5f7dcecd771fd413f39bd8c0f06fe7130fad2903ed82b6a7a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d94897688b293e2d1a7b0484961b257b87f5441522801b79649473bd9216ae59 [INFO] running `Command { std: "docker" "start" "-a" "d94897688b293e2d1a7b0484961b257b87f5441522801b79649473bd9216ae59", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking sp-crypto-hashing v0.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking array-bytes v6.2.3 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking trie-db v0.29.1 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking memory-db v0.32.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Compiling sp-io v38.0.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling proc-macro-warning v1.0.2 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.0 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling scale-info-derive v2.11.5 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-api-proc-macro v20.0.0 [INFO] [stderr] Compiling frame-support-procedural v30.0.4 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Checking sp-panic-handler v13.0.0 [INFO] [stderr] Checking parity-scale-codec v3.6.12 [INFO] [stderr] Checking scale-info v2.11.5 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking sp-storage v21.0.0 [INFO] [stderr] Checking sp-wasm-interface v21.0.1 [INFO] [stderr] Checking sp-tracing v17.0.1 [INFO] [stderr] Compiling sp-version-proc-macro v14.0.0 [INFO] [stderr] Checking sp-externalities v0.29.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking bounded-collections v0.2.2 [INFO] [stderr] Checking sp-arithmetic v26.0.0 [INFO] [stderr] Checking frame-metadata v16.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.7.0 [INFO] [stderr] Checking sp-weights v31.0.0 [INFO] [stderr] Checking sp-runtime-interface v28.0.0 [INFO] [stderr] Checking sp-core v34.0.0 [INFO] [stderr] Checking sp-trie v37.0.0 [INFO] [stderr] Checking sp-keystore v0.40.0 [INFO] [stderr] Checking sp-state-machine v0.43.0 [INFO] [stderr] Checking sp-application-crypto v38.0.0 [INFO] [stderr] Checking sp-runtime v39.0.2 [INFO] [stderr] Checking sp-version v37.0.0 [INFO] [stderr] Checking sp-inherents v34.0.0 [INFO] [stderr] Checking sp-staking v34.0.0 [INFO] [stderr] Checking sp-api v34.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.15.1 [INFO] [stderr] Checking frame-support v37.0.1 [INFO] [stderr] Checking frame-system v37.1.0 [INFO] [stderr] Checking pallet-balances v38.0.0 [INFO] [stderr] Checking pallet-treasury v36.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_utility` [INFO] [stdout] --> src/tests.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | Utility: pallet_utility, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_utility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 42 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | type UtilityCall = pallet_utility::Call; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 43 | type UtilityCall = pallet_utility::Call; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | type TreasuryCall = crate::Call; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | type TreasuryCall = crate::Call; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-37.1.0/src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-37.1.0/src/lib.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-37.1.0/src/lib.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-37.1.0/src/lib.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/frame-system-37.1.0/src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | impl pallet_balances::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | type AccountStore = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_balances::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-balances-38.0.0/src/lib.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeHoldReason` in this scope [INFO] [stdout] --> src/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_balances::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-balances-38.0.0/src/lib.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220| type Self::RuntimeHoldReason = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeFreezeReason` in this scope [INFO] [stdout] --> src/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pallet_balances::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pallet-balances-38.0.0/src/lib.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222| type Self::RuntimeFreezeReason = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | impl pallet_utility::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/tests.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/tests.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> src/tests.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | type PalletsOrigin = OriginCaller; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:139:42 [INFO] [stdout] | [INFO] [stdout] 139 | 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] 139 | 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:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | 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:141:59 [INFO] [stdout] | [INFO] [stdout] 141 | 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] 139 | 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:142:40 [INFO] [stdout] | [INFO] [stdout] 142 | 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] 139 | 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:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | 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:174:42 [INFO] [stdout] | [INFO] [stdout] 174 | 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] 172 | 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:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 176 | 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:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | 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:213:45 [INFO] [stdout] | [INFO] [stdout] 213 | 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] 205 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:214:36 [INFO] [stdout] | [INFO] [stdout] 214 | 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] 205 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | 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] 205 | impl ExtBuilder { [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:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | 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[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | ext.execute_with(|| System::set_block_number(1)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | 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] 227 | fn get_payment_id(i: SpendIndex) -> Option { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | 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] 244 | 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:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | 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] 244 | 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:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | 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] 244 | 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:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | 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] 244 | 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:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | >::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:284:4 [INFO] [stdout] | [INFO] [stdout] 284 | >::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:307:4 [INFO] [stdout] | [INFO] [stdout] 307 | >::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:320:4 [INFO] [stdout] | [INFO] [stdout] 320 | >::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:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | >::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:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | >::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:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | >::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:369:4 [INFO] [stdout] | [INFO] [stdout] 369 | >::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:374:4 [INFO] [stdout] | [INFO] [stdout] 374 | >::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:384:44 [INFO] [stdout] | [INFO] [stdout] 384 | 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] 383 | 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:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | 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] 383 | 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:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | 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:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | >::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:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | >::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:415:44 [INFO] [stdout] | [INFO] [stdout] 415 | 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] 414 | 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:417:35 [INFO] [stdout] | [INFO] [stdout] 417 | 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] 414 | 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:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | 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] 414 | 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:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | 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:438:16 [INFO] [stdout] | [INFO] [stdout] 438 | 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:445:12 [INFO] [stdout] | [INFO] [stdout] 445 | 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] 433 | 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:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | 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] 451 | 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:488:12 [INFO] [stdout] | [INFO] [stdout] 488 | 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] 469 | 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:533:12 [INFO] [stdout] | [INFO] [stdout] 533 | 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] 494 | 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:545:12 [INFO] [stdout] | [INFO] [stdout] 545 | 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] 539 | 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:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | 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] 539 | 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:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | 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] 539 | 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:558:27 [INFO] [stdout] | [INFO] [stdout] 558 | 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] 539 | 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:559:23 [INFO] [stdout] | [INFO] [stdout] 559 | 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] 539 | 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:566:3 [INFO] [stdout] | [INFO] [stdout] 566 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:569:27 [INFO] [stdout] | [INFO] [stdout] 569 | 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] 564 | 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:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | 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] 564 | 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:581:3 [INFO] [stdout] | [INFO] [stdout] 581 | System::assert_last_event( [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 582 | 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] 564 | 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:598:15 [INFO] [stdout] | [INFO] [stdout] 598 | 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:601:3 [INFO] [stdout] | [INFO] [stdout] 601 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:603:3 [INFO] [stdout] | [INFO] [stdout] 603 | System::set_block_number(6); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:604:71 [INFO] [stdout] | [INFO] [stdout] 604 | 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] 596 | 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:609:12 [INFO] [stdout] | [INFO] [stdout] 609 | 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] 596 | 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:618:3 [INFO] [stdout] | [INFO] [stdout] 618 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:625:27 [INFO] [stdout] | [INFO] [stdout] 625 | 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] 616 | 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:627:3 [INFO] [stdout] | [INFO] [stdout] 627 | System::assert_last_event(Event::::Paid { index: 0, payment_id }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:627:37 [INFO] [stdout] | [INFO] [stdout] 627 | 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] 616 | 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:631:3 [INFO] [stdout] | [INFO] [stdout] 631 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:631:37 [INFO] [stdout] | [INFO] [stdout] 631 | 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] 616 | 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:633:71 [INFO] [stdout] | [INFO] [stdout] 633 | 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] 616 | 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:640:3 [INFO] [stdout] | [INFO] [stdout] 640 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:651:12 [INFO] [stdout] | [INFO] [stdout] 651 | 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] 638 | 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:655:3 [INFO] [stdout] | [INFO] [stdout] 655 | System::assert_last_event(Event::::PaymentFailed { index: 0, payment_id }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:655:37 [INFO] [stdout] | [INFO] [stdout] 655 | 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] 638 | 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:665:15 [INFO] [stdout] | [INFO] [stdout] 665 | 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:666:3 [INFO] [stdout] | [INFO] [stdout] 666 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:676:71 [INFO] [stdout] | [INFO] [stdout] 676 | 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] 663 | 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:677:3 [INFO] [stdout] | [INFO] [stdout] 677 | System::set_block_number(2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:680:3 [INFO] [stdout] | [INFO] [stdout] 680 | System::set_block_number(5); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:697:3 [INFO] [stdout] | [INFO] [stdout] 697 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 709 | 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] 695 | 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:721:23 [INFO] [stdout] | [INFO] [stdout] 721 | 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] 695 | 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:728:15 [INFO] [stdout] | [INFO] [stdout] 728 | 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:729:3 [INFO] [stdout] | [INFO] [stdout] 729 | System::set_block_number(1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:733:3 [INFO] [stdout] | [INFO] [stdout] 733 | System::set_block_number(7); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:736:3 [INFO] [stdout] | [INFO] [stdout] 736 | System::assert_last_event(Event::::SpendProcessed { index: 0 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:736:37 [INFO] [stdout] | [INFO] [stdout] 736 | 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] 726 | 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:742:12 [INFO] [stdout] | [INFO] [stdout] 742 | 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] 726 | 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:748:3 [INFO] [stdout] | [INFO] [stdout] 748 | System::set_block_number(13); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:751:3 [INFO] [stdout] | [INFO] [stdout] 751 | System::assert_last_event(Event::::PaymentFailed { index: 1, payment_id }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:751:37 [INFO] [stdout] | [INFO] [stdout] 751 | 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] 726 | 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:754:3 [INFO] [stdout] | [INFO] [stdout] 754 | System::assert_last_event(Event::::SpendProcessed { index: 1 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:754:37 [INFO] [stdout] | [INFO] [stdout] 754 | 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] 726 | 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:763:3 [INFO] [stdout] | [INFO] [stdout] 763 | System::assert_last_event(Event::::SpendProcessed { index: 2 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:763:37 [INFO] [stdout] | [INFO] [stdout] 763 | 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] 726 | 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:772:12 [INFO] [stdout] | [INFO] [stdout] 772 | 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] 726 | 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:782:3 [INFO] [stdout] | [INFO] [stdout] 782 | System::assert_last_event(Event::::SpendProcessed { index: 4 }.into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:782:37 [INFO] [stdout] | [INFO] [stdout] 782 | 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] 726 | 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:793:26 [INFO] [stdout] | [INFO] [stdout] 793 | 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] 787 | 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:794:30 [INFO] [stdout] | [INFO] [stdout] 794 | 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] 787 | 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:796:27 [INFO] [stdout] | [INFO] [stdout] 796 | 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] 787 | 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:796:64 [INFO] [stdout] | [INFO] [stdout] 796 | 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] 787 | 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:798:19 [INFO] [stdout] | [INFO] [stdout] 798 | 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] 787 | 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:814:26 [INFO] [stdout] | [INFO] [stdout] 814 | 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] 808 | 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:815:26 [INFO] [stdout] | [INFO] [stdout] 815 | 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] 808 | 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:816:48 [INFO] [stdout] | [INFO] [stdout] 816 | 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] 808 | 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:820:16 [INFO] [stdout] | [INFO] [stdout] 820 | 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] 808 | 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:826:30 [INFO] [stdout] | [INFO] [stdout] 826 | 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] 808 | 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:827:15 [INFO] [stdout] | [INFO] [stdout] 827 | 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] 808 | 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:843:26 [INFO] [stdout] | [INFO] [stdout] 843 | 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] 837 | 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:844:26 [INFO] [stdout] | [INFO] [stdout] 844 | 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] 837 | 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:846:23 [INFO] [stdout] | [INFO] [stdout] 846 | 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] 837 | 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:848:40 [INFO] [stdout] | [INFO] [stdout] 848 | .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] 837 | 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:850:44 [INFO] [stdout] | [INFO] [stdout] 850 | 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] 837 | 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:852:15 [INFO] [stdout] | [INFO] [stdout] 852 | 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] 837 | 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:869:23 [INFO] [stdout] | [INFO] [stdout] 869 | 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] 862 | 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:870:27 [INFO] [stdout] | [INFO] [stdout] 870 | 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] 862 | 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:872:24 [INFO] [stdout] | [INFO] [stdout] 872 | 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] 862 | 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:872:58 [INFO] [stdout] | [INFO] [stdout] 872 | 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] 862 | 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:874:16 [INFO] [stdout] | [INFO] [stdout] 874 | 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] 862 | 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:891:23 [INFO] [stdout] | [INFO] [stdout] 891 | 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] 884 | 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:892:42 [INFO] [stdout] | [INFO] [stdout] 892 | 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] 884 | 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:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | 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] 884 | 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:902:24 [INFO] [stdout] | [INFO] [stdout] 902 | 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] 884 | 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:903:12 [INFO] [stdout] | [INFO] [stdout] 903 | 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] 884 | 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:920:23 [INFO] [stdout] | [INFO] [stdout] 920 | 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] 913 | 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:921:42 [INFO] [stdout] | [INFO] [stdout] 921 | 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] 913 | 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:924:20 [INFO] [stdout] | [INFO] [stdout] 924 | 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] 913 | 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:927:24 [INFO] [stdout] | [INFO] [stdout] 927 | 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] 913 | 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:928:12 [INFO] [stdout] | [INFO] [stdout] 928 | 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] 913 | fn try_state_spends_invariant_3_works() { [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:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 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:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | 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:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | 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:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | 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:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | 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:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | 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:246:16 [INFO] [stdout] | [INFO] [stdout] 246 | 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:246:38 [INFO] [stdout] | [INFO] [stdout] 246 | 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:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | 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:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | 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:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | 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:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | 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:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | 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:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | 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:260:26 [INFO] [stdout] | [INFO] [stdout] 260 | 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:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | 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:271:35 [INFO] [stdout] | [INFO] [stdout] 271 | 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:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | 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:273:36 [INFO] [stdout] | [INFO] [stdout] 273 | 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:274:14 [INFO] [stdout] | [INFO] [stdout] 274 | 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:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | 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:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | 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:275:36 [INFO] [stdout] | [INFO] [stdout] 275 | 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:276:14 [INFO] [stdout] | [INFO] [stdout] 276 | 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:276:36 [INFO] [stdout] | [INFO] [stdout] 276 | 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:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | 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:277:36 [INFO] [stdout] | [INFO] [stdout] 277 | 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:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | 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:278:36 [INFO] [stdout] | [INFO] [stdout] 278 | 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:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | 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:279:36 [INFO] [stdout] | [INFO] [stdout] 279 | 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:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | 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:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | 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:287:14 [INFO] [stdout] | [INFO] [stdout] 287 | 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:295:3 [INFO] [stdout] | [INFO] [stdout] 295 | 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:295:35 [INFO] [stdout] | [INFO] [stdout] 295 | 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:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | 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:303:3 [INFO] [stdout] | [INFO] [stdout] 303 | 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:303:35 [INFO] [stdout] | [INFO] [stdout] 303 | 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:305:14 [INFO] [stdout] | [INFO] [stdout] 305 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | 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:309:14 [INFO] [stdout] | [INFO] [stdout] 309 | 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:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | 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:317:3 [INFO] [stdout] | [INFO] [stdout] 317 | 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:317:35 [INFO] [stdout] | [INFO] [stdout] 317 | 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:318:14 [INFO] [stdout] | [INFO] [stdout] 318 | 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:321:14 [INFO] [stdout] | [INFO] [stdout] 321 | 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:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | 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:329:3 [INFO] [stdout] | [INFO] [stdout] 329 | 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:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | 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:330:14 [INFO] [stdout] | [INFO] [stdout] 330 | 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:332:14 [INFO] [stdout] | [INFO] [stdout] 332 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:332:36 [INFO] [stdout] | [INFO] [stdout] 332 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | 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:336:14 [INFO] [stdout] | [INFO] [stdout] 336 | 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:343:3 [INFO] [stdout] | [INFO] [stdout] 343 | 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:343:35 [INFO] [stdout] | [INFO] [stdout] 343 | 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:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | 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:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 150, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:346:36 [INFO] [stdout] | [INFO] [stdout] 346 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 150, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 349 | 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:351:11 [INFO] [stdout] | [INFO] [stdout] 351 | 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:351:44 [INFO] [stdout] | [INFO] [stdout] 351 | 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:353:14 [INFO] [stdout] | [INFO] [stdout] 353 | 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:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | 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:363:3 [INFO] [stdout] | [INFO] [stdout] 363 | 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:363:35 [INFO] [stdout] | [INFO] [stdout] 363 | 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:364:14 [INFO] [stdout] | [INFO] [stdout] 364 | 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:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | 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:365:50 [INFO] [stdout] | [INFO] [stdout] 365 | 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:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), treasury_balance, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:367:36 [INFO] [stdout] | [INFO] [stdout] 367 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), treasury_balance, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | assert_eq!(Treasury::pot(), 100); // Pot hasn't changed [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), Treasury::pot(), 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:372:36 [INFO] [stdout] | [INFO] [stdout] 372 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), Treasury::pot(), 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:372:63 [INFO] [stdout] | [INFO] [stdout] 372 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), Treasury::pot(), 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:375:14 [INFO] [stdout] | [INFO] [stdout] 375 | 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:376:14 [INFO] [stdout] | [INFO] [stdout] 376 | 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:376:37 [INFO] [stdout] | [INFO] [stdout] 376 | 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:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | 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:392:37 [INFO] [stdout] | [INFO] [stdout] 392 | 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:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | 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:395:14 [INFO] [stdout] | [INFO] [stdout] 395 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 99, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:395:36 [INFO] [stdout] | [INFO] [stdout] 395 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 99, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 396 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:396:36 [INFO] [stdout] | [INFO] [stdout] 396 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:399:14 [INFO] [stdout] | [INFO] [stdout] 399 | 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:400:14 [INFO] [stdout] | [INFO] [stdout] 400 | 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:402:3 [INFO] [stdout] | [INFO] [stdout] 402 | 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:402:35 [INFO] [stdout] | [INFO] [stdout] 402 | 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:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | 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:404:14 [INFO] [stdout] | [INFO] [stdout] 404 | 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:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | 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:408:14 [INFO] [stdout] | [INFO] [stdout] 408 | 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:409:14 [INFO] [stdout] | [INFO] [stdout] 409 | 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:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | 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:427:14 [INFO] [stdout] | [INFO] [stdout] 427 | 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:427:37 [INFO] [stdout] | [INFO] [stdout] 427 | 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:428:14 [INFO] [stdout] | [INFO] [stdout] 428 | 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:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | 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:435:3 [INFO] [stdout] | [INFO] [stdout] 435 | 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:435:35 [INFO] [stdout] | [INFO] [stdout] 435 | 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:436:3 [INFO] [stdout] | [INFO] [stdout] 436 | 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:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 439 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:444:4 [INFO] [stdout] | [INFO] [stdout] 444 | Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:444:26 [INFO] [stdout] | [INFO] [stdout] 444 | Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:453:3 [INFO] [stdout] | [INFO] [stdout] 453 | 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:453:35 [INFO] [stdout] | [INFO] [stdout] 453 | 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:455:14 [INFO] [stdout] | [INFO] [stdout] 455 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:455:36 [INFO] [stdout] | [INFO] [stdout] 455 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 100, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:457:14 [INFO] [stdout] | [INFO] [stdout] 457 | 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:458:14 [INFO] [stdout] | [INFO] [stdout] 458 | 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:458:40 [INFO] [stdout] | [INFO] [stdout] 458 | 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:459:14 [INFO] [stdout] | [INFO] [stdout] 459 | 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:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | 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:462:30 [INFO] [stdout] | [INFO] [stdout] 462 | 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:472:14 [INFO] [stdout] | [INFO] [stdout] 472 | 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:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | 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:475:5 [INFO] [stdout] | [INFO] [stdout] 475 | 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:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | .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:481:4 [INFO] [stdout] | [INFO] [stdout] 481 | 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:483:6 [INFO] [stdout] | [INFO] [stdout] 483 | 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:484:6 [INFO] [stdout] | [INFO] [stdout] 484 | 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:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | .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:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | 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:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | 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:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | 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:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | .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:516:4 [INFO] [stdout] | [INFO] [stdout] 516 | 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:518:6 [INFO] [stdout] | [INFO] [stdout] 518 | 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:524:6 [INFO] [stdout] | [INFO] [stdout] 524 | 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:532:14 [INFO] [stdout] | [INFO] [stdout] 532 | .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:541:14 [INFO] [stdout] | [INFO] [stdout] 541 | 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:541:30 [INFO] [stdout] | [INFO] [stdout] 541 | 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:542:14 [INFO] [stdout] | [INFO] [stdout] 542 | 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:542:30 [INFO] [stdout] | [INFO] [stdout] 542 | 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:544:4 [INFO] [stdout] | [INFO] [stdout] 544 | 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:544:20 [INFO] [stdout] | [INFO] [stdout] 544 | 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:547:14 [INFO] [stdout] | [INFO] [stdout] 547 | 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:547:30 [INFO] [stdout] | [INFO] [stdout] 547 | 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:549:4 [INFO] [stdout] | [INFO] [stdout] 549 | 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:549:20 [INFO] [stdout] | [INFO] [stdout] 549 | 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:552:14 [INFO] [stdout] | [INFO] [stdout] 552 | 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:552:30 [INFO] [stdout] | [INFO] [stdout] 552 | 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:554:4 [INFO] [stdout] | [INFO] [stdout] 554 | 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:554:20 [INFO] [stdout] | [INFO] [stdout] 554 | 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:567:14 [INFO] [stdout] | [INFO] [stdout] 567 | 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:567:30 [INFO] [stdout] | [INFO] [stdout] 567 | 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:602:14 [INFO] [stdout] | [INFO] [stdout] 602 | 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:602:30 [INFO] [stdout] | [INFO] [stdout] 602 | 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:604:16 [INFO] [stdout] | [INFO] [stdout] 604 | 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:604:33 [INFO] [stdout] | [INFO] [stdout] 604 | 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:608:4 [INFO] [stdout] | [INFO] [stdout] 608 | 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:608:20 [INFO] [stdout] | [INFO] [stdout] 608 | 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:620:14 [INFO] [stdout] | [INFO] [stdout] 620 | 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:620:30 [INFO] [stdout] | [INFO] [stdout] 620 | 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:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | 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:622:31 [INFO] [stdout] | [INFO] [stdout] 622 | 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:630:14 [INFO] [stdout] | [INFO] [stdout] 630 | 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:630:37 [INFO] [stdout] | [INFO] [stdout] 630 | 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:633:16 [INFO] [stdout] | [INFO] [stdout] 633 | 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:633:33 [INFO] [stdout] | [INFO] [stdout] 633 | 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:641:14 [INFO] [stdout] | [INFO] [stdout] 641 | 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:641:30 [INFO] [stdout] | [INFO] [stdout] 641 | 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:642:14 [INFO] [stdout] | [INFO] [stdout] 642 | 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:642:31 [INFO] [stdout] | [INFO] [stdout] 642 | 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:650:4 [INFO] [stdout] | [INFO] [stdout] 650 | 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:650:21 [INFO] [stdout] | [INFO] [stdout] 650 | 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:654:14 [INFO] [stdout] | [INFO] [stdout] 654 | 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:654:37 [INFO] [stdout] | [INFO] [stdout] 654 | 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:657:14 [INFO] [stdout] | [INFO] [stdout] 657 | 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:657:31 [INFO] [stdout] | [INFO] [stdout] 657 | 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:669:14 [INFO] [stdout] | [INFO] [stdout] 669 | 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:670:4 [INFO] [stdout] | [INFO] [stdout] 670 | 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:676:16 [INFO] [stdout] | [INFO] [stdout] 676 | 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:676:33 [INFO] [stdout] | [INFO] [stdout] 676 | 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:678:14 [INFO] [stdout] | [INFO] [stdout] 678 | 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:678:31 [INFO] [stdout] | [INFO] [stdout] 678 | 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:682:14 [INFO] [stdout] | [INFO] [stdout] 682 | 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:683:4 [INFO] [stdout] | [INFO] [stdout] 683 | 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:690:14 [INFO] [stdout] | [INFO] [stdout] 690 | 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:690:31 [INFO] [stdout] | [INFO] [stdout] 690 | 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:699:14 [INFO] [stdout] | [INFO] [stdout] 699 | 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:700:4 [INFO] [stdout] | [INFO] [stdout] 700 | 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:706:14 [INFO] [stdout] | [INFO] [stdout] 706 | 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:706:31 [INFO] [stdout] | [INFO] [stdout] 706 | 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:708:4 [INFO] [stdout] | [INFO] [stdout] 708 | 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:708:25 [INFO] [stdout] | [INFO] [stdout] 708 | 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:713:14 [INFO] [stdout] | [INFO] [stdout] 713 | 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:714:4 [INFO] [stdout] | [INFO] [stdout] 714 | 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:720:14 [INFO] [stdout] | [INFO] [stdout] 720 | 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:720:35 [INFO] [stdout] | [INFO] [stdout] 720 | 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:732:14 [INFO] [stdout] | [INFO] [stdout] 732 | 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:732:30 [INFO] [stdout] | [INFO] [stdout] 732 | 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:734:14 [INFO] [stdout] | [INFO] [stdout] 734 | 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:734:37 [INFO] [stdout] | [INFO] [stdout] 734 | 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:739:14 [INFO] [stdout] | [INFO] [stdout] 739 | 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:739:30 [INFO] [stdout] | [INFO] [stdout] 739 | 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:741:4 [INFO] [stdout] | [INFO] [stdout] 741 | 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:741:27 [INFO] [stdout] | [INFO] [stdout] 741 | 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:744:14 [INFO] [stdout] | [INFO] [stdout] 744 | 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:744:31 [INFO] [stdout] | [INFO] [stdout] 744 | 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:749:14 [INFO] [stdout] | [INFO] [stdout] 749 | 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:749:37 [INFO] [stdout] | [INFO] [stdout] 749 | 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:752:14 [INFO] [stdout] | [INFO] [stdout] 752 | 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:752:37 [INFO] [stdout] | [INFO] [stdout] 752 | 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: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:758:14 [INFO] [stdout] | [INFO] [stdout] 758 | 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:758:31 [INFO] [stdout] | [INFO] [stdout] 758 | 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:761:14 [INFO] [stdout] | [INFO] [stdout] 761 | 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:761:37 [INFO] [stdout] | [INFO] [stdout] 761 | 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:766:14 [INFO] [stdout] | [INFO] [stdout] 766 | 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:766:30 [INFO] [stdout] | [INFO] [stdout] 766 | 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:767:14 [INFO] [stdout] | [INFO] [stdout] 767 | 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:767:31 [INFO] [stdout] | [INFO] [stdout] 767 | 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:771:4 [INFO] [stdout] | [INFO] [stdout] 771 | 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:771:27 [INFO] [stdout] | [INFO] [stdout] 771 | 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:776:14 [INFO] [stdout] | [INFO] [stdout] 776 | 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:776:30 [INFO] [stdout] | [INFO] [stdout] 776 | 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:777:14 [INFO] [stdout] | [INFO] [stdout] 777 | 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:777:31 [INFO] [stdout] | [INFO] [stdout] 777 | 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:780:14 [INFO] [stdout] | [INFO] [stdout] 780 | 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:780:37 [INFO] [stdout] | [INFO] [stdout] 780 | 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:791:14 [INFO] [stdout] | [INFO] [stdout] 791 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:791:36 [INFO] [stdout] | [INFO] [stdout] 791 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:801:4 [INFO] [stdout] | [INFO] [stdout] 801 | 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:812:14 [INFO] [stdout] | [INFO] [stdout] 812 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:812:36 [INFO] [stdout] | [INFO] [stdout] 812 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 1, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:830:4 [INFO] [stdout] | [INFO] [stdout] 830 | 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:841:14 [INFO] [stdout] | [INFO] [stdout] 841 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 10, 3)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:841:36 [INFO] [stdout] | [INFO] [stdout] 841 | assert_ok!(Treasury::spend_local(RuntimeOrigin::signed(14), 10, 3)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Treasury` [INFO] [stdout] --> src/tests.rs:855:4 [INFO] [stdout] | [INFO] [stdout] 855 | 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:867:4 [INFO] [stdout] | [INFO] [stdout] 867 | 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:867:20 [INFO] [stdout] | [INFO] [stdout] 867 | 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:877:4 [INFO] [stdout] | [INFO] [stdout] 877 | 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:889:4 [INFO] [stdout] | [INFO] [stdout] 889 | 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:889:20 [INFO] [stdout] | [INFO] [stdout] 889 | 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:906:4 [INFO] [stdout] | [INFO] [stdout] 906 | 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:918:4 [INFO] [stdout] | [INFO] [stdout] 918 | 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:918:20 [INFO] [stdout] | [INFO] [stdout] 918 | 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:934:4 [INFO] [stdout] | [INFO] [stdout] 934 | Treasury::do_try_state(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Treasury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-treasury` (lib test) due to 387 previous errors [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" "d94897688b293e2d1a7b0484961b257b87f5441522801b79649473bd9216ae59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d94897688b293e2d1a7b0484961b257b87f5441522801b79649473bd9216ae59", kill_on_drop: false }` [INFO] [stdout] d94897688b293e2d1a7b0484961b257b87f5441522801b79649473bd9216ae59