[INFO] fetching crate pallet-root-offences 35.0.0...
[INFO] checking pallet-root-offences-35.0.0 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate pallet-root-offences 35.0.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate pallet-root-offences 35.0.0 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-root-offences 35.0.0
[INFO] finished tweaking crates.io crate pallet-root-offences 35.0.0
[INFO] tweaked toml for crates.io crate pallet-root-offences 35.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 337 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" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2d86ec7ae8f15d9883735035ee164ecea1c9c4aeba48f6d8950d35ef84dbbbb
[INFO] running `Command { std: "docker" "start" "-a" "c2d86ec7ae8f15d9883735035ee164ecea1c9c4aeba48f6d8950d35ef84dbbbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2d86ec7ae8f15d9883735035ee164ecea1c9c4aeba48f6d8950d35ef84dbbbb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2d86ec7ae8f15d9883735035ee164ecea1c9c4aeba48f6d8950d35ef84dbbbb", kill_on_drop: false }`
[INFO] [stdout] c2d86ec7ae8f15d9883735035ee164ecea1c9c4aeba48f6d8950d35ef84dbbbb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 95069d227bc2fcc38761ba9fd3c91919ecc238c002a2d40a9ec1541be70850e9
[INFO] running `Command { std: "docker" "start" "-a" "95069d227bc2fcc38761ba9fd3c91919ecc238c002a2d40a9ec1541be70850e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling parity-scale-codec v3.7.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking byte-slice-cast v1.2.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling fs-err v2.11.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]    Compiling expander v2.2.1
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling file-guard v0.2.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]     Checking serdect v0.2.0
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling sp-debug-derive v14.0.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.0
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling bitcoin-internals v0.2.0
[INFO] [stderr]     Checking time-core v0.1.2
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking sp-std v14.0.0
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]    Compiling ss58-registry v1.51.0
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking getrandom_or_panic v0.0.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking environmental v1.1.4
[INFO] [stderr]     Checking hex-conservative v0.1.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking scale-info v2.11.6
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-storage v21.0.0
[INFO] [stderr]     Checking sp-externalities v0.29.0
[INFO] [stderr]     Checking sp-tracing v17.0.1
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking bitcoin_hashes v0.13.0
[INFO] [stderr]     Checking sp-wasm-interface v21.0.1
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]     Checking schnorrkel v0.11.4
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking bounded-collections v0.2.2
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v18.0.0
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking sp-crypto-hashing v0.1.0
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking parity-bip39 v2.0.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking substrate-bip39 v0.6.0
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]     Checking ed25519-zebra v4.0.3
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]     Checking hash256-std-hasher v0.15.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]    Compiling common-path v1.0.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]     Checking array-bytes v6.2.3
[INFO] [stderr]     Checking secp256k1 v0.28.2
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking object v0.36.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling docify_macros v0.2.9
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking sp-runtime-interface v28.0.0
[INFO] [stderr]     Checking trie-db v0.29.1
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling sp-io v38.0.0
[INFO] [stderr]     Checking schnellru v0.2.3
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]     Checking simple-mermaid v0.1.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]     Checking docify v0.2.9
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]     Checking sp-arithmetic v26.0.0
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking sp-weights v31.0.0
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]     Checking frame-metadata v16.0.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]    Compiling sp-api-proc-macro v20.0.0
[INFO] [stderr]     Checking sp-core v34.0.0
[INFO] [stderr]     Checking sp-metadata-ir v0.7.0
[INFO] [stderr]    Compiling sp-version-proc-macro v14.0.0
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking sp-panic-handler v13.0.0
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v12.0.0
[INFO] [stderr]    Compiling sp-crypto-hashing-proc-macro v0.1.0
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]    Compiling frame-support-procedural-tools v13.0.0
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling proc-macro-warning v1.0.2
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]    Compiling frame-election-provider-solution-type v14.0.1
[INFO] [stderr]     Checking sp-trie v37.0.0
[INFO] [stderr]     Checking sp-keystore v0.40.0
[INFO] [stderr]     Checking sp-state-machine v0.43.0
[INFO] [stderr]    Compiling frame-support-procedural v30.0.4
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]     Checking sp-application-crypto v38.0.0
[INFO] [stderr]     Checking sp-runtime v39.0.2
[INFO] [stderr]     Checking sp-version v37.0.0
[INFO] [stderr]     Checking sp-inherents v34.0.0
[INFO] [stderr]     Checking sp-staking v36.0.0
[INFO] [stderr]     Checking sp-npos-elections v34.0.0
[INFO] [stderr]     Checking sp-api v34.0.0
[INFO] [stderr]     Checking sp-genesis-builder v0.15.1
[INFO] [stderr]     Checking sp-session v36.0.0
[INFO] [stderr]     Checking frame-support v38.0.0
[INFO] [stderr]     Checking sp-timestamp v34.0.0
[INFO] [stderr]     Checking frame-system v38.0.0
[INFO] [stderr]     Checking pallet-timestamp v37.0.0
[INFO] [stderr]     Checking frame-election-provider-support v38.0.0
[INFO] [stderr]     Checking pallet-authorship v38.0.0
[INFO] [stderr]     Checking pallet-session v38.0.0
[INFO] [stderr]     Checking pallet-staking v38.0.0
[INFO] [stderr]     Checking pallet-root-offences v35.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `frame_election_provider_support`
[INFO] [stdout]   --> src/mock.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use frame_election_provider_support::{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_election_provider_support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `mock::Balances`, `mock::RootOffences`, `mock::RuntimeOrigin`, `mock::System`
[INFO] [stdout]   --> src/tests.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mock::{active_era, start_session, Balances, ExtBuilder, RootOffences, RuntimeOrigin, System};
[INFO] [stdout]    |                                       ^^^^^^^^              ^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^ no `System` in `mock`
[INFO] [stdout]    |                                       |                     |             |
[INFO] [stdout]    |                                       |                     |             no `RuntimeOrigin` in `mock`
[INFO] [stdout]    |                                       |                     no `RootOffences` in `mock`
[INFO] [stdout]    |                                       no `Balances` in `mock`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            std::alloc::System
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mock::{active_era, start_session, Balance, ExtBuilder, RootOffences, RuntimeOrigin, System};
[INFO] [stdout]    |                                       ~~~~~~~
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 20 | use mock::{active_era, start_session, Balances, ExtBuilder, root_offences, RuntimeOrigin, System};
[INFO] [stdout]    |                                                             ~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout]   --> src/mock.rs:92:1
[INFO] [stdout]    |
[INFO] [stdout] 92 | pallet_staking_reward_curve::build! {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:87:15
[INFO] [stdout]    |
[INFO] [stdout] 87 | #[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         Balances: pallet_balances,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:34:47
[INFO] [stdout]    |
[INFO] [stdout] 34 | type Block = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 34 | type Block<Test> = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 | 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:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:308:9
[INFO] [stdout]    |
[INFO] [stdout] 308|             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:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:310:9
[INFO] [stdout]    |
[INFO] [stdout] 310|             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:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:312:9
[INFO] [stdout]    |
[INFO] [stdout] 312|             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:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:314:9
[INFO] [stdout]    |
[INFO] [stdout] 314|             type Self::PalletInfo = ();
[INFO] [stdout]    |                  ++++++
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 18 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeTask` in this scope
[INFO] [stdout]   --> src/mock.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[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-6f17d22bba15001f/frame-system-38.0.0/src/lib.rs:316:9
[INFO] [stdout]    |
[INFO] [stdout] 316|             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:109:16
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type System = 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:118:62
[INFO] [stdout]     |
[INFO] [stdout] 118 |     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:124:43
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub static LedgerSlashPerEra: (BalanceOf<Test>, BTreeMap<EraIndex, BalanceOf<Test>>) = (Zero::zero(), BTreeMap::new());
[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:124:79
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub static LedgerSlashPerEra: (BalanceOf<Test>, BTreeMap<EraIndex, BalanceOf<Test>>) = (Zero::zero(), BTreeMap::new());
[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:33
[INFO] [stdout]     |
[INFO] [stdout] 128 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:129:18
[INFO] [stdout]     |
[INFO] [stdout] 36  | type Balance = u64;
[INFO] [stdout]     | ------------------- similarly named type alias `Balance` defined here
[INFO] [stdout] ...
[INFO] [stdout] 129 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^ help: a type alias with a similar name exists: `Balance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Timestamp` in this scope
[INFO] [stdout]    --> src/mock.rs:131:18
[INFO] [stdout]     |
[INFO] [stdout] 131 |     type UnixTime = Timestamp;
[INFO] [stdout]     |                     ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_runtime::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Session` in this scope
[INFO] [stdout]    --> src/mock.rs:138:24
[INFO] [stdout]     |
[INFO] [stdout] 138 |     type NextNewSession = Session;
[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:127:1
[INFO] [stdout]     |
[INFO] [stdout] 127 | #[derive_impl(pallet_staking::config_preludes::TestDefaultConfig)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `pallet_staking::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-6f17d22bba15001f/pallet-staking-38.0.0/src/pallet/mod.rs:328:9
[INFO] [stdout]     |
[INFO] [stdout] 328 |             type Self::RuntimeEvent = ();
[INFO] [stdout]     |                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:145:45
[INFO] [stdout]     |
[INFO] [stdout] 145 | 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:147:57
[INFO] [stdout]     |
[INFO] [stdout] 147 |     type FullIdentificationOf = pallet_staking::ExposureOf<Test>;
[INFO] [stdout]     |                                                            ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 145 | impl<Test> pallet_session::historical::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:156:33
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl pallet_session::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:157:71
[INFO] [stdout]     |
[INFO] [stdout] 157 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Test, Staking>;
[INFO] [stdout]     |                                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl<Test> pallet_session::Config for Test {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:161:22
[INFO] [stdout]     |
[INFO] [stdout] 161 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 161 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:163:47
[INFO] [stdout]     |
[INFO] [stdout] 163 |     type ValidatorIdOf = pallet_staking::StashOf<Test>;
[INFO] [stdout]     |                                                  ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl<Test> 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:168:35
[INFO] [stdout]     |
[INFO] [stdout] 168 | impl pallet_timestamp::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:175:17
[INFO] [stdout]     |
[INFO] [stdout] 175 | 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:176:22
[INFO] [stdout]     |
[INFO] [stdout] 176 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]     |
[INFO] [stdout] 176 |     type RuntimeEvent = Self::RuntimeEvent;
[INFO] [stdout]     |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io`
[INFO] [stdout]    --> src/mock.rs:198:20
[INFO] [stdout]     |
[INFO] [stdout] 198 |     fn build(self) -> sp_io::TestExternalities {
[INFO] [stdout]     |                       ^^^^^ use of undeclared crate or module `sp_io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:199:51
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let mut storage = frame_system::GenesisConfig::<Test>::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] 197 | impl<Test> ExtBuilder {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:201:36
[INFO] [stdout]     |
[INFO] [stdout] 201 |         pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl<Test> ExtBuilder {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:229:43
[INFO] [stdout]     |
[INFO] [stdout] 229 |         let _ = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl<Test> ExtBuilder {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:234:43
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let _ = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl<Test> ExtBuilder {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:244:43
[INFO] [stdout]     |
[INFO] [stdout] 244 |         let _ = pallet_session::GenesisConfig::<Test> {
[INFO] [stdout]     |                                                 ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl<Test> ExtBuilder {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:286:23
[INFO] [stdout]     |
[INFO] [stdout] 286 |     Staking::on_finalize(System::block_number());
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:287:12
[INFO] [stdout]     |
[INFO] [stdout] 287 |     for b in (System::block_number() + 1)..=n {
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:288:3
[INFO] [stdout]     |
[INFO] [stdout] 288 |         System::set_block_number(b);
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp`
[INFO] [stdout]    --> src/mock.rs:291:3
[INFO] [stdout]     |
[INFO] [stdout] 291 |         Timestamp::set_timestamp(System::block_number() * BLOCK_TIME + INIT_TIMESTAMP);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Timestamp`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_runtime::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:291:28
[INFO] [stdout]     |
[INFO] [stdout] 291 |         Timestamp::set_timestamp(System::block_number() * BLOCK_TIME + INIT_TIMESTAMP);
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:293:25
[INFO] [stdout]     |
[INFO] [stdout] 293 |             Staking::on_finalize(System::block_number());
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]   --> src/mock.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |     type AccountData = pallet_balances::AccountData<u64>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:130:34
[INFO] [stdout]     |
[INFO] [stdout] 130 |     type CurrencyBalance = <Self as pallet_balances::Config>::Balance;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout]    --> src/mock.rs:168:6
[INFO] [stdout]     |
[INFO] [stdout] 168 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances`
[INFO] [stdout]    --> src/mock.rs:201:3
[INFO] [stdout]     |
[INFO] [stdout] 201 |         pallet_balances::GenesisConfig::<Test> {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:272:3
[INFO] [stdout]     |
[INFO] [stdout] 272 |         Session::current_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::current_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:289:3
[INFO] [stdout]     |
[INFO] [stdout] 289 |         Session::on_initialize(b);
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-root-offences` (lib test) due to 50 previous errors
[INFO] running `Command { std: "docker" "inspect" "95069d227bc2fcc38761ba9fd3c91919ecc238c002a2d40a9ec1541be70850e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95069d227bc2fcc38761ba9fd3c91919ecc238c002a2d40a9ec1541be70850e9", kill_on_drop: false }`
[INFO] [stdout] 95069d227bc2fcc38761ba9fd3c91919ecc238c002a2d40a9ec1541be70850e9
