[INFO] fetching crate pallet-beefy 43.0.0... [INFO] checking pallet-beefy-43.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-beefy 43.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pallet-beefy 43.0.0 [INFO] finished tweaking crates.io crate pallet-beefy 43.0.0 [INFO] tweaked toml for crates.io crate pallet-beefy 43.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-beefy 43.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-beefy 43.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-consensus-beefy v26.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aca7ab8904ae7e2a612893b080d8b6e3ecc8d25c5de0b600cf61189e6018a326 [INFO] running `Command { std: "docker" "start" "-a" "aca7ab8904ae7e2a612893b080d8b6e3ecc8d25c5de0b600cf61189e6018a326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aca7ab8904ae7e2a612893b080d8b6e3ecc8d25c5de0b600cf61189e6018a326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca7ab8904ae7e2a612893b080d8b6e3ecc8d25c5de0b600cf61189e6018a326", kill_on_drop: false }` [INFO] [stdout] aca7ab8904ae7e2a612893b080d8b6e3ecc8d25c5de0b600cf61189e6018a326 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c490a7bf744910a315c55d50174d9e48da53a9c397a10f3ffccfa59f9fed61b [INFO] running `Command { std: "docker" "start" "-a" "9c490a7bf744910a315c55d50174d9e48da53a9c397a10f3ffccfa59f9fed61b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.9.0 [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 semver v1.0.18 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking memory-db v0.34.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 regex v1.11.1 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Checking polkadot-ckb-merkle-mountain-range v0.8.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [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] Compiling aquamarine v0.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [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] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.8 [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 substrate-bip39 v0.6.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking 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-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking sp-session v40.0.0 [INFO] [stderr] Checking sp-mmr-primitives v38.0.0 [INFO] [stderr] Checking sp-consensus-beefy v26.0.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking sp-timestamp v38.0.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking pallet-balances v43.0.0 [INFO] [stderr] Checking pallet-timestamp v41.0.0 [INFO] [stderr] Checking pallet-authorship v42.0.0 [INFO] [stderr] Checking pallet-session v42.0.0 [INFO] [stderr] Checking pallet-beefy v43.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use frame_election_provider_support::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical` [INFO] [stdout] --> src/mock.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use pallet_session::historical as pallet_session_historical; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-42.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_core` [INFO] [stdout] --> src/mock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use sp_core::{crypto::KeyTypeId, ConstBool, ConstU128}; [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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use frame_election_provider_support::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use sp_core::{crypto::KeyTypeId, ConstBool, ConstU128}; [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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_state_machine` [INFO] [stdout] --> src/mock.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use sp_state_machine::BasicExternalities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `sp_state_machine` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_state_machine`, use `cargo add sp_state_machine` 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_staking` [INFO] [stdout] --> src/mock.rs:249:15 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive_impl(pallet_staking::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking_reward_curve` [INFO] [stdout] --> src/mock.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 219 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking_reward_curve` [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:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | #[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: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-42.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-42.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | type IdentificationTuple = pallet_session::historical::IdentificationTuple; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-42.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | force_era: pallet_staking::Forcing::ForceNew, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` 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_staking` [INFO] [stdout] --> src/mock.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(era_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` 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_staking` [INFO] [stdout] --> src/tests.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` 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_staking` [INFO] [stdout] --> src/tests.rs:1016:14 [INFO] [stdout] | [INFO] [stdout] 1016 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub dummy: pallet_beefy::Pallet, [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:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | pub dummy: pallet_beefy::Pallet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sp-runtime-43.0.0/src/traits/mod.rs:2100:19 [INFO] [stdout] | [INFO] [stdout] 210| pub struct $name { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | 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:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[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:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[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:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[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:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[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] 18 + 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:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[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:76:62 [INFO] [stdout] | [INFO] [stdout] 76 | impl frame_system::offchain::CreateTransactionBase 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:78:2 [INFO] [stdout] | [INFO] [stdout] 78 | RuntimeCall: From, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 78 | Self::RuntimeCall: From, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 80 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | type Extrinsic = TestXt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 81 | type Extrinsic = TestXt; [INFO] [stdout] | ++++++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | impl frame_system::offchain::CreateTransactionBase for Test [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:84:51 [INFO] [stdout] | [INFO] [stdout] 84 | impl frame_system::offchain::CreateBare 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:86:2 [INFO] [stdout] | [INFO] [stdout] 86 | RuntimeCall: From, [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:148:65 [INFO] [stdout] | [INFO] [stdout] 148 | fn is_proof_optimal(_proof: &>>::Proof) -> Weight { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 147 | impl AncestryHelperWeightInfo
for MockAncestryHelper { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:156:65 [INFO] [stdout] | [INFO] [stdout] 156 | fn is_non_canonical(_proof: &>>::Proof) -> Weight { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 147 | impl AncestryHelperWeightInfo
for MockAncestryHelper { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | impl pallet_beefy::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/mock.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | type KeyOwnerProof = >::Proof; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Offences` in this scope [INFO] [stdout] --> src/mock.rs:171:41 [INFO] [stdout] | [INFO] [stdout] 171 | super::EquivocationReportSystem; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 161 | impl pallet_beefy::Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/mock.rs:171:51 [INFO] [stdout] | [INFO] [stdout] 171 | super::EquivocationReportSystem; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 161 | impl pallet_beefy::Config for Test { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | impl pallet_session::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:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 179 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:184:77 [INFO] [stdout] | [INFO] [stdout] 184 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 184 - type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] 184 + type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 178 | impl pallet_session::Config for Test { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] ... [INFO] [stdout] 204 | type Balance = u128; [INFO] [stdout] | -------------------- similarly named type alias `Balance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:193:45 [INFO] [stdout] | [INFO] [stdout] 193 | impl pallet_session::historical::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:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | type RuntimeEvent = RuntimeEvent; [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:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope [INFO] [stdout] --> src/mock.rs:233:62 [INFO] [stdout] | [INFO] [stdout] 233 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; [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:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | type System = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:265:34 [INFO] [stdout] | [INFO] [stdout] 265 | impl pallet_offences::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:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:268:26 [INFO] [stdout] | [INFO] [stdout] 268 | type OnOffenceHandler = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] --> src/mock.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn build(self) -> sp_io::TestExternalities { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `sp_io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_io`, use `cargo add sp_io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/mock.rs:285:3 [INFO] [stdout] | [INFO] [stdout] 285 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 285 - sp_tracing::try_init_simple(); [INFO] [stdout] 285 + sp_staking::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 286 | 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] 276 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:291:36 [INFO] [stdout] | [INFO] [stdout] 291 | 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] 276 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:304:28 [INFO] [stdout] | [INFO] [stdout] 304 | frame_system::Pallet::::inc_providers(id); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 276 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:308:35 [INFO] [stdout] | [INFO] [stdout] 308 | pallet_session::GenesisConfig:: { keys: session_keys, ..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] 276 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:314:42 [INFO] [stdout] | [INFO] [stdout] 314 | .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::::Validator)) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 18 + use sp_staking::StakerStatus; [INFO] [stdout] | [INFO] [stdout] help: if you import `StakerStatus`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 314 - .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::::Validator)) [INFO] [stdout] 314 + .map(|i| (i as u64, i as u64, 10_000, StakerStatus::::Validator)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:317:56 [INFO] [stdout] | [INFO] [stdout] 317 | let staking_config = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 276 | 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:357:3 [INFO] [stdout] | [INFO] [stdout] 357 | System::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:357:23 [INFO] [stdout] | [INFO] [stdout] 357 | System::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:358:24 [INFO] [stdout] | [INFO] [stdout] 358 | Session::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:359:24 [INFO] [stdout] | [INFO] [stdout] 359 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:360:22 [INFO] [stdout] | [INFO] [stdout] 360 | Beefy::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | let parent_hash = if System::block_number() > 1 { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:363:14 [INFO] [stdout] | [INFO] [stdout] 363 | let hdr = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:366:4 [INFO] [stdout] | [INFO] [stdout] 366 | System::parent_hash() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:370:3 [INFO] [stdout] | [INFO] [stdout] 370 | System::initialize(&(i as u64 + 1), &parent_hash, &Default::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:371:3 [INFO] [stdout] | [INFO] [stdout] 371 | System::set_block_number((i + 1).into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/mock.rs:372:3 [INFO] [stdout] | [INFO] [stdout] 372 | Timestamp::set_timestamp(System::block_number() * 6000); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:372:28 [INFO] [stdout] | [INFO] [stdout] 372 | Timestamp::set_timestamp(System::block_number() * 6000); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:374:3 [INFO] [stdout] | [INFO] [stdout] 374 | System::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] 18 + 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:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | System::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] 18 + 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:375:26 [INFO] [stdout] | [INFO] [stdout] 375 | Session::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] 18 + 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:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | Staking::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] 18 + 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:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | Beefy::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] 18 + 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:385:42 [INFO] [stdout] | [INFO] [stdout] 385 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(era_index)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 383 | pub fn start_era(era_index: EraIndex) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 44 | System::set_block_number(block); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | let authorities = beefy::Authorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 55 | fn genesis_session_initializes_authorities() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | assert!(beefy::ValidatorSetId::::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] 55 | fn genesis_session_initializes_authorities() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | let next_authorities = beefy::NextAuthorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 55 | fn genesis_session_initializes_authorities() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(0 == beefy::ValidatorSetId::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | fn session_change_updates_authorities() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(1 == beefy::ValidatorSetId::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | fn session_change_updates_authorities() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | let log = System::digest().logs[0].clone(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | assert!(2 == beefy::ValidatorSetId::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | fn session_change_updates_authorities() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | let log = System::digest().logs[1].clone(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:117:52 [INFO] [stdout] | [INFO] [stdout] 117 | let next_authorities = beefy::NextAuthorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn session_change_updates_next_authorities() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:127:52 [INFO] [stdout] | [INFO] [stdout] 127 | let next_authorities = beefy::NextAuthorities::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 111 | fn session_change_updates_next_authorities() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | assert!(beefy::SetIdSession::::get(i as u64).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 183 | fn cleans_up_old_set_id_session_mappings() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | assert!(beefy::SetIdSession::::get(i as u64).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 183 | fn cleans_up_old_set_id_session_mappings() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(beefy::SetIdSession::::get(i as u64).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 183 | fn cleans_up_old_set_id_session_mappings() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:326:43 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 317 | fn report_equivocation_current_set_works( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:331:19 [INFO] [stdout] | [INFO] [stdout] 331 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:421:19 [INFO] [stdout] | [INFO] [stdout] 421 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:513:19 [INFO] [stdout] | [INFO] [stdout] 513 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | Error::::InvalidEquivocationProofSession, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 507 | fn report_equivocation_invalid_set_id(mut f: impl ReportEquivocationFn) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:538:19 [INFO] [stdout] | [INFO] [stdout] 538 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:557:12 [INFO] [stdout] | [INFO] [stdout] 557 | Error::::InvalidEquivocationProofSession, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 532 | fn report_equivocation_invalid_session(mut f: impl ReportEquivocationFn) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:592:12 [INFO] [stdout] | [INFO] [stdout] 592 | Error::::InvalidKeyOwnershipProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 562 | fn report_equivocation_invalid_key_owner_proof(mut f: impl ReportEquivocationFn) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:603:19 [INFO] [stdout] | [INFO] [stdout] 603 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:671:19 [INFO] [stdout] | [INFO] [stdout] 671 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | Error::::InvalidDoubleVotingProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 665 | fn report_double_voting_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:744:19 [INFO] [stdout] | [INFO] [stdout] 744 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 770 | ::validate_unsigned( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:781:5 [INFO] [stdout] | [INFO] [stdout] 781 | ::validate_unsigned( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:795:15 [INFO] [stdout] | [INFO] [stdout] 795 | assert_ok!(::pre_dispatch(&call)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:808:5 [INFO] [stdout] | [INFO] [stdout] 808 | ::validate_unsigned( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:816:5 [INFO] [stdout] | [INFO] [stdout] 816 | ::pre_dispatch(&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:827:23 [INFO] [stdout] | [INFO] [stdout] 827 | .map(|validators| <::WeightInfo as WeightInfoExt>::report_double_voting( [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:837:23 [INFO] [stdout] | [INFO] [stdout] 837 | .map(|validators| <::WeightInfo as WeightInfoExt>::report_double_voting( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:862:3 [INFO] [stdout] | [INFO] [stdout] 862 | System::finalize(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:906:19 [INFO] [stdout] | [INFO] [stdout] 906 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:932:4 [INFO] [stdout] | [INFO] [stdout] 932 | System::finalize(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:940:12 [INFO] [stdout] | [INFO] [stdout] 940 | Error::::InvalidForkVotingProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 898 | fn report_fork_voting_non_optimal_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:954:19 [INFO] [stdout] | [INFO] [stdout] 954 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:980:4 [INFO] [stdout] | [INFO] [stdout] 980 | System::finalize(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:988:12 [INFO] [stdout] | [INFO] [stdout] 988 | Error::::InvalidKeyOwnershipProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 946 | fn report_fork_voting_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:995:4 [INFO] [stdout] | [INFO] [stdout] 995 | System::finalize(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:1003:12 [INFO] [stdout] | [INFO] [stdout] 1003 | Error::::InvalidForkVotingProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 946 | fn report_fork_voting_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1016:43 [INFO] [stdout] | [INFO] [stdout] 1016 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1009 | fn report_fork_voting_invalid_context() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1020:19 [INFO] [stdout] | [INFO] [stdout] 1020 | let block_num = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1056:4 [INFO] [stdout] | [INFO] [stdout] 1056 | System::finalize(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:1071:12 [INFO] [stdout] | [INFO] [stdout] 1071 | Error::::InvalidForkVotingProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1009 | fn report_fork_voting_invalid_context() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1082:12 [INFO] [stdout] | [INFO] [stdout] 1082 | Error::::InvalidForkVotingProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1009 | fn report_fork_voting_invalid_context() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1177:12 [INFO] [stdout] | [INFO] [stdout] 1177 | Error::::InvalidFutureBlockVotingProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1144 | fn report_future_block_voting_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1197:18 [INFO] [stdout] | [INFO] [stdout] 1197 | let expected = System::block_number() + new_genesis_delay; [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:1199:36 [INFO] [stdout] | [INFO] [stdout] 1199 | assert_eq!(beefy::GenesisBlock::::get(), Some(expected)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1188 | fn set_new_genesis_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1204:12 [INFO] [stdout] | [INFO] [stdout] 1204 | Error::::InvalidConfiguration, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1188 | fn set_new_genesis_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OnFinalize` and `OnInitialize` [INFO] [stdout] --> src/mock.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | traits::{ConstU32, ConstU64, KeyOwnerProofSystem, OnFinalize, OnInitialize}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Currency`, `KeyOwnerProofSystem`, and `OnInitialize` [INFO] [stdout] --> src/tests.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | traits::{Currency, KeyOwnerProofSystem, OnInitialize}, [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:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | 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_staking` [INFO] [stdout] --> src/mock.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | type FullIdentificationOf = pallet_staking::UnitIdentificationOf; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` 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_timestamp` [INFO] [stdout] --> src/mock.rs:212:6 [INFO] [stdout] | [INFO] [stdout] 212 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_timestamp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_timestamp`, use `cargo add pallet_timestamp` 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_offences` [INFO] [stdout] --> src/mock.rs:265:6 [INFO] [stdout] | [INFO] [stdout] 265 | impl pallet_offences::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_offences` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_offences`, use `cargo add pallet_offences` 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:291:3 [INFO] [stdout] | [INFO] [stdout] 291 | 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 unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | let staking_config = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/mock.rs:334:4 [INFO] [stdout] | [INFO] [stdout] 334 | Beefy::do_try_state().expect("All invariants must hold after a test"); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | for i in Session::current_index()..session_index { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:358:3 [INFO] [stdout] | [INFO] [stdout] 358 | Session::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:359:3 [INFO] [stdout] | [INFO] [stdout] 359 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/mock.rs:360:3 [INFO] [stdout] | [INFO] [stdout] 360 | Beefy::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | Session::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:376:3 [INFO] [stdout] | [INFO] [stdout] 376 | Staking::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/mock.rs:377:3 [INFO] [stdout] | [INFO] [stdout] 377 | Beefy::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Session::current_index(), session_index); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | Staking::on_initialize(block); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | Session::on_initialize(block); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let vs = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let vs = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let vs = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let vs = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:310:2 [INFO] [stdout] | [INFO] [stdout] 310 | Beefy::report_double_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:311:3 [INFO] [stdout] | [INFO] [stdout] 311 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | assert_eq!(Session::current_index(), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:339:15 [INFO] [stdout] | [INFO] [stdout] 339 | assert_eq!(Balances::total_balance(validator), initial_balance); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:340:15 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | Staking::eras_stakers(1, &validator), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | Balances::total_balance(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | Staking::slashable_balance_of(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | Balances::total_balance(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | Staking::eras_stakers(2, &equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | pallet_staking::Exposure { total: 0, own: 0, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | assert_eq!(Balances::total_balance(validator), initial_balance); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | Staking::eras_stakers(2, &validator), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:422:23 [INFO] [stdout] | [INFO] [stdout] 422 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:432:25 [INFO] [stdout] | [INFO] [stdout] 432 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:438:15 [INFO] [stdout] | [INFO] [stdout] 438 | assert_eq!(Balances::total_balance(validator), initial_balance); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | Staking::eras_stakers(2, &validator), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:451:23 [INFO] [stdout] | [INFO] [stdout] 451 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | Balances::total_balance(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | Staking::slashable_balance_of(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 476 | Balances::total_balance(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:479:15 [INFO] [stdout] | [INFO] [stdout] 479 | assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:482:4 [INFO] [stdout] | [INFO] [stdout] 482 | Staking::eras_stakers(3, &equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:483:4 [INFO] [stdout] | [INFO] [stdout] 483 | pallet_staking::Exposure { total: 0, own: 0, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:492:15 [INFO] [stdout] | [INFO] [stdout] 492 | assert_eq!(Balances::total_balance(validator), initial_balance); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:493:15 [INFO] [stdout] | [INFO] [stdout] 493 | assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | Staking::eras_stakers(3, &validator), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:514:23 [INFO] [stdout] | [INFO] [stdout] 514 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:522:25 [INFO] [stdout] | [INFO] [stdout] 522 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:539:23 [INFO] [stdout] | [INFO] [stdout] 539 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:547:25 [INFO] [stdout] | [INFO] [stdout] 547 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:551:16 [INFO] [stdout] | [INFO] [stdout] 551 | let set_id = Beefy::validator_set().unwrap().id(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:569:23 [INFO] [stdout] | [INFO] [stdout] 569 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:578:4 [INFO] [stdout] | [INFO] [stdout] 578 | Historical::prove((BEEFY_KEY_TYPE, &invalid_owner_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:604:23 [INFO] [stdout] | [INFO] [stdout] 604 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:613:25 [INFO] [stdout] | [INFO] [stdout] 613 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:681:25 [INFO] [stdout] | [INFO] [stdout] 681 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:685:5 [INFO] [stdout] | [INFO] [stdout] 685 | Beefy::report_double_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:686:6 [INFO] [stdout] | [INFO] [stdout] 686 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:745:23 [INFO] [stdout] | [INFO] [stdout] 745 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:761:25 [INFO] [stdout] | [INFO] [stdout] 761 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:798:3 [INFO] [stdout] | [INFO] [stdout] 798 | Beefy::report_double_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:799:4 [INFO] [stdout] | [INFO] [stdout] 799 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:865:2 [INFO] [stdout] | [INFO] [stdout] 865 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:866:3 [INFO] [stdout] | [INFO] [stdout] 866 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:908:23 [INFO] [stdout] | [INFO] [stdout] 908 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:917:25 [INFO] [stdout] | [INFO] [stdout] 917 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:935:4 [INFO] [stdout] | [INFO] [stdout] 935 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:936:5 [INFO] [stdout] | [INFO] [stdout] 936 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:956:23 [INFO] [stdout] | [INFO] [stdout] 956 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:965:25 [INFO] [stdout] | [INFO] [stdout] 965 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:983:4 [INFO] [stdout] | [INFO] [stdout] 983 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:984:5 [INFO] [stdout] | [INFO] [stdout] 984 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:998:4 [INFO] [stdout] | [INFO] [stdout] 998 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:999:5 [INFO] [stdout] | [INFO] [stdout] 999 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:1017:14 [INFO] [stdout] | [INFO] [stdout] 1017 | assert_eq!(Session::current_index(), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:1028:23 [INFO] [stdout] | [INFO] [stdout] 1028 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:1031:20 [INFO] [stdout] | [INFO] [stdout] 1031 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:1035:15 [INFO] [stdout] | [INFO] [stdout] 1035 | assert_eq!(Balances::total_balance(validator), 10_000_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1036:15 [INFO] [stdout] | [INFO] [stdout] 1036 | assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:1039:5 [INFO] [stdout] | [INFO] [stdout] 1039 | Staking::eras_stakers(era, validator), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:1060:25 [INFO] [stdout] | [INFO] [stdout] 1060 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:1066:4 [INFO] [stdout] | [INFO] [stdout] 1066 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1067:5 [INFO] [stdout] | [INFO] [stdout] 1067 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:1077:4 [INFO] [stdout] | [INFO] [stdout] 1077 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1078:5 [INFO] [stdout] | [INFO] [stdout] 1078 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:1108:2 [INFO] [stdout] | [INFO] [stdout] 1108 | Beefy::report_future_block_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1109:3 [INFO] [stdout] | [INFO] [stdout] 1109 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:1150:23 [INFO] [stdout] | [INFO] [stdout] 1150 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:1159:25 [INFO] [stdout] | [INFO] [stdout] 1159 | let key_owner_proof = Historical::prove((BEEFY_KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:1167:4 [INFO] [stdout] | [INFO] [stdout] 1167 | Beefy::report_future_block_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1168:5 [INFO] [stdout] | [INFO] [stdout] 1168 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:1196:14 [INFO] [stdout] | [INFO] [stdout] 1196 | assert_ok!(Beefy::set_new_genesis(RuntimeOrigin::root(), new_genesis_delay,)); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1196:37 [INFO] [stdout] | [INFO] [stdout] 1196 | assert_ok!(Beefy::set_new_genesis(RuntimeOrigin::root(), new_genesis_delay,)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy` [INFO] [stdout] --> src/tests.rs:1203:4 [INFO] [stdout] | [INFO] [stdout] 1203 | Beefy::set_new_genesis(RuntimeOrigin::root(), 0u64,), [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:1203:27 [INFO] [stdout] | [INFO] [stdout] 1203 | Beefy::set_new_genesis(RuntimeOrigin::root(), 0u64,), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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-beefy` (lib test) due to 240 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c490a7bf744910a315c55d50174d9e48da53a9c397a10f3ffccfa59f9fed61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c490a7bf744910a315c55d50174d9e48da53a9c397a10f3ffccfa59f9fed61b", kill_on_drop: false }` [INFO] [stdout] 9c490a7bf744910a315c55d50174d9e48da53a9c397a10f3ffccfa59f9fed61b