[INFO] fetching crate pallet-beefy 47.0.0... [INFO] testing pallet-beefy-47.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate pallet-beefy 47.0.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate pallet-beefy 47.0.0 [INFO] finished tweaking crates.io crate pallet-beefy 47.0.0 [INFO] tweaked toml for crates.io crate pallet-beefy 47.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-beefy 47.0.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-beefy 47.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c60920676c8a6d2cba65c2e2fe5a7a844e1519019c2c45f8f4d4e594a4f80bd5 [INFO] running `Command { std: "docker" "start" "-a" "c60920676c8a6d2cba65c2e2fe5a7a844e1519019c2c45f8f4d4e594a4f80bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c60920676c8a6d2cba65c2e2fe5a7a844e1519019c2c45f8f4d4e594a4f80bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c60920676c8a6d2cba65c2e2fe5a7a844e1519019c2c45f8f4d4e594a4f80bd5", kill_on_drop: false }` [INFO] [stdout] c60920676c8a6d2cba65c2e2fe5a7a844e1519019c2c45f8f4d4e594a4f80bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1957c6b7857dc4088662da0f1e06024b14d20a76454300c1aadb6bbc17d69fe [INFO] running `Command { std: "docker" "start" "-a" "a1957c6b7857dc4088662da0f1e06024b14d20a76454300c1aadb6bbc17d69fe", 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 hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling const-oid v0.9.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling blake2b_simd v1.0.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling array-bytes v6.2.2 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling schnellru v0.2.3 [INFO] [stderr] Compiling trie-db v0.31.0 [INFO] [stderr] Compiling memory-db v0.34.0 [INFO] [stderr] Compiling sp-io v45.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling polkadot-ckb-merkle-mountain-range v0.8.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling serde_derive v1.0.228 [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.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling sp-debug-derive v15.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling ed25519 v2.2.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling bip39 v2.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Compiling ecdsa v0.16.8 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling substrate-bip39 v0.6.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling toml v0.8.19 [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 v21.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v27.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v37.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v23.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-tracing v19.0.0 [INFO] [stderr] Compiling sp-wasm-interface v24.0.0 [INFO] [stderr] Compiling binary-merkle-tree v16.1.1 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.17.7 [INFO] [stderr] Compiling sp-externalities v0.32.0 [INFO] [stderr] Compiling sp-runtime-interface v34.0.0 [INFO] [stderr] Compiling bounded-collections v0.3.2 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v28.0.1 [INFO] [stderr] Compiling frame-metadata v23.0.1 [INFO] [stderr] Compiling sp-core v40.0.0 [INFO] [stderr] Compiling sp-weights v34.0.0 [INFO] [stderr] Compiling sp-metadata-ir v0.12.3 [INFO] [stderr] Compiling sp-trie v43.0.0 [INFO] [stderr] Compiling sp-keystore v0.46.0 [INFO] [stderr] Compiling sp-state-machine v0.50.0 [INFO] [stderr] Compiling sp-application-crypto v45.0.0 [INFO] [stderr] Compiling sp-runtime v46.0.0 [INFO] [stderr] Compiling sp-version v44.0.0 [INFO] [stderr] Compiling sp-inherents v41.0.0 [INFO] [stderr] Compiling sp-staking v43.0.0 [INFO] [stderr] Compiling sp-api v41.0.0 [INFO] [stderr] Compiling sp-genesis-builder v0.22.0 [INFO] [stderr] Compiling sp-mmr-primitives v41.0.0 [INFO] [stderr] Compiling sp-session v43.0.0 [INFO] [stderr] Compiling sp-consensus-beefy v29.0.0 [INFO] [stderr] Compiling frame-support v46.0.0 [INFO] [stderr] Compiling sp-timestamp v41.0.0 [INFO] [stderr] Compiling frame-system v46.0.0 [INFO] [stderr] Compiling pallet-timestamp v45.0.0 [INFO] [stderr] Compiling pallet-balances v47.0.0 [INFO] [stderr] Compiling pallet-authorship v46.0.0 [INFO] [stderr] Compiling pallet-session v46.0.0 [INFO] [stderr] Compiling pallet-beefy v47.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 23s [INFO] running `Command { std: "docker" "inspect" "a1957c6b7857dc4088662da0f1e06024b14d20a76454300c1aadb6bbc17d69fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1957c6b7857dc4088662da0f1e06024b14d20a76454300c1aadb6bbc17d69fe", kill_on_drop: false }` [INFO] [stdout] a1957c6b7857dc4088662da0f1e06024b14d20a76454300c1aadb6bbc17d69fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb60f3f4d1acf1609a00fe04d3a7d79b7f0e8bb996c82b7245725f8ad94442eb [INFO] running `Command { std: "docker" "start" "-a" "bb60f3f4d1acf1609a00fe04d3a7d79b7f0e8bb996c82b7245725f8ad94442eb", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-beefy v47.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `frame_election_provider_support` in this scope [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-46.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]: cannot find module or crate `sp_core` in this scope [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]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:242:15 [INFO] [stdout] | [INFO] [stdout] 242 | #[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]: cannot find module or crate `pallet_staking_reward_curve` in this scope [INFO] [stdout] --> src/mock.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | 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]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | #[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]: cannot find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:177:40 [INFO] [stdout] | [INFO] [stdout] 177 | 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-46.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]: cannot find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | 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-46.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]: cannot find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:260:45 [INFO] [stdout] | [INFO] [stdout] 260 | 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-46.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]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:313:15 [INFO] [stdout] | [INFO] [stdout] 313 | 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]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | 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]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:324:14 [INFO] [stdout] | [INFO] [stdout] 324 | 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]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:1014:14 [INFO] [stdout] | [INFO] [stdout] 1014 | 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[E0425]: 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[E0425]: 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-46.0.0/src/traits/mod.rs:2160:19 [INFO] [stdout] | [INFO] [stdout] 2160 | pub struct $name { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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[E0425]: 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[E0425]: 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-46.0.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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-46.0.0/src/lib.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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-46.0.0/src/lib.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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-46.0.0/src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | 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[E0425]: 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-46.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:141:65 [INFO] [stdout] | [INFO] [stdout] 141 | 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] 140 | impl AncestryHelperWeightInfo
for MockAncestryHelper { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:149:65 [INFO] [stdout] | [INFO] [stdout] 149 | 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] 140 | impl AncestryHelperWeightInfo
for MockAncestryHelper { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | impl pallet_beefy::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/mock.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | type KeyOwnerProof = >::Proof; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Offences` in this scope [INFO] [stdout] --> src/mock.rs:164:41 [INFO] [stdout] | [INFO] [stdout] 164 | 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] 154 | impl pallet_beefy::Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/mock.rs:164:51 [INFO] [stdout] | [INFO] [stdout] 164 | 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] 154 | impl pallet_beefy::Config for Test { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:171:33 [INFO] [stdout] | [INFO] [stdout] 171 | impl pallet_session::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 172 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:177:77 [INFO] [stdout] | [INFO] [stdout] 177 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/string.rs:353:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 177 - type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] 177 + type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 171 | impl pallet_session::Config for Test { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | type Balance = u128; [INFO] [stdout] | -------------------- similarly named type alias `Balance` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 182 - type Currency = Balances; [INFO] [stdout] 182 + type Currency = Balance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:186:45 [INFO] [stdout] | [INFO] [stdout] 186 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | 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:226:62 [INFO] [stdout] | [INFO] [stdout] 226 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | type System = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/string.rs:353:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 234 - type DataProvider = Staking; [INFO] [stdout] 234 + type DataProvider = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 258 | impl pallet_offences::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | type OnOffenceHandler = Staking; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/string.rs:353:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 261 - type OnOffenceHandler = Staking; [INFO] [stdout] 261 + type OnOffenceHandler = String; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sp_io` in this scope [INFO] [stdout] --> src/mock.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | 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]: cannot find module or crate `sp_tracing` in this scope [INFO] [stdout] --> src/mock.rs:278:3 [INFO] [stdout] | [INFO] [stdout] 278 | 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] 278 - sp_tracing::try_init_simple(); [INFO] [stdout] 278 + sp_staking::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:279:45 [INFO] [stdout] | [INFO] [stdout] 279 | 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] 269 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:284:36 [INFO] [stdout] | [INFO] [stdout] 284 | 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] 269 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | 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] 269 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | 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] 269 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:307:42 [INFO] [stdout] | [INFO] [stdout] 307 | .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] 307 - .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::::Validator)) [INFO] [stdout] 307 + .map(|i| (i as u64, i as u64, 10_000, StakerStatus::::Validator)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:310:56 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 269 | impl ExtBuilder { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:350:3 [INFO] [stdout] | [INFO] [stdout] 350 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:351:24 [INFO] [stdout] | [INFO] [stdout] 351 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:352:24 [INFO] [stdout] | [INFO] [stdout] 352 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 353 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:355:24 [INFO] [stdout] | [INFO] [stdout] 355 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:359:4 [INFO] [stdout] | [INFO] [stdout] 359 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:362:3 [INFO] [stdout] | [INFO] [stdout] 362 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:363:3 [INFO] [stdout] | [INFO] [stdout] 363 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:364:3 [INFO] [stdout] | [INFO] [stdout] 364 | 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]: cannot find type `Timestamp` in this scope [INFO] [stdout] --> src/mock.rs:365:3 [INFO] [stdout] | [INFO] [stdout] 365 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:365:28 [INFO] [stdout] | [INFO] [stdout] 365 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:367:3 [INFO] [stdout] | [INFO] [stdout] 367 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:367:25 [INFO] [stdout] | [INFO] [stdout] 367 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:369:26 [INFO] [stdout] | [INFO] [stdout] 369 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/mock.rs:370:24 [INFO] [stdout] | [INFO] [stdout] 370 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:378:42 [INFO] [stdout] | [INFO] [stdout] 378 | 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] 376 | pub fn start_era(era_index: EraIndex) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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]: cannot find type `System` in this scope [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[E0425]: 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]: cannot find type `System` in this scope [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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:324:43 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 315 | fn report_equivocation_current_set_works( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:419:19 [INFO] [stdout] | [INFO] [stdout] 419 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:511:19 [INFO] [stdout] | [INFO] [stdout] 511 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | Error::::InvalidEquivocationProofSessionMember, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 505 | fn report_equivocation_invalid_set_id(mut f: impl ReportEquivocationFn) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:536:19 [INFO] [stdout] | [INFO] [stdout] 536 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | Error::::InvalidEquivocationProofSessionMember, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 530 | fn report_equivocation_invalid_session(mut f: impl ReportEquivocationFn) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:566:19 [INFO] [stdout] | [INFO] [stdout] 566 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:590:12 [INFO] [stdout] | [INFO] [stdout] 590 | 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] 560 | fn report_equivocation_invalid_key_owner_proof(mut f: impl ReportEquivocationFn) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:601:19 [INFO] [stdout] | [INFO] [stdout] 601 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:669:19 [INFO] [stdout] | [INFO] [stdout] 669 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | 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] 663 | fn report_double_voting_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:742:19 [INFO] [stdout] | [INFO] [stdout] 742 | 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[E0425]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:768:5 [INFO] [stdout] | [INFO] [stdout] 768 | ::validate_unsigned( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:779:5 [INFO] [stdout] | [INFO] [stdout] 779 | ::validate_unsigned( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:793:15 [INFO] [stdout] | [INFO] [stdout] 793 | assert_ok!(::pre_dispatch(&call)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:806:5 [INFO] [stdout] | [INFO] [stdout] 806 | ::validate_unsigned( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 814 | ::pre_dispatch(&call), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:825:23 [INFO] [stdout] | [INFO] [stdout] 825 | .map(|validators| <::WeightInfo as WeightInfoExt>::report_double_voting( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:835:23 [INFO] [stdout] | [INFO] [stdout] 835 | .map(|validators| <::WeightInfo as WeightInfoExt>::report_double_voting( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:860:3 [INFO] [stdout] | [INFO] [stdout] 860 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:904:19 [INFO] [stdout] | [INFO] [stdout] 904 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:930:4 [INFO] [stdout] | [INFO] [stdout] 930 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:938:12 [INFO] [stdout] | [INFO] [stdout] 938 | 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] 896 | fn report_fork_voting_non_optimal_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:952:19 [INFO] [stdout] | [INFO] [stdout] 952 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:978:4 [INFO] [stdout] | [INFO] [stdout] 978 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:986:12 [INFO] [stdout] | [INFO] [stdout] 986 | 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] 944 | fn report_fork_voting_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:993:4 [INFO] [stdout] | [INFO] [stdout] 993 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1001:12 [INFO] [stdout] | [INFO] [stdout] 1001 | 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] 944 | fn report_fork_voting_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1014:43 [INFO] [stdout] | [INFO] [stdout] 1014 | 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] 1007 | fn report_fork_voting_invalid_context() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1018:19 [INFO] [stdout] | [INFO] [stdout] 1018 | 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]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1054:4 [INFO] [stdout] | [INFO] [stdout] 1054 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1069:12 [INFO] [stdout] | [INFO] [stdout] 1069 | 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] 1007 | fn report_fork_voting_invalid_context() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1080:12 [INFO] [stdout] | [INFO] [stdout] 1080 | 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] 1007 | fn report_fork_voting_invalid_context() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1175:12 [INFO] [stdout] | [INFO] [stdout] 1175 | 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] 1142 | fn report_future_block_voting_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `System` in this scope [INFO] [stdout] --> src/tests.rs:1195:18 [INFO] [stdout] | [INFO] [stdout] 1195 | 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[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1197:36 [INFO] [stdout] | [INFO] [stdout] 1197 | 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] 1186 | fn set_new_genesis_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1202:12 [INFO] [stdout] | [INFO] [stdout] 1202 | 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] 1186 | 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)]` (part of `#[warn(unused)]`) 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]: cannot find module or crate `pallet_balances` in this scope [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]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | 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]: cannot find module or crate `pallet_timestamp` in this scope [INFO] [stdout] --> src/mock.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 205 | 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]: cannot find module or crate `pallet_offences` in this scope [INFO] [stdout] --> src/mock.rs:258:6 [INFO] [stdout] | [INFO] [stdout] 258 | 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]: cannot find module or crate `pallet_balances` in this scope [INFO] [stdout] --> src/mock.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 284 | 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]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/mock.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/mock.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | 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]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | for i in Session::current_index()..session_index { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:351:3 [INFO] [stdout] | [INFO] [stdout] 351 | Session::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:352:3 [INFO] [stdout] | [INFO] [stdout] 352 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 352 - Staking::on_finalize(System::block_number()); [INFO] [stdout] 352 + String::on_finalize(System::block_number()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/mock.rs:353:3 [INFO] [stdout] | [INFO] [stdout] 353 | Beefy::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:368:3 [INFO] [stdout] | [INFO] [stdout] 368 | Session::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | Staking::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 369 - Staking::on_initialize(System::block_number()); [INFO] [stdout] 369 + String::on_initialize(System::block_number()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/mock.rs:370:3 [INFO] [stdout] | [INFO] [stdout] 370 | Beefy::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | assert_eq!(Session::current_index(), session_index); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:46:2 [INFO] [stdout] | [INFO] [stdout] 46 | Staking::on_initialize(block); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 46 - Staking::on_initialize(block); [INFO] [stdout] 46 + String::on_initialize(block); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [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]: cannot find type `Beefy` in this scope [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]: cannot find type `Beefy` in this scope [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]: cannot find type `Beefy` in this scope [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]: cannot find type `Beefy` in this scope [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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:308:2 [INFO] [stdout] | [INFO] [stdout] 308 | Beefy::report_double_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:309:3 [INFO] [stdout] | [INFO] [stdout] 309 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(Session::current_index(), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:330:23 [INFO] [stdout] | [INFO] [stdout] 330 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:337:15 [INFO] [stdout] | [INFO] [stdout] 337 | assert_eq!(Balances::total_balance(validator), initial_balance); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:338:15 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 338 - assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] 338 + assert_eq!(String::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | Staking::eras_stakers(1, &validator), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 341 - Staking::eras_stakers(1, &validator), [INFO] [stdout] 341 + String::eras_stakers(1, &validator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | 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]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | Balances::total_balance(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | Staking::slashable_balance_of(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 372 - Staking::slashable_balance_of(&equivocation_validator_id), [INFO] [stdout] 372 + String::slashable_balance_of(&equivocation_validator_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | Balances::total_balance(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 380 | assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 380 - assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] 380 + assert_eq!(String::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | Staking::eras_stakers(2, &equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 383 - Staking::eras_stakers(2, &equivocation_validator_id), [INFO] [stdout] 383 + String::eras_stakers(2, &equivocation_validator_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:393:15 [INFO] [stdout] | [INFO] [stdout] 393 | assert_eq!(Balances::total_balance(validator), initial_balance); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:394:15 [INFO] [stdout] | [INFO] [stdout] 394 | assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 394 - assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] 394 + assert_eq!(String::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | Staking::eras_stakers(2, &validator), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 397 - Staking::eras_stakers(2, &validator), [INFO] [stdout] 397 + String::eras_stakers(2, &validator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:420:23 [INFO] [stdout] | [INFO] [stdout] 420 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:430:25 [INFO] [stdout] | [INFO] [stdout] 430 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:436:15 [INFO] [stdout] | [INFO] [stdout] 436 | assert_eq!(Balances::total_balance(validator), initial_balance); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:437:15 [INFO] [stdout] | [INFO] [stdout] 437 | assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 437 - assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] 437 + assert_eq!(String::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | Staking::eras_stakers(2, &validator), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 440 - Staking::eras_stakers(2, &validator), [INFO] [stdout] 440 + String::eras_stakers(2, &validator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | Balances::total_balance(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | Staking::slashable_balance_of(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 469 - Staking::slashable_balance_of(&equivocation_validator_id), [INFO] [stdout] 469 + String::slashable_balance_of(&equivocation_validator_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 474 | Balances::total_balance(&equivocation_validator_id), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:477:15 [INFO] [stdout] | [INFO] [stdout] 477 | assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 477 - assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] 477 + assert_eq!(String::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:480:4 [INFO] [stdout] | [INFO] [stdout] 480 | Staking::eras_stakers(3, &equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 480 - Staking::eras_stakers(3, &equivocation_validator_id), [INFO] [stdout] 480 + String::eras_stakers(3, &equivocation_validator_id), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:481:4 [INFO] [stdout] | [INFO] [stdout] 481 | 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]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:490:15 [INFO] [stdout] | [INFO] [stdout] 490 | assert_eq!(Balances::total_balance(validator), initial_balance); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 491 | assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 491 - assert_eq!(Staking::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] 491 + assert_eq!(String::slashable_balance_of(validator), initial_slashable_balance); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | Staking::eras_stakers(3, &validator), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 494 - Staking::eras_stakers(3, &validator), [INFO] [stdout] 494 + String::eras_stakers(3, &validator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:512:23 [INFO] [stdout] | [INFO] [stdout] 512 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:537:23 [INFO] [stdout] | [INFO] [stdout] 537 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:545:25 [INFO] [stdout] | [INFO] [stdout] 545 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:549:16 [INFO] [stdout] | [INFO] [stdout] 549 | let set_id = Beefy::validator_set().unwrap().id(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:567:23 [INFO] [stdout] | [INFO] [stdout] 567 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:576:4 [INFO] [stdout] | [INFO] [stdout] 576 | Historical::prove((BEEFY_KEY_TYPE, &invalid_owner_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:602:23 [INFO] [stdout] | [INFO] [stdout] 602 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:611:25 [INFO] [stdout] | [INFO] [stdout] 611 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:670:23 [INFO] [stdout] | [INFO] [stdout] 670 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:679:25 [INFO] [stdout] | [INFO] [stdout] 679 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | Beefy::report_double_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:684:6 [INFO] [stdout] | [INFO] [stdout] 684 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:743:23 [INFO] [stdout] | [INFO] [stdout] 743 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:759:25 [INFO] [stdout] | [INFO] [stdout] 759 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:796:3 [INFO] [stdout] | [INFO] [stdout] 796 | Beefy::report_double_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:797:4 [INFO] [stdout] | [INFO] [stdout] 797 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:863:2 [INFO] [stdout] | [INFO] [stdout] 863 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:864:3 [INFO] [stdout] | [INFO] [stdout] 864 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:906:23 [INFO] [stdout] | [INFO] [stdout] 906 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:915:25 [INFO] [stdout] | [INFO] [stdout] 915 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:933:4 [INFO] [stdout] | [INFO] [stdout] 933 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:934:5 [INFO] [stdout] | [INFO] [stdout] 934 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:954:23 [INFO] [stdout] | [INFO] [stdout] 954 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:963:25 [INFO] [stdout] | [INFO] [stdout] 963 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:981:4 [INFO] [stdout] | [INFO] [stdout] 981 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:982:5 [INFO] [stdout] | [INFO] [stdout] 982 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:996:4 [INFO] [stdout] | [INFO] [stdout] 996 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:997:5 [INFO] [stdout] | [INFO] [stdout] 997 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:1015:14 [INFO] [stdout] | [INFO] [stdout] 1015 | assert_eq!(Session::current_index(), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:1026:23 [INFO] [stdout] | [INFO] [stdout] 1026 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Session` in this scope [INFO] [stdout] --> src/tests.rs:1029:20 [INFO] [stdout] | [INFO] [stdout] 1029 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/tests.rs:1033:15 [INFO] [stdout] | [INFO] [stdout] 1033 | assert_eq!(Balances::total_balance(validator), 10_000_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:1034:15 [INFO] [stdout] | [INFO] [stdout] 1034 | assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1034 - assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] 1034 + assert_eq!(String::slashable_balance_of(validator), 10_000); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/tests.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | Staking::eras_stakers(era, validator), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Staking` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1037 - Staking::eras_stakers(era, validator), [INFO] [stdout] 1037 + String::eras_stakers(era, validator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `pallet_staking` in this scope [INFO] [stdout] --> src/tests.rs:1038:5 [INFO] [stdout] | [INFO] [stdout] 1038 | 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]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:1058:25 [INFO] [stdout] | [INFO] [stdout] 1058 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:1064:4 [INFO] [stdout] | [INFO] [stdout] 1064 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1065:5 [INFO] [stdout] | [INFO] [stdout] 1065 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:1075:4 [INFO] [stdout] | [INFO] [stdout] 1075 | Beefy::report_fork_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1076:5 [INFO] [stdout] | [INFO] [stdout] 1076 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:1106:2 [INFO] [stdout] | [INFO] [stdout] 1106 | Beefy::report_future_block_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1107:3 [INFO] [stdout] | [INFO] [stdout] 1107 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:1148:23 [INFO] [stdout] | [INFO] [stdout] 1148 | let validator_set = Beefy::validator_set().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/tests.rs:1157:25 [INFO] [stdout] | [INFO] [stdout] 1157 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:1165:4 [INFO] [stdout] | [INFO] [stdout] 1165 | Beefy::report_future_block_voting_unsigned( [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1166 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:1194:14 [INFO] [stdout] | [INFO] [stdout] 1194 | 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]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1194:37 [INFO] [stdout] | [INFO] [stdout] 1194 | 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]: cannot find type `Beefy` in this scope [INFO] [stdout] --> src/tests.rs:1201:4 [INFO] [stdout] | [INFO] [stdout] 1201 | Beefy::set_new_genesis(RuntimeOrigin::root(), 0u64,), [INFO] [stdout] | ^^^^^ use of undeclared type `Beefy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/tests.rs:1201:27 [INFO] [stdout] | [INFO] [stdout] 1201 | 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: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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" "bb60f3f4d1acf1609a00fe04d3a7d79b7f0e8bb996c82b7245725f8ad94442eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb60f3f4d1acf1609a00fe04d3a7d79b7f0e8bb996c82b7245725f8ad94442eb", kill_on_drop: false }` [INFO] [stdout] bb60f3f4d1acf1609a00fe04d3a7d79b7f0e8bb996c82b7245725f8ad94442eb