[INFO] fetching crate pallet-babe 42.0.0... [INFO] checking pallet-babe-42.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pallet-babe 42.0.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate pallet-babe 42.0.0 [INFO] finished tweaking crates.io crate pallet-babe 42.0.0 [INFO] tweaked toml for crates.io crate pallet-babe 42.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-babe 42.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pallet-babe 42.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a431104d80cec188805556c89a1d64b24a5dff306f623b7f8d5063b71512265b [INFO] running `Command { std: "docker" "start" "-a" "a431104d80cec188805556c89a1d64b24a5dff306f623b7f8d5063b71512265b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a431104d80cec188805556c89a1d64b24a5dff306f623b7f8d5063b71512265b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a431104d80cec188805556c89a1d64b24a5dff306f623b7f8d5063b71512265b", kill_on_drop: false }` [INFO] [stdout] a431104d80cec188805556c89a1d64b24a5dff306f623b7f8d5063b71512265b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d13746c6cbfcd3fb5bd82a2d629ca2b5a1a840940c29e02745069bd836a3000 [INFO] running `Command { std: "docker" "start" "-a" "7d13746c6cbfcd3fb5bd82a2d629ca2b5a1a840940c29e02745069bd836a3000", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling prettyplease v0.2.12 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling fs-err v2.9.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling jam-codec v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking hash-db v0.16.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking impl-num-traits v0.2.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking getrandom_or_panic v0.0.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking environmental v1.1.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking sp-std v14.0.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking array-bytes v6.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking memory-db v0.34.0 [INFO] [stderr] Checking trie-db v0.30.0 [INFO] [stderr] Checking trie-root v0.18.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v42.0.0 [INFO] [stderr] Checking simple-mermaid v0.1.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking tuplex v0.1.2 [INFO] [stderr] Checking schnellru v0.2.3 [INFO] [stderr] Compiling proc-macro-warning v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking parity-wasm v0.45.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling const-random-macro v0.1.15 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tt-call v1.0.9 [INFO] [stderr] Compiling cfg-expr v0.15.5 [INFO] [stderr] Compiling const-random v0.1.15 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Checking secp256k1 v0.28.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking crypto-bigint v0.5.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sp-panic-handler v13.0.2 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking ed25519 v2.2.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ed25519-zebra v4.0.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking serdect v0.2.0 [INFO] [stderr] Checking impl-serde v0.5.0 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking parity-bip39 v2.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.11.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking substrate-bip39 v0.6.0 [INFO] [stderr] Checking ecdsa v0.16.8 [INFO] [stderr] Compiling ss58-registry v1.43.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.17.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling frame-support-procedural-tools v13.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling jam-codec-derive v0.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v20.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v24.0.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Checking docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v35.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.7.1 [INFO] [stderr] Checking sp-storage v22.0.0 [INFO] [stderr] Checking sp-tracing v18.0.0 [INFO] [stderr] Checking sp-wasm-interface v23.0.0 [INFO] [stderr] Checking binary-merkle-tree v16.0.0 [INFO] [stderr] Checking sp-externalities v0.30.0 [INFO] [stderr] Checking bounded-collections v0.3.2 [INFO] [stderr] Checking primitive-types v0.13.1 [INFO] [stderr] Checking sp-arithmetic v28.0.0 [INFO] [stderr] Checking frame-metadata v23.0.0 [INFO] [stderr] Checking sp-runtime-interface v31.0.0 [INFO] [stderr] Checking sp-metadata-ir v0.12.0 [INFO] [stderr] Checking sp-core v38.0.0 [INFO] [stderr] Checking sp-weights v33.0.0 [INFO] [stderr] Checking sp-trie v41.0.0 [INFO] [stderr] Checking sp-keystore v0.44.0 [INFO] [stderr] Checking sp-state-machine v0.47.0 [INFO] [stderr] Checking sp-application-crypto v42.0.0 [INFO] [stderr] Checking sp-runtime v43.0.0 [INFO] [stderr] Checking sp-version v41.0.0 [INFO] [stderr] Checking sp-inherents v38.0.0 [INFO] [stderr] Checking sp-staking v40.0.0 [INFO] [stderr] Checking sp-api v38.0.0 [INFO] [stderr] Checking sp-genesis-builder v0.19.0 [INFO] [stderr] Checking sp-session v40.0.0 [INFO] [stderr] Checking frame-support v42.0.0 [INFO] [stderr] Checking sp-timestamp v38.0.0 [INFO] [stderr] Checking sp-consensus-slots v0.44.0 [INFO] [stderr] Checking sp-consensus-babe v0.44.0 [INFO] [stderr] Checking frame-system v42.0.0 [INFO] [stderr] Checking pallet-balances v43.0.0 [INFO] [stderr] Checking pallet-timestamp v41.0.0 [INFO] [stderr] Checking pallet-authorship v42.0.0 [INFO] [stderr] Checking pallet-session v42.0.0 [INFO] [stderr] Checking pallet-babe v42.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | 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:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use pallet_session::historical as pallet_session_historical; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-42.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive_impl(pallet_staking::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking_reward_curve` [INFO] [stdout] --> src/mock.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | Staking: pallet_staking, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-42.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-42.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | type IdentificationTuple = pallet_session::historical::IdentificationTuple; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-42.0.0/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ---------------------- the item is gated behind the `historical` feature [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(era_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | force_era: pallet_staking::Forcing::ForceNew, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:423:14 [INFO] [stdout] | [INFO] [stdout] 423 | assert_eq!(pallet_staking::CurrentEra::::get().unwrap(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | 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] 48 | type Block = frame_system::mocking::MockBlock; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | impl frame_system::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358| type Self::RuntimeEvent = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360| type Self::RuntimeOrigin = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362| type Self::RuntimeCall = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 20 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/frame-system-42.0.0/src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366| type Self::RuntimeTask = (); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:71:62 [INFO] [stdout] | [INFO] [stdout] 71 | impl frame_system::offchain::CreateTransactionBase for Test [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | RuntimeCall: From, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 73 | Self::RuntimeCall: From, [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 75 | type RuntimeCall = Self::RuntimeCall; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | type Extrinsic = TestXt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 76 | type Extrinsic = TestXt; [INFO] [stdout] | ++++++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 71 | impl frame_system::offchain::CreateTransactionBase for Test [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:79:51 [INFO] [stdout] | [INFO] [stdout] 79 | impl frame_system::offchain::CreateBare for Test [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope [INFO] [stdout] --> src/mock.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 81 | RuntimeCall: From, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | pub babe_authority: super::Pallet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | pub babe_authority: super::Pallet, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sp-runtime-43.0.0/src/traits/mod.rs:2100:19 [INFO] [stdout] | [INFO] [stdout] 210| pub struct $name { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | impl pallet_session::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 95 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | type ShouldEndSession = Babe; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | type NextSessionRotation = Babe; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:100:77 [INFO] [stdout] | [INFO] [stdout] 100 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 100 - type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] 100 + type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 94 | impl pallet_session::Config for Test { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope [INFO] [stdout] --> src/mock.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | type Currency = Balances; [INFO] [stdout] | ^^^^^^^^ help: a type alias with a similar name exists: `Balance` [INFO] [stdout] ... [INFO] [stdout] 127 | type Balance = u128; [INFO] [stdout] | -------------------- similarly named type alias `Balance` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:109:45 [INFO] [stdout] | [INFO] [stdout] 109 | impl pallet_session::historical::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:116:69 [INFO] [stdout] | [INFO] [stdout] 116 | type FindAuthor = pallet_session::FindAccountFromAuthorIndex; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 115 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/mock.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | type OnTimestampSet = Babe; [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:149:62 [INFO] [stdout] | [INFO] [stdout] 149 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | type System = Test; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | type DataProvider = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | impl pallet_offences::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | type OnOffenceHandler = Staking; [INFO] [stdout] | ^^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/string.rs:360:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named struct `String` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | impl Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in this scope [INFO] [stdout] --> src/mock.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | type DisabledValidators = Session; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Offences` in this scope [INFO] [stdout] --> src/mock.rs:204:41 [INFO] [stdout] | [INFO] [stdout] 204 | 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] 194 | impl Config for Test { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope [INFO] [stdout] --> src/mock.rs:204:51 [INFO] [stdout] | [INFO] [stdout] 204 | 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] 194 | impl Config for Test { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:210:20 [INFO] [stdout] | [INFO] [stdout] 210 | Babe::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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:214:23 [INFO] [stdout] | [INFO] [stdout] 214 | 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] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let hdr = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 218 | System::parent_hash() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:223:2 [INFO] [stdout] | [INFO] [stdout] 223 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:224:2 [INFO] [stdout] | [INFO] [stdout] 224 | System::initialize(&n, &parent_hash, &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 233 | let mut slot = u64::from(CurrentSlot::::get()) + 1; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 232 | pub fn progress_to_block(n: u64) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:234:11 [INFO] [stdout] | [INFO] [stdout] 234 | for i in System::block_number() + 1..=n { [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | progress_to_block(System::block_number() + missing as u64 + 1); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:250:42 [INFO] [stdout] | [INFO] [stdout] 250 | 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] 248 | pub fn start_era(era_index: EraIndex) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:293:69 [INFO] [stdout] | [INFO] [stdout] 293 | sp_consensus_babe::make_vrf_transcript(&pallet_babe::Randomness::::get(), slot, 0); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 288 | pub fn make_vrf_signature_and_randomness( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sp_tracing` [INFO] [stdout] --> src/mock.rs:320:2 [INFO] [stdout] | [INFO] [stdout] 320 | 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] 320 - sp_tracing::try_init_simple(); [INFO] [stdout] 320 + sp_staking::try_init_simple(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:321:44 [INFO] [stdout] | [INFO] [stdout] 321 | 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] 319 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:325:35 [INFO] [stdout] | [INFO] [stdout] 325 | 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] 319 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | 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] 319 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:346:41 [INFO] [stdout] | [INFO] [stdout] 346 | .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] 20 + use sp_staking::StakerStatus; [INFO] [stdout] | [INFO] [stdout] help: if you import `StakerStatus`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 346 - .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::::Validator)) [INFO] [stdout] 346 + .map(|i| (i as u64, i as u64, 10_000, StakerStatus::::Validator)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:349:55 [INFO] [stdout] | [INFO] [stdout] 349 | 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] 319 | pub fn new_test_ext_raw_authorities(authorities: Vec) -> sp_io::TestExternalities { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:371:22 [INFO] [stdout] | [INFO] [stdout] 371 | let current_block = System::block_number(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:372:35 [INFO] [stdout] | [INFO] [stdout] 372 | let current_slot = CurrentSlot::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 364 | pub fn generate_equivocation_proof( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | let parent_hash = System::parent_hash(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:377:3 [INFO] [stdout] | [INFO] [stdout] 377 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:378:3 [INFO] [stdout] | [INFO] [stdout] 378 | System::initialize(¤t_block, &parent_hash, &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:379:3 [INFO] [stdout] | [INFO] [stdout] 379 | System::set_block_number(current_block); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/mock.rs:380:3 [INFO] [stdout] | [INFO] [stdout] 380 | Timestamp::set_timestamp(*current_slot * Babe::slot_duration()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 20 + use sp_core::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] 20 + use sp_runtime::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:381:3 [INFO] [stdout] | [INFO] [stdout] 381 | System::finalize() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | impl crate::migrations::BabePalletPrefix for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:52:59 [INFO] [stdout] | [INFO] [stdout] 52 | new_test_ext(4).execute_with(|| assert_eq!(Authorities::::get().len(), 4)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 51 | fn initial_values() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(GenesisSlot::::get(), Slot::from(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | System::initialize(&1, &Default::default(), &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(GenesisSlot::::get(), genesis_slot); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(CurrentSlot::::get(), genesis_slot); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(EpochIndex::::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] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(SegmentIndex::::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] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(UnderConstruction::::get(0), vec![vrf_randomness]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(Randomness::::get(), [0; 32]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(NextRandomness::::get(), [0; 32]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | authorities: Authorities::::get().into_inner(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | randomness: Randomness::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 67 | fn first_block_epoch_zero_start() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | System::initialize(&1, &Default::default(), &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(CurrentSlot::::get(), Slot::from(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(Initialized::::get().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] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(CurrentSlot::::get(), genesis_slot); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | assert!(Initialized::::get().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] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:135:36 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 116 | fn current_slot_is_processed_on_initialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | System::initialize(&1, &Default::default(), &pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 143 | fn test_author_vrf_output(make_pre_digest: F) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 143 | fn test_author_vrf_output(make_pre_digest: F) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:168:3 [INFO] [stdout] | [INFO] [stdout] 168 | System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(AuthorVrfRandomness::::get(), Some(vrf_randomness)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 143 | fn test_author_vrf_output(make_pre_digest: F) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 190 | System::initialize(&1, &Default::default(), &secondary_plain_pre_digest); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:191:36 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 184 | fn no_author_vrf_output_for_secondary_plain() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 184 | fn no_author_vrf_output_for_secondary_plain() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:198:36 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(AuthorVrfRandomness::::get(), None); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 184 | fn no_author_vrf_output_for_secondary_plain() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(::EpochDuration::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(*GenesisSlot::::get(), 6); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | assert_eq!(*CurrentSlot::::get(), 6); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | assert_eq!(EpochIndex::::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] 214 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(EpochIndex::::get(), 5 / 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(*CurrentSlot::::get(), 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 214 | fn can_predict_next_epoch_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:230:47 [INFO] [stdout] | [INFO] [stdout] 230 | assert_eq!(Babe::next_expected_epoch_change(System::block_number()), Some(5 + 2)); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | assert_eq!(::EpochDuration::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:272:15 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(::EpochDuration::get(), 3); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:275:29 [INFO] [stdout] | [INFO] [stdout] 275 | assert_eq!(*GenesisSlot::::get(), 6); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | assert_eq!(*CurrentSlot::::get(), 6); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | assert_eq!(EpochIndex::::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] 270 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | EpochConfig::::put(current_config); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | NextEpochConfig::::put(next_config.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(NextEpochConfig::::get(), Some(next_config.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:313:28 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(EpochConfig::::get(), Some(next_config)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:314:32 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(NextEpochConfig::::get(), Some(next_next_config.clone())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 270 | fn can_enact_next_config() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | EpochConfig::::put(BabeEpochConfiguration { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 350 | fn can_fetch_current_and_next_epoch_data() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:393:50 [INFO] [stdout] | [INFO] [stdout] 393 | let (last_epoch, current_epoch) = EpochStart::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 384 | fn tracks_block_numbers_when_current_and_previous_epoch_started() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:401:50 [INFO] [stdout] | [INFO] [stdout] 401 | let (last_epoch, current_epoch) = EpochStart::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 384 | fn tracks_block_numbers_when_current_and_previous_epoch_started() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:423:43 [INFO] [stdout] | [INFO] [stdout] 423 | assert_eq!(pallet_staking::CurrentEra::::get().unwrap(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 412 | fn disabled_validators_cannot_author_blocks() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:440:35 [INFO] [stdout] | [INFO] [stdout] 440 | let authorities = 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] 434 | fn report_equivocation_current_session_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:467:18 [INFO] [stdout] | [INFO] [stdout] 467 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 434 | fn report_equivocation_current_session_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:517:35 [INFO] [stdout] | [INFO] [stdout] 517 | let authorities = 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] 511 | fn report_equivocation_old_session_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:531:18 [INFO] [stdout] | [INFO] [stdout] 531 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 511 | fn report_equivocation_old_session_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:575:35 [INFO] [stdout] | [INFO] [stdout] 575 | let authorities = 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] 569 | fn report_equivocation_invalid_key_owner_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:588:18 [INFO] [stdout] | [INFO] [stdout] 588 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 569 | fn report_equivocation_invalid_key_owner_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:604:12 [INFO] [stdout] | [INFO] [stdout] 604 | 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] 569 | fn report_equivocation_invalid_key_owner_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:624:12 [INFO] [stdout] | [INFO] [stdout] 624 | 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] 569 | fn report_equivocation_invalid_key_owner_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:638:35 [INFO] [stdout] | [INFO] [stdout] 638 | let authorities = 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] 630 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | Error::::InvalidEquivocationProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 630 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:666:18 [INFO] [stdout] | [INFO] [stdout] 666 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 630 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:675:18 [INFO] [stdout] | [INFO] [stdout] 675 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 630 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:684:18 [INFO] [stdout] | [INFO] [stdout] 684 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 630 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:693:18 [INFO] [stdout] | [INFO] [stdout] 693 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 630 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:703:18 [INFO] [stdout] | [INFO] [stdout] 703 | CurrentSlot::::get() + 1, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 630 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:716:18 [INFO] [stdout] | [INFO] [stdout] 716 | CurrentSlot::::get() + 1, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 630 | fn report_equivocation_invalid_equivocation_proof() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:743:35 [INFO] [stdout] | [INFO] [stdout] 743 | let authorities = 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] 732 | fn report_equivocation_validate_unsigned_prevents_duplicates() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:755:18 [INFO] [stdout] | [INFO] [stdout] 755 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 732 | fn report_equivocation_validate_unsigned_prevents_duplicates() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` 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[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:776:66 [INFO] [stdout] | [INFO] [stdout] 776 | let tx_tag = (offending_authority_pair.public(), CurrentSlot::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 732 | fn report_equivocation_validate_unsigned_prevents_duplicates() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:778:5 [INFO] [stdout] | [INFO] [stdout] 778 | ::validate_unsigned( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:792:15 [INFO] [stdout] | [INFO] [stdout] 792 | assert_ok!(::pre_dispatch(&inner)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:805:5 [INFO] [stdout] | [INFO] [stdout] 805 | ::validate_unsigned( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Babe` in this scope [INFO] [stdout] --> src/tests.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 813 | ::pre_dispatch(&inner), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:824:22 [INFO] [stdout] | [INFO] [stdout] 824 | .map(|validators| ::WeightInfo::report_equivocation(validators, 1000)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:832:22 [INFO] [stdout] | [INFO] [stdout] 832 | .map(|validators| ::WeightInfo::report_equivocation(validators, 1000)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:843:30 [INFO] [stdout] | [INFO] [stdout] 843 | let epoch_duration: u64 = ::EpochDuration::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:848:27 [INFO] [stdout] | [INFO] [stdout] 848 | assert_eq!(EpochIndex::::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] 839 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:851:15 [INFO] [stdout] | [INFO] [stdout] 851 | go_to_block(System::block_number() + 1, genesis_slot + epoch_duration * 10); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:853:27 [INFO] [stdout] | [INFO] [stdout] 853 | assert_eq!(EpochIndex::::get(), 10); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 839 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:854:30 [INFO] [stdout] | [INFO] [stdout] 854 | assert_eq!(SkippedEpochs::::get(), vec![(10, 1)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 839 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:857:35 [INFO] [stdout] | [INFO] [stdout] 857 | let authorities = 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] 839 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:867:18 [INFO] [stdout] | [INFO] [stdout] 867 | CurrentSlot::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 839 | fn report_equivocation_after_skipped_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:898:76 [INFO] [stdout] | [INFO] [stdout] 898 | generate_equivocation_proof(0, &offending_authority_pair, CurrentSlot::::get()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 888 | fn valid_equivocation_reports_dont_pay_fees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:906:21 [INFO] [stdout] | [INFO] [stdout] 906 | let info = Call::::report_equivocation_unsigned { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 888 | fn valid_equivocation_reports_dont_pay_fees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:969:48 [INFO] [stdout] | [INFO] [stdout] 969 | crate::migrations::add_epoch_configuration::(current_epoch.clone()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 948 | fn add_epoch_configurations_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:978:28 [INFO] [stdout] | [INFO] [stdout] 978 | assert_eq!(EpochConfig::::get(), Some(current_epoch)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 948 | fn add_epoch_configurations_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:979:41 [INFO] [stdout] | [INFO] [stdout] 979 | assert_eq!(PendingEpochConfigChange::::get(), Some(next_config_descriptor)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 948 | fn add_epoch_configurations_migration_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:996:18 [INFO] [stdout] | [INFO] [stdout] 996 | CurrentSlot::::get() + 1, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 984 | fn generate_equivocation_report_blob() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1009:30 [INFO] [stdout] | [INFO] [stdout] 1009 | let epoch_duration: u64 = ::EpochDuration::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1019:27 [INFO] [stdout] | [INFO] [stdout] 1019 | assert_eq!(EpochIndex::::get(), 1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1005 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1022:49 [INFO] [stdout] | [INFO] [stdout] 1022 | let randomness_for_epoch_2 = NextRandomness::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1005 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:1028:15 [INFO] [stdout] | [INFO] [stdout] 1028 | go_to_block(System::block_number() + 1, genesis_slot + epoch_duration * 4); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 20 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1030:27 [INFO] [stdout] | [INFO] [stdout] 1030 | assert_eq!(EpochIndex::::get(), 4); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1005 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1031:27 [INFO] [stdout] | [INFO] [stdout] 1031 | assert_eq!(Randomness::::get(), randomness_for_epoch_2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1005 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:1035:30 [INFO] [stdout] | [INFO] [stdout] 1035 | assert_eq!(SkippedEpochs::::get(), vec![(4, 2)]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1005 | fn skipping_over_epochs_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstU128` and `OnInitialize` [INFO] [stdout] --> src/mock.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | traits::{ConstU128, ConstU32, ConstU64, OnInitialize}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_support::traits::OnFinalize` [INFO] [stdout] --> src/mock.rs:208:6 [INFO] [stdout] | [INFO] [stdout] 208 | use frame_support::traits::OnFinalize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Currency`, `EstimateNextSessionRotation`, `KeyOwnerProofSystem`, and `OnFinalize` [INFO] [stdout] --> src/tests.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | traits::{Currency, EstimateNextSessionRotation, KeyOwnerProofSystem, OnFinalize}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pallet_session::ShouldEndSession` [INFO] [stdout] --> src/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use pallet_session::ShouldEndSession; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | type FullIdentificationOf = pallet_staking::UnitIdentificationOf; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_offences` [INFO] [stdout] --> src/mock.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 182 | impl pallet_offences::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_offences` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_offences`, use `cargo add pallet_offences` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/mock.rs:210:2 [INFO] [stdout] | [INFO] [stdout] 210 | Babe::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | Session::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:212:2 [INFO] [stdout] | [INFO] [stdout] 212 | Staking::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/mock.rs:226:2 [INFO] [stdout] | [INFO] [stdout] 226 | Babe::on_initialize(n); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:227:2 [INFO] [stdout] | [INFO] [stdout] 227 | Session::on_initialize(n); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:228:2 [INFO] [stdout] | [INFO] [stdout] 228 | Staking::on_initialize(n); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | let missing = (session_index - Session::current_index()) * 3; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(Session::current_index(), session_index); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:325:2 [INFO] [stdout] | [INFO] [stdout] 325 | pallet_balances::GenesisConfig:: { balances, ..Default::default() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_balances`, use `cargo add pallet_balances` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | let staking_config = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/mock.rs:380:44 [INFO] [stdout] | [INFO] [stdout] 380 | Timestamp::set_timestamp(*current_slot * Babe::slot_duration()); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | assert!(!Babe::should_end_session(0), "Genesis does not change sessions"); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | !Babe::should_end_session(200000), [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(!Babe::should_end_session(1)); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | Babe::on_finalize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | Babe::initialize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | Babe::on_finalize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | Babe::initialize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | Babe::on_finalize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | Babe::initialize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | Babe::on_finalize(1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | Babe::find_author((&[(BABE_ENGINE_ID, &[][..])]).into_iter().cloned()), [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | assert_eq!(*Babe::current_epoch_start(), 9); // next change will be 12, 2 slots from now [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | assert_eq!(Babe::next_expected_epoch_change(System::block_number()), Some(5 + 2)); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(Babe::estimate_next_session_rotation(i).0.unwrap(), 4); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 247 | if Babe::estimate_next_session_rotation(i).0.unwrap() - 1 == i { [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:249:6 [INFO] [stdout] | [INFO] [stdout] 249 | Babe::estimate_current_session_progress(i).0.unwrap(), [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:254:6 [INFO] [stdout] | [INFO] [stdout] 254 | Babe::estimate_current_session_progress(i).0.unwrap() < [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | Babe::estimate_current_session_progress(4).0.unwrap(), [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:300:3 [INFO] [stdout] | [INFO] [stdout] 300 | Babe::plan_config_change( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | RuntimeOrigin::root(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:310:3 [INFO] [stdout] | [INFO] [stdout] 310 | Babe::on_finalize(9); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let res = Babe::plan_config_change(RuntimeOrigin::none(), next_config.clone()); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:335:38 [INFO] [stdout] | [INFO] [stdout] 335 | let res = Babe::plan_config_change(RuntimeOrigin::none(), next_config.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let res = Babe::plan_config_change(RuntimeOrigin::signed(1), next_config.clone()); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | let res = Babe::plan_config_change(RuntimeOrigin::signed(1), next_config.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let res = Babe::plan_config_change(RuntimeOrigin::root(), next_config); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:343:38 [INFO] [stdout] | [INFO] [stdout] 343 | let res = Babe::plan_config_change(RuntimeOrigin::root(), next_config); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | assert_eq!(Babe::current_epoch().authorities, Babe::next_epoch().authorities); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:358:49 [INFO] [stdout] | [INFO] [stdout] 358 | assert_eq!(Babe::current_epoch().authorities, Babe::next_epoch().authorities); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:365:23 [INFO] [stdout] | [INFO] [stdout] 365 | let current_epoch = Babe::current_epoch(); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | let next_epoch = Babe::next_epoch(); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:417:3 [INFO] [stdout] | [INFO] [stdout] 417 | Session::disable_index(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:426:3 [INFO] [stdout] | [INFO] [stdout] 426 | Session::disable_index(0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:441:20 [INFO] [stdout] | [INFO] [stdout] 441 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | assert_eq!(Balances::total_balance(validator), 10_000_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:446:15 [INFO] [stdout] | [INFO] [stdout] 446 | assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | Staking::eras_stakers(1, &validator), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:456:32 [INFO] [stdout] | [INFO] [stdout] 456 | let offending_validator_id = Session::validators()[offending_validator_index]; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:472:25 [INFO] [stdout] | [INFO] [stdout] 472 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:475:3 [INFO] [stdout] | [INFO] [stdout] 475 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:476:4 [INFO] [stdout] | [INFO] [stdout] 476 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | assert_eq!(Balances::total_balance(&offending_validator_id), 10_000_000 - 10_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:490:4 [INFO] [stdout] | [INFO] [stdout] 490 | Staking::eras_stakers(2, &offending_validator_id), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | pallet_staking::Exposure { total: 0, own: 0, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:500:15 [INFO] [stdout] | [INFO] [stdout] 500 | assert_eq!(Balances::total_balance(validator), 10_000_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:501:15 [INFO] [stdout] | [INFO] [stdout] 501 | assert_eq!(Staking::slashable_balance_of(validator), 10_000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | Staking::eras_stakers(2, &validator), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:521:32 [INFO] [stdout] | [INFO] [stdout] 521 | let offending_validator_id = Session::validators()[offending_validator_index]; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:543:14 [INFO] [stdout] | [INFO] [stdout] 543 | assert_eq!(Balances::total_balance(&offending_validator_id), 10_000_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:544:14 [INFO] [stdout] | [INFO] [stdout] 544 | assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 10_000); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:547:3 [INFO] [stdout] | [INFO] [stdout] 547 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:548:4 [INFO] [stdout] | [INFO] [stdout] 548 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:559:14 [INFO] [stdout] | [INFO] [stdout] 559 | assert_eq!(Balances::total_balance(&offending_validator_id), 10_000_000 - 10_000); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:560:14 [INFO] [stdout] | [INFO] [stdout] 560 | assert_eq!(Staking::slashable_balance_of(&offending_validator_id), 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:562:4 [INFO] [stdout] | [INFO] [stdout] 562 | Staking::eras_stakers(3, &offending_validator_id), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:563:4 [INFO] [stdout] | [INFO] [stdout] 563 | pallet_staking::Exposure { total: 0, own: 0, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:593:29 [INFO] [stdout] | [INFO] [stdout] 593 | let mut key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:599:4 [INFO] [stdout] | [INFO] [stdout] 599 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:610:25 [INFO] [stdout] | [INFO] [stdout] 610 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:619:4 [INFO] [stdout] | [INFO] [stdout] 619 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 620 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:649:25 [INFO] [stdout] | [INFO] [stdout] 649 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 653 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:654:6 [INFO] [stdout] | [INFO] [stdout] 654 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:759:25 [INFO] [stdout] | [INFO] [stdout] 759 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:795:3 [INFO] [stdout] | [INFO] [stdout] 795 | Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:796:4 [INFO] [stdout] | [INFO] [stdout] 796 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:872:25 [INFO] [stdout] | [INFO] [stdout] 872 | let key_owner_proof = Historical::prove(key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:879:14 [INFO] [stdout] | [INFO] [stdout] 879 | assert_ok!(Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:880:4 [INFO] [stdout] | [INFO] [stdout] 880 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:902:4 [INFO] [stdout] | [INFO] [stdout] 902 | Historical::prove((sp_consensus_babe::KEY_TYPE, &offending_authority_pair.public())) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:918:19 [INFO] [stdout] | [INFO] [stdout] 918 | let post_info = Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:919:4 [INFO] [stdout] | [INFO] [stdout] 919 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:932:19 [INFO] [stdout] | [INFO] [stdout] 932 | let post_info = Babe::report_equivocation_unsigned( [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:933:4 [INFO] [stdout] | [INFO] [stdout] 933 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:1038:14 [INFO] [stdout] | [INFO] [stdout] 1038 | assert_eq!(Babe::session_index_for_epoch(0), 0); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:1039:14 [INFO] [stdout] | [INFO] [stdout] 1039 | assert_eq!(Babe::session_index_for_epoch(1), 1); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:1042:14 [INFO] [stdout] | [INFO] [stdout] 1042 | assert_eq!(Babe::session_index_for_epoch(4), 2); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Babe` [INFO] [stdout] --> src/tests.rs:1043:14 [INFO] [stdout] | [INFO] [stdout] 1043 | assert_eq!(Babe::session_index_for_epoch(5), 3); [INFO] [stdout] | ^^^^ use of undeclared type `Babe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-babe` (lib test) due to 280 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d13746c6cbfcd3fb5bd82a2d629ca2b5a1a840940c29e02745069bd836a3000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d13746c6cbfcd3fb5bd82a2d629ca2b5a1a840940c29e02745069bd836a3000", kill_on_drop: false }` [INFO] [stdout] 7d13746c6cbfcd3fb5bd82a2d629ca2b5a1a840940c29e02745069bd836a3000