[INFO] fetching crate pallet-referenda 42.0.0... [INFO] checking pallet-referenda-42.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pallet-referenda 42.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate pallet-referenda 42.0.0 [INFO] finished tweaking crates.io crate pallet-referenda 42.0.0 [INFO] tweaked toml for crates.io crate pallet-referenda 42.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-referenda 42.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-referenda 42.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92ceedc8abb72263704c3790148b12fd959d53b31799adc4e95dcf50a71f1044 [INFO] running `Command { std: "docker" "start" "-a" "92ceedc8abb72263704c3790148b12fd959d53b31799adc4e95dcf50a71f1044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92ceedc8abb72263704c3790148b12fd959d53b31799adc4e95dcf50a71f1044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92ceedc8abb72263704c3790148b12fd959d53b31799adc4e95dcf50a71f1044", kill_on_drop: false }` [INFO] [stdout] 92ceedc8abb72263704c3790148b12fd959d53b31799adc4e95dcf50a71f1044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02d12ef2e8406baa152756f273bc8cf36ea0ba1298ffbcadcdafdc7f617b7561 [INFO] running `Command { std: "docker" "start" "-a" "02d12ef2e8406baa152756f273bc8cf36ea0ba1298ffbcadcdafdc7f617b7561", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking pallet-referenda v42.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::mock::Test` [INFO] [stdout] --> src/migration.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | mock::{Test as T, *}, [INFO] [stdout] | ^^^^^^^^^ no `Test` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_balances` [INFO] [stdout] --> src/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use pallet_balances::Error as BalancesError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mock::RuntimeOrigin` [INFO] [stdout] --> src/types.rs:821:7 [INFO] [stdout] | [INFO] [stdout] 821 | use crate::mock::RuntimeOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RuntimeOrigin` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] --> src/mock.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | Scheduler: pallet_scheduler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(pallet_balances::TotalIssuance::::get(), 600); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] --> src/tests.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | println!("Agenda #6: {:?}", pallet_scheduler::Agenda::::get(6)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_scheduler`, use `cargo add pallet_scheduler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `RuntimeCall` in `mock` [INFO] [stdout] --> src/tests.rs:580:27 [INFO] [stdout] | [INFO] [stdout] 580 | let call = crate::mock::RuntimeCall::decode(&mut &set_balance_proposal(i)[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ could not find `RuntimeCall` in `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OriginCaller` in this scope [INFO] [stdout] --> src/migration.rs:314:15 [INFO] [stdout] | [INFO] [stdout] 314 | let origin: OriginCaller = frame_system::RawOrigin::Root.into(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] --> src/migration.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | let ongoing_encoded = sp_core::Bytes::from_str("0x00000000012c01082a0000000000000004000100000000000000010000000000000001000000000000000... [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_core`, use `cargo add sp_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 303 + use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 303 + use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 303 + use alloc::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 303 + use frame_support::traits::tokens::asset_ops::common_strategies::Bytes; [INFO] [stdout] | [INFO] [stdout] help: if you import `Bytes`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 333 - let ongoing_encoded = sp_core::Bytes::from_str("0x00000000012c01082a0000000000000004000100000000000000010000000000000001000000000000000a00000000000000000000000000000000000100").unwrap(); [INFO] [stdout] 333 + let ongoing_encoded = Bytes::from_str("0x00000000012c01082a0000000000000004000100000000000000010000000000000001000000000000000a00000000000000000000000000000000000100").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | 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] 38 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | impl Contains for BaseFilter { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 53 | impl Contains for BaseFilter { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | fn contains(call: &RuntimeCall) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 20 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 55 - !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] 55 + !matches!(call, &RuntimeCall::Balances(Call::force_set_balance { .. })) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | 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/mock.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | impl pallet_preimage::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/mock.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub type BalanceOf = [INFO] [stdout] 33 | | <>::Currency as Currency<::AccountId>>::Balance; [INFO] [stdout] | |______________________________________________________________________________________________- similarly named type alias `BalanceOf` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | impl pallet_scheduler::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/mock.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | type RuntimeOrigin = RuntimeOrigin; [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/mock.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | type PalletsOrigin = OriginCaller; [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/mock.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/mock.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | type Preimages = Preimage; [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/mock.rs:86:50 [INFO] [stdout] | [INFO] [stdout] 86 | type BlockNumberProvider = frame_system::Pallet; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 75 | impl pallet_scheduler::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | type RuntimeOrigin = ::PalletsOrigin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 107 | type RuntimeOrigin = ::PalletsOrigin; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 196 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 197 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Scheduler` in this scope [INFO] [stdout] --> src/mock.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | type Scheduler = Scheduler; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 198 | type Scheduler = Self::Scheduler; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/mock.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | type Preimages = Preimage; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | type BlockNumberProvider = System; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:224:45 [INFO] [stdout] | [INFO] [stdout] 224 | 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] 222 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | pallet_balances::GenesisConfig:: { balances, ..Default::default() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 222 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:293:24 [INFO] [stdout] | [INFO] [stdout] 293 | RuntimeCall::Balances(pallet_balances::Call::force_set_balance { who: 42, new_free: value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 20 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 293 - RuntimeCall::Balances(pallet_balances::Call::force_set_balance { who: 42, new_free: value }) [INFO] [stdout] 293 + RuntimeCall::Balances(Call::force_set_balance { who: 42, new_free: value }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:297:66 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn set_balance_proposal_bounded(value: u64) -> BoundedCallOf { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 297 | pub fn set_balance_proposal_bounded(value: u64) -> BoundedCallOf { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let c = RuntimeCall::Balances(pallet_balances::Call::force_set_balance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 20 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 298 - let c = RuntimeCall::Balances(pallet_balances::Call::force_set_balance { [INFO] [stdout] 298 + let c = RuntimeCall::Balances(Call::force_set_balance { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Preimage` in this scope [INFO] [stdout] --> src/mock.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | ::bound(c).unwrap() [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/mock.rs:316:2 [INFO] [stdout] | [INFO] [stdout] 316 | System::set_block_number(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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/mock.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | System::set_block_number(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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/mock.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 317 | Scheduler::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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/mock.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | while System::block_number() < n { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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/mock.rs:328:2 [INFO] [stdout] | [INFO] [stdout] 328 | System::set_block_number(0); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Referenda` in this scope [INFO] [stdout] --> src/mock.rs:340:3 [INFO] [stdout] | [INFO] [stdout] 340 | >::access_poll(index, |status| { [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/mock.rs:348:28 [INFO] [stdout] | [INFO] [stdout] 348 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 347 | pub fn waiting_since(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:355:28 [INFO] [stdout] | [INFO] [stdout] 355 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 354 | pub fn deciding_since(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:365:28 [INFO] [stdout] | [INFO] [stdout] 365 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 364 | pub fn deciding_and_failing_since(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 374 | pub fn confirming_until(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:385:28 [INFO] [stdout] | [INFO] [stdout] 385 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 384 | pub fn approved_since(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:392:28 [INFO] [stdout] | [INFO] [stdout] 392 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 391 | pub fn rejected_since(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:399:28 [INFO] [stdout] | [INFO] [stdout] 399 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 398 | pub fn cancelled_since(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:406:28 [INFO] [stdout] | [INFO] [stdout] 406 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 405 | pub fn killed_since(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:413:28 [INFO] [stdout] | [INFO] [stdout] 413 | match ReferendumInfoFor::::get(i).unwrap() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 412 | pub fn timed_out_since(i: ReferendumIndex) -> u64 { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | ReferendumInfoFor::::get(i), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 419 | fn is_deciding(i: ReferendumIndex) -> bool { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | let index = ReferendumCount::::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] 433 | impl RefState { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | run_to(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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/mock.rs:451:11 [INFO] [stdout] | [INFO] [stdout] 451 | run_to(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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/mock.rs:454:40 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(confirming_until(index), System::block_number() + 2); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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/mock.rs:458:11 [INFO] [stdout] | [INFO] [stdout] 458 | run_to(System::block_number() + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:465:36 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn note_preimage(who: u64) -> ::Hash { [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:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(ReferendumCount::::get(), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | fn params_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(pallet_balances::TotalIssuance::::get(), 600); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | fn params_should_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(ReferendumCount::::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] 38 | fn basic_happy_path_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(DecidingCount::::get(0), 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | fn basic_happy_path_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(DecidingCount::::get(0), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | fn basic_happy_path_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(ReferendumCount::::get(), 5); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn queueing_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(DecidingCount::::get(0), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn queueing_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:211:58 [INFO] [stdout] | [INFO] [stdout] 211 | println!("Agenda #6: {:?}", pallet_scheduler::Agenda::::get(6)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn queueing_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:213:48 [INFO] [stdout] | [INFO] [stdout] 213 | println!("{:?}", Vec::<_>::from(TrackQueue::::get(0))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn queueing_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | assert_eq!(DecidingCount::::get(0), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn queueing_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | println!("{:?}", Vec::<_>::from(TrackQueue::::get(0))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn queueing_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | println!("{:?}", Vec::<_>::from(TrackQueue::::get(0))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 169 | fn queueing_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | ::Preimages::bound(CallOf::::from(Call::nudge_referendum { [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:271:48 [INFO] [stdout] | [INFO] [stdout] 271 | ::Preimages::bound(CallOf::::from(Call::nudge_referendum { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 268 | fn alarm_interval_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | System::set_block_number(now); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | Pallet::::decision_time( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 289 | fn decision_time_is_correct() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:318:39 [INFO] [stdout] | [INFO] [stdout] 318 | assert_matches!(ReferendumInfoFor::::get(0), Some(ReferendumInfo::Ongoing(..))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 308 | fn auto_timeout_should_happen_with_nothing_but_submit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:322:24 [INFO] [stdout] | [INFO] [stdout] 322 | ReferendumInfoFor::::get(0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 308 | fn auto_timeout_should_happen_with_nothing_but_submit() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:347:35 [INFO] [stdout] | [INFO] [stdout] 347 | let mut i = ReferendumInfoFor::::iter().collect::>(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | fn tracks_are_distinguished() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | Error::::NoTrack [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 390 | fn submit_errors_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:412:20 [INFO] [stdout] | [INFO] [stdout] 412 | BalancesError::::InsufficientBalance [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 390 | fn submit_errors_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:420:19 [INFO] [stdout] | [INFO] [stdout] 420 | let e = Error::::NotOngoing; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 418 | fn decision_deposit_errors_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:430:27 [INFO] [stdout] | [INFO] [stdout] 430 | let e = BalancesError::::InsufficientBalance; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 418 | fn decision_deposit_errors_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:434:19 [INFO] [stdout] | [INFO] [stdout] 434 | let e = Error::::HasDeposit; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 418 | fn decision_deposit_errors_work() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:442:19 [INFO] [stdout] | [INFO] [stdout] 442 | let e = Error::::BadReferendum; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 440 | fn refund_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:452:19 [INFO] [stdout] | [INFO] [stdout] 452 | let e = Error::::NoDeposit; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 440 | fn refund_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:456:19 [INFO] [stdout] | [INFO] [stdout] 456 | let e = Error::::Unfinished; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 440 | fn refund_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:468:19 [INFO] [stdout] | [INFO] [stdout] 468 | let e = Error::::BadReferendum; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 465 | fn refund_submission_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:479:19 [INFO] [stdout] | [INFO] [stdout] 479 | let e = Error::::BadStatus; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 465 | fn refund_submission_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:486:19 [INFO] [stdout] | [INFO] [stdout] 486 | let e = Error::::NoDeposit; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 465 | fn refund_submission_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:497:19 [INFO] [stdout] | [INFO] [stdout] 497 | let e = Error::::NoDeposit; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 465 | fn refund_submission_deposit_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:535:72 [INFO] [stdout] | [INFO] [stdout] 535 | assert_noop!(Referenda::cancel(RuntimeOrigin::signed(4), 0), Error::::NotOngoing); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 522 | fn cancel_errors_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:553:19 [INFO] [stdout] | [INFO] [stdout] 553 | let e = Error::::NoDeposit; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 540 | fn kill_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:573:67 [INFO] [stdout] | [INFO] [stdout] 573 | assert_noop!(Referenda::kill(RuntimeOrigin::root(), 0), Error::::NotOngoing); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 560 | fn kill_errors_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | assert!(!::BaseCallFilter::contains(&call)); [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:604:22 [INFO] [stdout] | [INFO] [stdout] 604 | let invalid_hash: ::Hash = [1u8; 32].into(); [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:612:33 [INFO] [stdout] | [INFO] [stdout] 612 | let index = ReferendumCount::::get() - 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn set_metadata_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 616 | Error::::NotOngoing, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn set_metadata_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:625:33 [INFO] [stdout] | [INFO] [stdout] 625 | let index = ReferendumCount::::get() - 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn set_metadata_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:628:12 [INFO] [stdout] | [INFO] [stdout] 628 | Error::::NoPermission, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn set_metadata_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:631:33 [INFO] [stdout] | [INFO] [stdout] 631 | let index = ReferendumCount::::get() - 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn set_metadata_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:634:12 [INFO] [stdout] | [INFO] [stdout] 634 | Error::::PreimageNotExist, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn set_metadata_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:637:33 [INFO] [stdout] | [INFO] [stdout] 637 | let index = ReferendumCount::::get() - 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn set_metadata_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::assert_last_event(RuntimeEvent::Referenda(crate::Event::MetadataSet { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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:657:33 [INFO] [stdout] | [INFO] [stdout] 657 | let index = ReferendumCount::::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] 648 | fn clear_metadata_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:661:12 [INFO] [stdout] | [INFO] [stdout] 661 | Error::::NoPermission, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 648 | fn clear_metadata_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:664:3 [INFO] [stdout] | [INFO] [stdout] 664 | System::assert_last_event(RuntimeEvent::Referenda(crate::Event::MetadataCleared { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + 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:682:12 [INFO] [stdout] | [INFO] [stdout] 682 | Error::::PreimageStoredWithDifferentLength [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 672 | fn detects_incorrect_len() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/tests.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | pallet_balances::Call::transfer_keep_alive { dest: 42, value: 20 }.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 20 + use crate::Call; [INFO] [stdout] | [INFO] [stdout] 20 + use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] help: if you import `Call`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 696 - pallet_balances::Call::transfer_keep_alive { dest: 42, value: 20 }.into() [INFO] [stdout] 696 + Call::transfer_keep_alive { dest: 42, value: 20 }.into() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:702:32 [INFO] [stdout] | [INFO] [stdout] 702 | assert_eq!(ReferendumCount::::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] 689 | fn zero_enactment_delay_executes_proposal_at_next_block() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::str::FromStr` [INFO] [stdout] --> src/migration.rs:310:6 [INFO] [stdout] | [INFO] [stdout] 310 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OnInitialize` [INFO] [stdout] --> src/mock.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | ConstU32, ConstU64, Contains, EqualPrivilegeOnly, OnInitialize, OriginTrait, Polling, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codec::Decode` [INFO] [stdout] --> src/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use codec::Decode; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/mock.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_preimage` [INFO] [stdout] --> src/mock.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | impl pallet_preimage::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_preimage` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_preimage`, use `cargo add pallet_preimage` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] --> src/mock.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | impl pallet_scheduler::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_scheduler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_scheduler`, use `cargo add pallet_scheduler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | type Currency = pallet_balances::Pallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:226:3 [INFO] [stdout] | [INFO] [stdout] 226 | pallet_balances::GenesisConfig:: { balances, ..Default::default() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/mock.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | Referenda::do_try_state().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeCall` [INFO] [stdout] --> src/mock.rs:293:2 [INFO] [stdout] | [INFO] [stdout] 293 | RuntimeCall::Balances(pallet_balances::Call::force_set_balance { who: 42, new_free: value }) [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/mock.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | let c = RuntimeCall::Balances(pallet_balances::Call::force_set_balance { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RuntimeCall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/mock.rs:307:2 [INFO] [stdout] | [INFO] [stdout] 307 | Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:308:3 [INFO] [stdout] | [INFO] [stdout] 308 | RuntimeOrigin::signed(who), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scheduler` [INFO] [stdout] --> src/mock.rs:317:2 [INFO] [stdout] | [INFO] [stdout] 317 | Scheduler::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/mock.rs:336:2 [INFO] [stdout] | [INFO] [stdout] 336 | Referenda::ensure_ongoing(r).unwrap().tally [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/mock.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 435 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:436:4 [INFO] [stdout] | [INFO] [stdout] 436 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/mock.rs:441:14 [INFO] [stdout] | [INFO] [stdout] 441 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:441:48 [INFO] [stdout] | [INFO] [stdout] 441 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/mock.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(who), data.clone())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/mock.rs:470:37 [INFO] [stdout] | [INFO] [stdout] 470 | assert_ok!(Preimage::note_preimage(RuntimeOrigin::signed(who), data.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/mock.rs:472:11 [INFO] [stdout] | [INFO] [stdout] 472 | assert!(!Preimage::is_requested(&hash)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(Balances::free_balance(42), 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 `Referenda` [INFO] [stdout] --> src/tests.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | RuntimeOrigin::signed(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:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(Balances::reserved_balance(&1), 2); [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 `Referenda` [INFO] [stdout] --> src/tests.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | assert_ok!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | assert_ok!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(Balances::free_balance(&42), 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:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(Balances::free_balance(&42), 1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Balances` [INFO] [stdout] | help: a type alias with a similar name exists: `BalanceOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | assert_ok!(Referenda::kill(RuntimeOrigin::root(), r)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | assert_ok!(Referenda::kill(RuntimeOrigin::root(), r)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | RuntimeOrigin::signed(5), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:178:14 [INFO] [stdout] | [INFO] [stdout] 178 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(5), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(5), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | RuntimeOrigin::signed(i), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(i), i as u32)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:192:49 [INFO] [stdout] | [INFO] [stdout] 192 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(i), i as u32)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | assert_ok!(Referenda::cancel(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:216:32 [INFO] [stdout] | [INFO] [stdout] 216 | assert_ok!(Referenda::cancel(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:281:22 [INFO] [stdout] | [INFO] [stdout] 281 | let (actual, _) = Referenda::set_alarm(call.clone(), when).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:332:4 [INFO] [stdout] | [INFO] [stdout] 332 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | RuntimeOrigin::signed(2), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:344:14 [INFO] [stdout] | [INFO] [stdout] 344 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(3), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:344:48 [INFO] [stdout] | [INFO] [stdout] 344 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(3), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:345:14 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(4), 1)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:345:48 [INFO] [stdout] | [INFO] [stdout] 345 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(4), 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OriginCaller` [INFO] [stdout] --> src/tests.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 356 | origin: OriginCaller::system(RawOrigin::Root), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OriginCaller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OriginCaller` [INFO] [stdout] --> src/tests.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | origin: OriginCaller::system(RawOrigin::None), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OriginCaller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | 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 `Referenda` [INFO] [stdout] --> src/tests.rs:421:16 [INFO] [stdout] | [INFO] [stdout] 421 | assert_noop!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:421:50 [INFO] [stdout] | [INFO] [stdout] 421 | assert_noop!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:424:14 [INFO] [stdout] | [INFO] [stdout] 424 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:431:16 [INFO] [stdout] | [INFO] [stdout] 431 | assert_noop!(Referenda::place_decision_deposit(RuntimeOrigin::signed(10), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:431:50 [INFO] [stdout] | [INFO] [stdout] 431 | assert_noop!(Referenda::place_decision_deposit(RuntimeOrigin::signed(10), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:433:48 [INFO] [stdout] | [INFO] [stdout] 433 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:435:16 [INFO] [stdout] | [INFO] [stdout] 435 | assert_noop!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:435:50 [INFO] [stdout] | [INFO] [stdout] 435 | assert_noop!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 443 | assert_noop!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(1), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:443:51 [INFO] [stdout] | [INFO] [stdout] 443 | assert_noop!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(1), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:446:14 [INFO] [stdout] | [INFO] [stdout] 446 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:447:4 [INFO] [stdout] | [INFO] [stdout] 447 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:453:16 [INFO] [stdout] | [INFO] [stdout] 453 | assert_noop!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:453:51 [INFO] [stdout] | [INFO] [stdout] 453 | assert_noop!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:455:14 [INFO] [stdout] | [INFO] [stdout] 455 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:455:48 [INFO] [stdout] | [INFO] [stdout] 455 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:457:16 [INFO] [stdout] | [INFO] [stdout] 457 | assert_noop!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(3), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:457:51 [INFO] [stdout] | [INFO] [stdout] 457 | assert_noop!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(3), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:460:14 [INFO] [stdout] | [INFO] [stdout] 460 | assert_ok!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(3), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:460:49 [INFO] [stdout] | [INFO] [stdout] 460 | assert_ok!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(3), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:469:16 [INFO] [stdout] | [INFO] [stdout] 469 | assert_noop!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(1), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:469:53 [INFO] [stdout] | [INFO] [stdout] 469 | assert_noop!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(1), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:472:14 [INFO] [stdout] | [INFO] [stdout] 472 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:473:4 [INFO] [stdout] | [INFO] [stdout] 473 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:480:16 [INFO] [stdout] | [INFO] [stdout] 480 | assert_noop!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(3), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:480:53 [INFO] [stdout] | [INFO] [stdout] 480 | assert_noop!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(3), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:482:14 [INFO] [stdout] | [INFO] [stdout] 482 | assert_ok!(Referenda::cancel(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:482:32 [INFO] [stdout] | [INFO] [stdout] 482 | assert_ok!(Referenda::cancel(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:484:14 [INFO] [stdout] | [INFO] [stdout] 484 | assert_ok!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(3), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:484:51 [INFO] [stdout] | [INFO] [stdout] 484 | assert_ok!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(3), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 487 | assert_noop!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:487:53 [INFO] [stdout] | [INFO] [stdout] 487 | assert_noop!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:489:14 [INFO] [stdout] | [INFO] [stdout] 489 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:490:4 [INFO] [stdout] | [INFO] [stdout] 490 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ok!(Referenda::kill(RuntimeOrigin::root(), 1)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:496:30 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ok!(Referenda::kill(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 `Referenda` [INFO] [stdout] --> src/tests.rs:498:16 [INFO] [stdout] | [INFO] [stdout] 498 | assert_noop!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:498:53 [INFO] [stdout] | [INFO] [stdout] 498 | assert_noop!(Referenda::refund_submission_deposit(RuntimeOrigin::signed(2), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:506:14 [INFO] [stdout] | [INFO] [stdout] 506 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:507:4 [INFO] [stdout] | [INFO] [stdout] 507 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:512:14 [INFO] [stdout] | [INFO] [stdout] 512 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:512:48 [INFO] [stdout] | [INFO] [stdout] 512 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:515:14 [INFO] [stdout] | [INFO] [stdout] 515 | assert_ok!(Referenda::cancel(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:515:32 [INFO] [stdout] | [INFO] [stdout] 515 | assert_ok!(Referenda::cancel(RuntimeOrigin::signed(4), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:516:14 [INFO] [stdout] | [INFO] [stdout] 516 | assert_ok!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(3), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:516:49 [INFO] [stdout] | [INFO] [stdout] 516 | assert_ok!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(3), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:525:14 [INFO] [stdout] | [INFO] [stdout] 525 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:526:4 [INFO] [stdout] | [INFO] [stdout] 526 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:531:14 [INFO] [stdout] | [INFO] [stdout] 531 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:531:48 [INFO] [stdout] | [INFO] [stdout] 531 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:532:16 [INFO] [stdout] | [INFO] [stdout] 532 | assert_noop!(Referenda::cancel(RuntimeOrigin::signed(1), 0), BadOrigin); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:532:34 [INFO] [stdout] | [INFO] [stdout] 532 | assert_noop!(Referenda::cancel(RuntimeOrigin::signed(1), 0), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:535:16 [INFO] [stdout] | [INFO] [stdout] 535 | assert_noop!(Referenda::cancel(RuntimeOrigin::signed(4), 0), Error::::NotOngoing); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:535:34 [INFO] [stdout] | [INFO] [stdout] 535 | assert_noop!(Referenda::cancel(RuntimeOrigin::signed(4), 0), Error::::NotOngoing); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:543:14 [INFO] [stdout] | [INFO] [stdout] 543 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:544:4 [INFO] [stdout] | [INFO] [stdout] 544 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:549:14 [INFO] [stdout] | [INFO] [stdout] 549 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:549:48 [INFO] [stdout] | [INFO] [stdout] 549 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:552:14 [INFO] [stdout] | [INFO] [stdout] 552 | assert_ok!(Referenda::kill(RuntimeOrigin::root(), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [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!(Referenda::kill(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 `Referenda` [INFO] [stdout] --> src/tests.rs:554:16 [INFO] [stdout] | [INFO] [stdout] 554 | assert_noop!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(3), 0), e); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:554:51 [INFO] [stdout] | [INFO] [stdout] 554 | assert_noop!(Referenda::refund_decision_deposit(RuntimeOrigin::signed(3), 0), e); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:563:14 [INFO] [stdout] | [INFO] [stdout] 563 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:564:4 [INFO] [stdout] | [INFO] [stdout] 564 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:569:14 [INFO] [stdout] | [INFO] [stdout] 569 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:569:48 [INFO] [stdout] | [INFO] [stdout] 569 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(2), 0)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:570:16 [INFO] [stdout] | [INFO] [stdout] 570 | assert_noop!(Referenda::kill(RuntimeOrigin::signed(4), 0), BadOrigin); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:570:32 [INFO] [stdout] | [INFO] [stdout] 570 | assert_noop!(Referenda::kill(RuntimeOrigin::signed(4), 0), BadOrigin); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:573:16 [INFO] [stdout] | [INFO] [stdout] 573 | assert_noop!(Referenda::kill(RuntimeOrigin::root(), 0), Error::::NotOngoing); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:573:32 [INFO] [stdout] | [INFO] [stdout] 573 | assert_noop!(Referenda::kill(RuntimeOrigin::root(), 0), Error::::NotOngoing); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:606:14 [INFO] [stdout] | [INFO] [stdout] 606 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:607:4 [INFO] [stdout] | [INFO] [stdout] 607 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:613:14 [INFO] [stdout] | [INFO] [stdout] 613 | assert_ok!(Referenda::kill(RuntimeOrigin::root(), index)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:613:30 [INFO] [stdout] | [INFO] [stdout] 613 | assert_ok!(Referenda::kill(RuntimeOrigin::root(), index)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:615:4 [INFO] [stdout] | [INFO] [stdout] 615 | Referenda::set_metadata(RuntimeOrigin::signed(1), index, Some(invalid_hash)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:615:28 [INFO] [stdout] | [INFO] [stdout] 615 | Referenda::set_metadata(RuntimeOrigin::signed(1), index, Some(invalid_hash)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:619:14 [INFO] [stdout] | [INFO] [stdout] 619 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:620:4 [INFO] [stdout] | [INFO] [stdout] 620 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:627:4 [INFO] [stdout] | [INFO] [stdout] 627 | Referenda::set_metadata(RuntimeOrigin::signed(2), index, Some(invalid_hash)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:627:28 [INFO] [stdout] | [INFO] [stdout] 627 | Referenda::set_metadata(RuntimeOrigin::signed(2), index, Some(invalid_hash)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:633:4 [INFO] [stdout] | [INFO] [stdout] 633 | Referenda::set_metadata(RuntimeOrigin::signed(1), index, Some(invalid_hash)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | Referenda::set_metadata(RuntimeOrigin::signed(1), index, Some(invalid_hash)), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | assert_ok!(Referenda::set_metadata(RuntimeOrigin::signed(1), index, Some(hash))); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:639:38 [INFO] [stdout] | [INFO] [stdout] 639 | assert_ok!(Referenda::set_metadata(RuntimeOrigin::signed(1), index, Some(hash))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:640:29 [INFO] [stdout] | [INFO] [stdout] 640 | System::assert_last_event(RuntimeEvent::Referenda(crate::Event::MetadataSet { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:651:14 [INFO] [stdout] | [INFO] [stdout] 651 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:652:4 [INFO] [stdout] | [INFO] [stdout] 652 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:658:14 [INFO] [stdout] | [INFO] [stdout] 658 | assert_ok!(Referenda::set_metadata(RuntimeOrigin::signed(1), index, Some(hash))); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:658:38 [INFO] [stdout] | [INFO] [stdout] 658 | assert_ok!(Referenda::set_metadata(RuntimeOrigin::signed(1), index, Some(hash))); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:660:4 [INFO] [stdout] | [INFO] [stdout] 660 | Referenda::set_metadata(RuntimeOrigin::signed(2), index, None), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:660:28 [INFO] [stdout] | [INFO] [stdout] 660 | Referenda::set_metadata(RuntimeOrigin::signed(2), index, None), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:663:14 [INFO] [stdout] | [INFO] [stdout] 663 | assert_ok!(Referenda::set_metadata(RuntimeOrigin::signed(1), index, None),); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:663:38 [INFO] [stdout] | [INFO] [stdout] 663 | assert_ok!(Referenda::set_metadata(RuntimeOrigin::signed(1), index, None),); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeEvent` [INFO] [stdout] --> src/tests.rs:664:29 [INFO] [stdout] | [INFO] [stdout] 664 | System::assert_last_event(RuntimeEvent::Referenda(crate::Event::MetadataCleared { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RuntimeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:676:4 [INFO] [stdout] | [INFO] [stdout] 676 | Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:677:5 [INFO] [stdout] | [INFO] [stdout] 677 | RuntimeOrigin::signed(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:691:14 [INFO] [stdout] | [INFO] [stdout] 691 | assert_eq!(Balances::free_balance(42), 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 `Referenda` [INFO] [stdout] --> src/tests.rs:692:14 [INFO] [stdout] | [INFO] [stdout] 692 | assert_ok!(Referenda::submit( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:693:4 [INFO] [stdout] | [INFO] [stdout] 693 | RuntimeOrigin::signed(1), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Preimage` [INFO] [stdout] --> src/tests.rs:695:4 [INFO] [stdout] | [INFO] [stdout] 695 | Preimage::bound( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Preimage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referenda` [INFO] [stdout] --> src/tests.rs:701:14 [INFO] [stdout] | [INFO] [stdout] 701 | assert_ok!(Referenda::place_decision_deposit(RuntimeOrigin::signed(1), 0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Referenda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:701:48 [INFO] [stdout] | [INFO] [stdout] 701 | assert_ok!(Referenda::place_decision_deposit(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 `Balances` [INFO] [stdout] --> src/tests.rs:707:14 [INFO] [stdout] | [INFO] [stdout] 707 | assert_eq!(Balances::free_balance(42), 20); [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] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-referenda` (lib test) due to 280 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "02d12ef2e8406baa152756f273bc8cf36ea0ba1298ffbcadcdafdc7f617b7561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d12ef2e8406baa152756f273bc8cf36ea0ba1298ffbcadcdafdc7f617b7561", kill_on_drop: false }` [INFO] [stdout] 02d12ef2e8406baa152756f273bc8cf36ea0ba1298ffbcadcdafdc7f617b7561