[INFO] fetching crate pallet-grandpa 40.0.0... [INFO] testing pallet-grandpa-40.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pallet-grandpa 40.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate pallet-grandpa 40.0.0 [INFO] finished tweaking crates.io crate pallet-grandpa 40.0.0 [INFO] tweaked toml for crates.io crate pallet-grandpa 40.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pallet-grandpa 40.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 365 packages to latest compatible versions [INFO] [stderr] Adding unicode-normalization v0.1.22 (available: v0.1.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded w3f-bls v0.1.9 [INFO] [stderr] Downloaded sp-api-proc-macro v22.0.1 [INFO] [stderr] Downloaded sp-session v38.1.0 [INFO] [stderr] Downloaded sp-consensus-grandpa v23.1.0 [INFO] [stderr] Downloaded pallet-authorship v40.0.0 [INFO] [stderr] Downloaded pallet-timestamp v39.0.0 [INFO] [stderr] Downloaded sp-io v40.0.1 [INFO] [stderr] Downloaded frame-benchmarking v40.2.0 [INFO] [stderr] Downloaded pallet-session v40.0.1 [INFO] [stderr] Downloaded frame-support-procedural v33.0.1 [INFO] [stderr] Downloaded finality-grandpa v0.16.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a1ac226906a10d92de04b67c1bad9577bf654c1b8966686b9378132560b4bf8 [INFO] running `Command { std: "docker" "start" "-a" "6a1ac226906a10d92de04b67c1bad9577bf654c1b8966686b9378132560b4bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a1ac226906a10d92de04b67c1bad9577bf654c1b8966686b9378132560b4bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a1ac226906a10d92de04b67c1bad9577bf654c1b8966686b9378132560b4bf8", kill_on_drop: false }` [INFO] [stdout] 6a1ac226906a10d92de04b67c1bad9577bf654c1b8966686b9378132560b4bf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2e2c855407234fd52fd37df44b0b2a1fba9a4602c8cdad25bc95495f9f91e2c6 [INFO] running `Command { std: "docker" "start" "-a" "2e2c855407234fd52fd37df44b0b2a1fba9a4602c8cdad25bc95495f9f91e2c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling expander v2.2.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling hash-db v0.16.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling impl-num-traits v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling file-guard v0.2.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling environmental v1.1.4 [INFO] [stderr] Compiling hex-conservative v0.1.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling common-path v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling sp-std v14.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Compiling trie-root v0.18.0 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling trie-db v0.30.0 [INFO] [stderr] Compiling memory-db v0.32.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sp-io v40.0.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling simple-mermaid v0.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tuplex v0.1.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling schnellru v0.2.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling parity-wasm v0.45.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling tt-call v1.0.9 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-warning v1.84.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling dyn-clonable v0.9.2 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v12.0.0 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling sp-crypto-hashing v0.1.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling sp-panic-handler v13.0.2 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sp-crypto-hashing-proc-macro v0.1.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ed25519-zebra v4.0.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling parity-bip39 v2.0.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling schnorrkel v0.11.4 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ss58-registry v1.51.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling substrate-bip39 v0.6.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [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 sp-runtime-interface-proc-macro v18.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v22.0.1 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling frame-support-procedural v33.0.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling sp-storage v22.0.0 [INFO] [stderr] Compiling impl-codec v0.7.1 [INFO] [stderr] Compiling sp-tracing v17.1.0 [INFO] [stderr] Compiling sp-wasm-interface v21.0.1 [INFO] [stderr] Compiling binary-merkle-tree v16.0.0 [INFO] [stderr] Compiling sp-version-proc-macro v15.0.0 [INFO] [stderr] Compiling sp-externalities v0.30.0 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling primitive-types v0.13.1 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling frame-metadata v20.0.0 [INFO] [stderr] Compiling finality-grandpa v0.16.3 [INFO] [stderr] Compiling sp-metadata-ir v0.10.0 [INFO] [stderr] Compiling sp-runtime-interface v29.0.1 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling sp-core v36.1.0 [INFO] [stderr] Compiling sp-trie v39.1.0 [INFO] [stderr] Compiling sp-keystore v0.42.0 [INFO] [stderr] Compiling sp-state-machine v0.45.0 [INFO] [stderr] Compiling sp-application-crypto v40.1.0 [INFO] [stderr] Compiling sp-runtime v41.1.0 [INFO] [stderr] Compiling sp-version v39.0.0 [INFO] [stderr] Compiling sp-inherents v36.0.0 [INFO] [stderr] Compiling sp-staking v38.0.0 [INFO] [stderr] Compiling sp-api v36.0.1 [INFO] [stderr] Compiling sp-genesis-builder v0.17.0 [INFO] [stderr] Compiling sp-session v38.1.0 [INFO] [stderr] Compiling sp-consensus-grandpa v23.1.0 [INFO] [stderr] Compiling frame-support v40.1.0 [INFO] [stderr] Compiling sp-timestamp v36.0.0 [INFO] [stderr] Compiling frame-system v40.1.0 [INFO] [stderr] Compiling pallet-timestamp v39.0.0 [INFO] [stderr] Compiling pallet-authorship v40.0.0 [INFO] [stderr] Compiling pallet-session v40.0.1 [INFO] [stderr] Compiling pallet-grandpa v40.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: trie-db v0.30.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2e2c855407234fd52fd37df44b0b2a1fba9a4602c8cdad25bc95495f9f91e2c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2c855407234fd52fd37df44b0b2a1fba9a4602c8cdad25bc95495f9f91e2c6", kill_on_drop: false }` [INFO] [stdout] 2e2c855407234fd52fd37df44b0b2a1fba9a4602c8cdad25bc95495f9f91e2c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0c090a24e04c3d014d4df6418df246eaddf05fe8c31003b7d49db1597643937e [INFO] running `Command { std: "docker" "start" "-a" "0c090a24e04c3d014d4df6418df246eaddf05fe8c31003b7d49db1597643937e", kill_on_drop: false }` [INFO] [stderr] Compiling finality-grandpa v0.16.3 [INFO] [stderr] Compiling sp-consensus-grandpa v23.1.0 [INFO] [stderr] Compiling pallet-grandpa v40.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: attributes on expressions are experimental [INFO] [stdout] --> src/benchmarking.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[block] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #15701 for more information [INFO] [stdout] = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use frame_benchmarking::v2::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_benchmarking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_benchmarking`, use `cargo add frame_benchmarking` 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 `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | 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-40.0.1/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `historical` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-40.0.1/src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "historical")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support` [INFO] [stdout] --> src/mock.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use frame_election_provider_support::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `frame_election_provider_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `frame_election_provider_support`, use `cargo add frame_election_provider_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/mock.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use sp_keyring::Ed25519Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_keyring` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_keyring`, use `cargo add sp_keyring` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use sp_keyring::Ed25519Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sp_keyring` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sp_keyring`, use `cargo add sp_keyring` 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:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | #[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:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | #[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: cannot find attribute `benchmarks` in this scope [INFO] [stdout] --> src/benchmarking.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[benchmarks] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `benchmarks` is in scope, but it is a module, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `benchmark` in this scope [INFO] [stdout] --> src/benchmarking.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | #[benchmark] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `block` in this scope [INFO] [stdout] --> src/benchmarking.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[block] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `benchmark` in this scope [INFO] [stdout] --> src/benchmarking.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | #[benchmark] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `extrinsic_call` in this scope [INFO] [stdout] --> src/benchmarking.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | #[extrinsic_call] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `impl_benchmark_test_suite` in this scope [INFO] [stdout] --> src/benchmarking.rs:75:2 [INFO] [stdout] | [INFO] [stdout] 75 | impl_benchmark_test_suite!( [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:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | 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-40.0.1/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `historical` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-40.0.1/src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "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:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | 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-40.0.1/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `historical` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-40.0.1/src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "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-40.0.1/src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub mod historical; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `historical` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pallet-session-40.0.1/src/lib.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(feature = "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:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | force_era: pallet_staking::Forcing::ForceNew, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/mock.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(era_index)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Linear` in this scope [INFO] [stdout] --> src/benchmarking.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | fn check_equivocation_proof(x: Linear<0, 1>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/benchmarking.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | assert!(Stalled::::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] 65 | fn note_stalled() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | 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] 46 | 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:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | pub grandpa_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:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | pub grandpa_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-41.1.0/src/traits/mod.rs:2091:19 [INFO] [stdout] | [INFO] [stdout] 209| 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:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | 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:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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-40.1.0/src/lib.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342| 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:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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-40.1.0/src/lib.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344| 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:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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-40.1.0/src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346| 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:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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-40.1.0/src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348| type Self::PalletInfo = (); [INFO] [stdout] | ++++++ [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 22 + use frame_support::traits::PalletInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope [INFO] [stdout] --> src/mock.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | #[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-40.1.0/src/lib.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350| 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:75:62 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:2 [INFO] [stdout] | [INFO] [stdout] 77 | RuntimeCall: From, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 77 | 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:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | type RuntimeCall = RuntimeCall; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 79 | 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:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | type Extrinsic = TestXt; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 80 | type Extrinsic = TestXt; [INFO] [stdout] | ++++++ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 75 | 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:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | impl frame_system::offchain::CreateInherent 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:85:2 [INFO] [stdout] | [INFO] [stdout] 85 | 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:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | 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:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 99 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope [INFO] [stdout] --> src/mock.rs:104:77 [INFO] [stdout] | [INFO] [stdout] 104 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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] 104 - type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] 104 + type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 98 | impl pallet_session::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:111:45 [INFO] [stdout] | [INFO] [stdout] 111 | 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 `Test` in this scope [INFO] [stdout] --> src/mock.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | impl pallet_authorship::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope [INFO] [stdout] --> src/mock.rs: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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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 `RuntimeEvent` in this scope [INFO] [stdout] --> src/mock.rs:195:22 [INFO] [stdout] | [INFO] [stdout] 195 | type RuntimeEvent = RuntimeEvent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the associated type [INFO] [stdout] | [INFO] [stdout] 195 | type RuntimeEvent = Self::RuntimeEvent; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Offences` in this scope [INFO] [stdout] --> src/mock.rs:202:41 [INFO] [stdout] | [INFO] [stdout] 202 | 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:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | 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 `Test` in this scope [INFO] [stdout] --> src/mock.rs:226:44 [INFO] [stdout] | [INFO] [stdout] 226 | 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] 225 | pub fn new_test_ext_raw_authorities(authorities: AuthorityList) -> 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:230:35 [INFO] [stdout] | [INFO] [stdout] 230 | 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] 225 | pub fn new_test_ext_raw_authorities(authorities: AuthorityList) -> 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:249:34 [INFO] [stdout] | [INFO] [stdout] 249 | 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] 225 | pub fn new_test_ext_raw_authorities(authorities: AuthorityList) -> 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:255:41 [INFO] [stdout] | [INFO] [stdout] 255 | .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] 22 + use sp_staking::StakerStatus; [INFO] [stdout] | [INFO] [stdout] help: if you import `StakerStatus`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 255 - .map(|i| (i as u64, i as u64, 10_000, pallet_staking::StakerStatus::::Validator)) [INFO] [stdout] 255 + .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:258:55 [INFO] [stdout] | [INFO] [stdout] 258 | 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] 225 | pub fn new_test_ext_raw_authorities(authorities: AuthorityList) -> 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:274:3 [INFO] [stdout] | [INFO] [stdout] 274 | System::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | System::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:275:24 [INFO] [stdout] | [INFO] [stdout] 275 | 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] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 276 | 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] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | Grandpa::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] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:279:24 [INFO] [stdout] | [INFO] [stdout] 279 | 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] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 280 | let hdr = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | System::parent_hash() [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:286:3 [INFO] [stdout] | [INFO] [stdout] 286 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:287:3 [INFO] [stdout] | [INFO] [stdout] 287 | System::initialize(&(i as u64 + 1), &parent_hash, &Default::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:288:3 [INFO] [stdout] | [INFO] [stdout] 288 | System::set_block_number((i + 1).into()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + 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:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | Timestamp::set_timestamp(System::block_number() * 6000); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 22 + use sp_core::offchain::Timestamp; [INFO] [stdout] | [INFO] [stdout] 22 + 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:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | Timestamp::set_timestamp(System::block_number() * 6000); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 291 | System::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | System::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | Session::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:293:26 [INFO] [stdout] | [INFO] [stdout] 293 | Staking::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 294 | Grandpa::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/mock.rs:302:42 [INFO] [stdout] | [INFO] [stdout] 302 | 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] 300 | pub fn start_era(era_index: EraIndex) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:306:2 [INFO] [stdout] | [INFO] [stdout] 306 | System::reset_events(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/mock.rs:307:2 [INFO] [stdout] | [INFO] [stdout] 307 | System::initialize(&number, &parent_hash, &Default::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | System::note_finished_extrinsics(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(System::events(), vec![]); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | System::note_finished_extrinsics(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let _header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | System::events(), [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(PendingChange::::exists()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | Error::::ChangePending [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(PendingChange::::exists()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | Error::::ChangePending [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | let header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | assert!(!PendingChange::::exists()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 109 | fn cannot_schedule_change_when_one_pending() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let _header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(PendingChange::::exists()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | Error::::ChangePending [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let mut header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(PendingChange::::get().unwrap().forced.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] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(NextForced::::get(), Some(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | Error::::ChangePending [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | Error::::ChangePending [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | assert!(!PendingChange::::exists()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | assert!(PendingChange::::exists()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | Error::::ChangePending [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:207:29 [INFO] [stdout] | [INFO] [stdout] 207 | assert!(!PendingChange::::exists()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | assert_eq!(NextForced::::get(), Some(11)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | Error::::TooSoon [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | assert!(!PendingChange::::exists()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | assert_eq!(NextForced::::get(), Some(21)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn dispatch_forced_change() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | header = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | State::::get(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 235 | fn schedule_pause_only_when_live() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:248:11 [INFO] [stdout] | [INFO] [stdout] 248 | let _ = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:253:52 [INFO] [stdout] | [INFO] [stdout] 253 | assert_noop!(Grandpa::schedule_pause(1), Error::::PauseFailed); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 235 | fn schedule_pause_only_when_live() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:256:11 [INFO] [stdout] | [INFO] [stdout] 256 | let _ = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(State::::get(), StoredState::Paused); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 235 | fn schedule_pause_only_when_live() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:269:53 [INFO] [stdout] | [INFO] [stdout] 269 | assert_noop!(Grandpa::schedule_resume(1), Error::::ResumeFailed); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 264 | fn schedule_resume_only_when_paused() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(State::::get(), StoredState::Live); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 264 | fn schedule_resume_only_when_paused() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | let _ = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(State::::get(), StoredState::Paused); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 264 | fn schedule_resume_only_when_paused() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:284:11 [INFO] [stdout] | [INFO] [stdout] 284 | let _ = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 288 | let _ = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System` [INFO] [stdout] --> src/tests.rs:292:11 [INFO] [stdout] | [INFO] [stdout] 292 | let _ = System::finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `System` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(State::::get(), StoredState::Live); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 264 | fn schedule_resume_only_when_paused() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:325:43 [INFO] [stdout] | [INFO] [stdout] 325 | assert_eq!(pallet_staking::CurrentEra::::get(), Some(0)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 321 | fn report_equivocation_current_set_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:348:31 [INFO] [stdout] | [INFO] [stdout] 348 | let set_id = CurrentSetId::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 321 | fn report_equivocation_current_set_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | let set_id = CurrentSetId::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 399 | fn report_equivocation_old_set_works() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:493:31 [INFO] [stdout] | [INFO] [stdout] 493 | let set_id = CurrentSetId::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 478 | fn report_equivocation_invalid_set_id() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:509:12 [INFO] [stdout] | [INFO] [stdout] 509 | 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] 478 | fn report_equivocation_invalid_set_id() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:533:31 [INFO] [stdout] | [INFO] [stdout] 533 | let set_id = CurrentSetId::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 515 | fn report_equivocation_invalid_session() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | Error::::InvalidEquivocationProof, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 515 | fn report_equivocation_invalid_session() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:574:31 [INFO] [stdout] | [INFO] [stdout] 574 | let set_id = CurrentSetId::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 556 | 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:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | 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] 556 | 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:617:31 [INFO] [stdout] | [INFO] [stdout] 617 | let set_id = CurrentSetId::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 601 | fn 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:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | 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] 601 | 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:681:31 [INFO] [stdout] | [INFO] [stdout] 681 | let set_id = CurrentSetId::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 664 | fn report_equivocation_validate_unsigned_prevents_duplicates() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope [INFO] [stdout] --> src/tests.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | ::validate_unsigned( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope [INFO] [stdout] --> src/tests.rs:710:5 [INFO] [stdout] | [INFO] [stdout] 710 | ::validate_unsigned( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope [INFO] [stdout] --> src/tests.rs:724:15 [INFO] [stdout] | [INFO] [stdout] 724 | assert_ok!(::pre_dispatch(&call)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope [INFO] [stdout] --> src/tests.rs:737:5 [INFO] [stdout] | [INFO] [stdout] 737 | ::validate_unsigned( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Grandpa` in this scope [INFO] [stdout] --> src/tests.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | ::pre_dispatch(&call), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:754:29 [INFO] [stdout] | [INFO] [stdout] 754 | assert_eq!(CurrentSetId::::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] 752 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:759:29 [INFO] [stdout] | [INFO] [stdout] 759 | assert_eq!(CurrentSetId::::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] 752 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:767:29 [INFO] [stdout] | [INFO] [stdout] 767 | assert_eq!(CurrentSetId::::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] 752 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:771:29 [INFO] [stdout] | [INFO] [stdout] 771 | assert_eq!(CurrentSetId::::get(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 752 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:775:16 [INFO] [stdout] | [INFO] [stdout] 775 | NextForced::::put(1000); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 752 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:776:13 [INFO] [stdout] | [INFO] [stdout] 776 | Stalled::::put((30, 1)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 752 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:782:29 [INFO] [stdout] | [INFO] [stdout] 782 | assert_eq!(CurrentSetId::::get(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 752 | fn on_new_session_doesnt_start_new_set_if_schedule_change_failed() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:796:27 [INFO] [stdout] | [INFO] [stdout] 796 | assert!(SetIdSession::::get(i as u64).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 787 | fn cleans_up_old_set_id_session_mappings() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:803:27 [INFO] [stdout] | [INFO] [stdout] 803 | assert!(SetIdSession::::get(i as u64).is_some()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 787 | fn cleans_up_old_set_id_session_mappings() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:808:27 [INFO] [stdout] | [INFO] [stdout] 808 | assert!(SetIdSession::::get(i as u64).is_none()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 787 | fn cleans_up_old_set_id_session_mappings() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:818:27 [INFO] [stdout] | [INFO] [stdout] 818 | assert!(PendingChange::::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] 814 | fn always_schedules_a_change_on_new_session_when_stalled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:819:29 [INFO] [stdout] | [INFO] [stdout] 819 | assert_eq!(CurrentSetId::::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] 814 | fn always_schedules_a_change_on_new_session_when_stalled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:825:27 [INFO] [stdout] | [INFO] [stdout] 825 | assert!(PendingChange::::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] 814 | fn always_schedules_a_change_on_new_session_when_stalled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:826:29 [INFO] [stdout] | [INFO] [stdout] 826 | assert_eq!(CurrentSetId::::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] 814 | fn always_schedules_a_change_on_new_session_when_stalled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:830:13 [INFO] [stdout] | [INFO] [stdout] 830 | Stalled::::put((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] 814 | fn always_schedules_a_change_on_new_session_when_stalled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:833:27 [INFO] [stdout] | [INFO] [stdout] 833 | assert!(PendingChange::::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] 814 | fn always_schedules_a_change_on_new_session_when_stalled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:834:27 [INFO] [stdout] | [INFO] [stdout] 834 | assert!(PendingChange::::get().unwrap().forced.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] 814 | fn always_schedules_a_change_on_new_session_when_stalled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:835:29 [INFO] [stdout] | [INFO] [stdout] 835 | assert_eq!(CurrentSetId::::get(), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 814 | fn always_schedules_a_change_on_new_session_when_stalled() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Test` in this scope [INFO] [stdout] --> src/tests.rs:844:22 [INFO] [stdout] | [INFO] [stdout] 844 | .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:852:22 [INFO] [stdout] | [INFO] [stdout] 852 | .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:867:31 [INFO] [stdout] | [INFO] [stdout] 867 | let set_id = CurrentSetId::::get(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 859 | 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:881:21 [INFO] [stdout] | [INFO] [stdout] 881 | 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] 859 | fn valid_equivocation_reports_dont_pay_fees() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as pallet_grandpa` [INFO] [stdout] --> src/mock.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::{self as pallet_grandpa, AuthorityId, AuthorityList, Config, ConsensusLog}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConstU128`, `OnFinalize`, and `OnInitialize` [INFO] [stdout] --> src/mock.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | traits::{ConstU128, ConstU32, ConstU64, OnFinalize, OnInitialize}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Currency`, `KeyOwnerProofSystem`, `OnFinalize`, and `OneSessionHandler` [INFO] [stdout] --> src/tests.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | traits::{Currency, KeyOwnerProofSystem, OnFinalize, OneSessionHandler}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> src/benchmarking.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | _(RawOrigin::Root, delay, best_finalized_block_number); [INFO] [stdout] | ^ `_` not allowed here [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:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | 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:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | type ValidatorIdOf = pallet_staking::StashOf; [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:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | type FullIdentificationOf = pallet_staking::NullIdentity; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_timestamp` [INFO] [stdout] --> src/mock.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 128 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_timestamp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_timestamp`, use `cargo add pallet_timestamp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_offences` [INFO] [stdout] --> src/mock.rs: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 unresolved module or unlinked crate `pallet_balances` [INFO] [stdout] --> src/mock.rs:230:2 [INFO] [stdout] | [INFO] [stdout] 230 | 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:258:23 [INFO] [stdout] | [INFO] [stdout] 258 | 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 `Session` [INFO] [stdout] --> src/mock.rs:273:11 [INFO] [stdout] | [INFO] [stdout] 273 | for i in Session::current_index()..session_index { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 275 | 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:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | 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 `Grandpa` [INFO] [stdout] --> src/mock.rs:277:3 [INFO] [stdout] | [INFO] [stdout] 277 | Grandpa::on_finalize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:292:3 [INFO] [stdout] | [INFO] [stdout] 292 | Session::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/mock.rs:293:3 [INFO] [stdout] | [INFO] [stdout] 293 | Staking::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/mock.rs:294:3 [INFO] [stdout] | [INFO] [stdout] 294 | Grandpa::on_initialize(System::block_number()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/mock.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(Session::current_index(), session_index); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 0, None).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | Grandpa::on_finalize(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 1, None).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | Grandpa::on_finalize(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | Grandpa::on_finalize(2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 1, None).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | Grandpa::on_finalize(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | Grandpa::on_finalize(2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | assert_ok!(Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | Grandpa::on_finalize(3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | Grandpa::schedule_change(to_authorities(vec![(4, 1), (5, 1), (6, 1)]), 5, Some(0)).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, Some(0)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | Grandpa::on_finalize(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, Some(0)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:169:4 [INFO] [stdout] | [INFO] [stdout] 169 | Grandpa::on_finalize(i); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | Grandpa::grandpa_authorities(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | assert_ok!(Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | Grandpa::on_finalize(7); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | Grandpa::grandpa_authorities(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | Grandpa::schedule_change(to_authorities(vec![(5, 1)]), 1, None), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | Grandpa::on_finalize(8); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | assert_eq!(Grandpa::grandpa_authorities(), to_authorities(vec![(5, 1)])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | Grandpa::schedule_change(to_authorities(vec![(5, 1), (6, 1)]), 5, Some(0)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | Grandpa::on_finalize(i); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | assert_ok!(Grandpa::schedule_change( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | Grandpa::on_finalize(11); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:239:3 [INFO] [stdout] | [INFO] [stdout] 239 | Grandpa::schedule_pause(1).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:247:3 [INFO] [stdout] | [INFO] [stdout] 247 | Grandpa::on_finalize(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | assert_noop!(Grandpa::schedule_pause(1), Error::::PauseFailed); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:255:3 [INFO] [stdout] | [INFO] [stdout] 255 | Grandpa::on_finalize(2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:269:16 [INFO] [stdout] | [INFO] [stdout] 269 | assert_noop!(Grandpa::schedule_resume(1), Error::::ResumeFailed); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:274:3 [INFO] [stdout] | [INFO] [stdout] 274 | Grandpa::schedule_pause(0).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 275 | Grandpa::on_finalize(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:282:3 [INFO] [stdout] | [INFO] [stdout] 282 | Grandpa::schedule_resume(2).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | Grandpa::on_finalize(2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:287:3 [INFO] [stdout] | [INFO] [stdout] 287 | Grandpa::on_finalize(3); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:291:3 [INFO] [stdout] | [INFO] [stdout] 291 | Grandpa::on_finalize(4); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | assert_eq!(Session::current_index(), 0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | let authorities = Grandpa::grandpa_authorities(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | 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:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | 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:336:15 [INFO] [stdout] | [INFO] [stdout] 336 | 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:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | 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:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pallet_staking`, use `cargo add pallet_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:363:14 [INFO] [stdout] | [INFO] [stdout] 363 | assert_ok!(Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:364:4 [INFO] [stdout] | [INFO] [stdout] 364 | 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:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(Balances::total_balance(&equivocation_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:375:14 [INFO] [stdout] | [INFO] [stdout] 375 | assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:377:4 [INFO] [stdout] | [INFO] [stdout] 377 | Staking::eras_stakers(2, &equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | 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:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | 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:388:15 [INFO] [stdout] | [INFO] [stdout] 388 | 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:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | 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:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | 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 `Grandpa` [INFO] [stdout] --> src/tests.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | let authorities = Grandpa::grandpa_authorities(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session` [INFO] [stdout] --> src/tests.rs:406:20 [INFO] [stdout] | [INFO] [stdout] 406 | let validators = Session::validators(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances` [INFO] [stdout] --> src/tests.rs:419:15 [INFO] [stdout] | [INFO] [stdout] 419 | 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:420:15 [INFO] [stdout] | [INFO] [stdout] 420 | 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:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:5 [INFO] [stdout] | [INFO] [stdout] 424 | 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 `Grandpa` [INFO] [stdout] --> src/tests.rs:441:14 [INFO] [stdout] | [INFO] [stdout] 441 | assert_ok!(Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:442:4 [INFO] [stdout] | [INFO] [stdout] 442 | 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:452:14 [INFO] [stdout] | [INFO] [stdout] 452 | assert_eq!(Balances::total_balance(&equivocation_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:453:14 [INFO] [stdout] | [INFO] [stdout] 453 | assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking` [INFO] [stdout] --> src/tests.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | Staking::eras_stakers(3, &equivocation_validator_id), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | 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:466:15 [INFO] [stdout] | [INFO] [stdout] 466 | 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:467:15 [INFO] [stdout] | [INFO] [stdout] 467 | 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:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | Staking::eras_stakers(3, &validator), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Staking` [INFO] [stdout] | help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet_staking` [INFO] [stdout] --> src/tests.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | 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 `Grandpa` [INFO] [stdout] --> src/tests.rs:484:21 [INFO] [stdout] | [INFO] [stdout] 484 | let authorities = Grandpa::grandpa_authorities(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:491:4 [INFO] [stdout] | [INFO] [stdout] 491 | Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:504:4 [INFO] [stdout] | [INFO] [stdout] 504 | Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:521:21 [INFO] [stdout] | [INFO] [stdout] 521 | let authorities = Grandpa::grandpa_authorities(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:529:4 [INFO] [stdout] | [INFO] [stdout] 529 | Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:545:4 [INFO] [stdout] | [INFO] [stdout] 545 | Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:546:5 [INFO] [stdout] | [INFO] [stdout] 546 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:561:21 [INFO] [stdout] | [INFO] [stdout] 561 | let authorities = Grandpa::grandpa_authorities(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:568:4 [INFO] [stdout] | [INFO] [stdout] 568 | Historical::prove((sp_consensus_grandpa::KEY_TYPE, &invalid_owner_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:590:4 [INFO] [stdout] | [INFO] [stdout] 590 | Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:607:21 [INFO] [stdout] | [INFO] [stdout] 607 | let authorities = Grandpa::grandpa_authorities(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:615:4 [INFO] [stdout] | [INFO] [stdout] 615 | Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:622:6 [INFO] [stdout] | [INFO] [stdout] 622 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:675:21 [INFO] [stdout] | [INFO] [stdout] 675 | let authorities = Grandpa::grandpa_authorities(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:690:4 [INFO] [stdout] | [INFO] [stdout] 690 | Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:727:3 [INFO] [stdout] | [INFO] [stdout] 727 | Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:728:4 [INFO] [stdout] | [INFO] [stdout] 728 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:765:3 [INFO] [stdout] | [INFO] [stdout] 765 | Grandpa::schedule_change(to_authorities(vec![(1, 1)]), 2, None).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:781:3 [INFO] [stdout] | [INFO] [stdout] 781 | Grandpa::on_new_session(true, std::iter::empty(), std::iter::empty()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:823:3 [INFO] [stdout] | [INFO] [stdout] 823 | Grandpa::on_new_session(false, std::iter::empty(), std::iter::empty()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:831:3 [INFO] [stdout] | [INFO] [stdout] 831 | Grandpa::on_new_session(false, std::iter::empty(), std::iter::empty()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:865:27 [INFO] [stdout] | [INFO] [stdout] 865 | let equivocation_key = &Grandpa::grandpa_authorities()[0].0; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical` [INFO] [stdout] --> src/tests.rs:878:4 [INFO] [stdout] | [INFO] [stdout] 878 | Historical::prove((sp_consensus_grandpa::KEY_TYPE, &equivocation_key)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Historical` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:892:19 [INFO] [stdout] | [INFO] [stdout] 892 | let post_info = Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:893:4 [INFO] [stdout] | [INFO] [stdout] 893 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Grandpa` [INFO] [stdout] --> src/tests.rs:906:19 [INFO] [stdout] | [INFO] [stdout] 906 | let post_info = Grandpa::report_equivocation_unsigned( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin` [INFO] [stdout] --> src/tests.rs:907:4 [INFO] [stdout] | [INFO] [stdout] 907 | RuntimeOrigin::none(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-grandpa` (lib test) due to 290 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c090a24e04c3d014d4df6418df246eaddf05fe8c31003b7d49db1597643937e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c090a24e04c3d014d4df6418df246eaddf05fe8c31003b7d49db1597643937e", kill_on_drop: false }` [INFO] [stdout] 0c090a24e04c3d014d4df6418df246eaddf05fe8c31003b7d49db1597643937e