[INFO] fetching crate pallet-grandpa 2.0.0... [INFO] checking pallet-grandpa-2.0.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate pallet-grandpa 2.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pallet-grandpa 2.0.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-grandpa 2.0.0 [INFO] finished tweaking crates.io crate pallet-grandpa 2.0.0 [INFO] tweaked toml for crates.io crate pallet-grandpa 2.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e18e579fdbf0f32e537ce60c4e430e4956bd967e4ac481e61610a5bf18e18cc8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e18e579fdbf0f32e537ce60c4e430e4956bd967e4ac481e61610a5bf18e18cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e18e579fdbf0f32e537ce60c4e430e4956bd967e4ac481e61610a5bf18e18cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e18e579fdbf0f32e537ce60c4e430e4956bd967e4ac481e61610a5bf18e18cc8", kill_on_drop: false }` [INFO] [stdout] e18e579fdbf0f32e537ce60c4e430e4956bd967e4ac481e61610a5bf18e18cc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 73f75450fd3aef402d3d8d3feeb6e974347a31cc02d1f55a54259fd7ec8843b7 [INFO] running `Command { std: "docker" "start" "-a" "73f75450fd3aef402d3d8d3feeb6e974347a31cc02d1f55a54259fd7ec8843b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking environmental v1.1.2 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking dyn-clone v1.0.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking bitmask v0.5.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking ed25519 v1.0.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking trie-db v0.22.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sp-panic-handler v2.0.0 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking statrs v0.10.0 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling sp-debug-derive v2.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v2.0.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking ref-cast v1.0.2 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking linregress v0.1.7 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking tracing-subscriber v0.2.13 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0 [INFO] [stderr] Compiling frame-support-procedural v2.0.0 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.0 [INFO] [stderr] Checking sp-wasm-interface v2.0.0 [INFO] [stderr] Checking sp-tracing v2.0.0 [INFO] [stderr] Checking sp-arithmetic v2.0.0 [INFO] [stderr] Checking finality-grandpa v0.12.3 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking sp-externalities v0.8.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking sp-core v2.0.0 [INFO] [stderr] Checking sp-trie v2.0.0 [INFO] [stderr] Checking sp-inherents v2.0.0 [INFO] [stderr] Checking frame-metadata v12.0.0 [INFO] [stderr] Checking sp-finality-tracker v2.0.0 [INFO] [stderr] Checking sp-state-machine v0.8.0 [INFO] [stderr] Checking sp-io v2.0.0 [INFO] [stderr] Checking sp-application-crypto v2.0.0 [INFO] [stderr] Checking sp-runtime v2.0.0 [INFO] [stderr] Checking sp-version v2.0.0 [INFO] [stderr] Checking frame-support v2.0.0 [INFO] [stderr] Checking sp-staking v2.0.0 [INFO] [stderr] Checking sp-authorship v2.0.0 [INFO] [stderr] Checking sp-api v2.0.0 [INFO] [stderr] Checking sp-timestamp v2.0.0 [INFO] [stderr] Checking sp-session v2.0.0 [INFO] [stderr] Checking sp-finality-grandpa v2.0.0 [INFO] [stderr] Checking frame-system v2.0.0 [INFO] [stderr] Checking frame-benchmarking v2.0.0 [INFO] [stderr] Checking pallet-finality-tracker v2.0.0 [INFO] [stderr] Checking pallet-authorship v2.0.0 [INFO] [stderr] Checking pallet-timestamp v2.0.0 [INFO] [stderr] Checking pallet-session v2.0.0 [INFO] [stderr] Checking pallet-grandpa v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `grandpa` [INFO] [stdout] --> src/mock.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use ::grandpa as finality_grandpa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `grandpa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_staking` [INFO] [stdout] --> src/mock.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use pallet_staking::EraIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_io` [INFO] [stdout] --> src/mock.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use sp_io; [INFO] [stdout] | ^^^^^ no external crate `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/mock.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use sp_keyring::Ed25519Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_keyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_keyring` [INFO] [stdout] --> src/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use sp_keyring::Ed25519Keyring; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_keyring` [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:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | 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:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | pallet_balances, [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_offences` [INFO] [stdout] --> src/mock.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | pallet_offences, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | pallet_staking, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | type AccountData = pallet_balances::AccountData; [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_staking` [INFO] [stdout] --> src/mock.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | type ValidatorIdOf = pallet_staking::StashOf; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | type SessionManager = pallet_session::historical::NoteHistoricalRoot; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | impl pallet_session::historical::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | type FullIdentification = pallet_staking::Exposure; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | type FullIdentificationOf = pallet_staking::ExposureOf; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | impl pallet_balances::Trait for 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 crate or module `pallet_timestamp` [INFO] [stdout] --> src/mock.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 172 | impl pallet_timestamp::Trait 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_staking` [INFO] [stdout] --> src/mock.rs:215:6 [INFO] [stdout] | [INFO] [stdout] 215 | impl pallet_staking::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp` [INFO] [stdout] --> src/mock.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | type UnixTime = pallet_timestamp::Module; [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_offences` [INFO] [stdout] --> src/mock.rs:243:6 [INFO] [stdout] | [INFO] [stdout] 243 | impl pallet_offences::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:245:45 [INFO] [stdout] | [INFO] [stdout] 245 | type IdentificationTuple = pallet_session::historical::IdentificationTuple; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | pub type Balances = pallet_balances::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session` [INFO] [stdout] --> src/mock.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | pub type Historical = pallet_session::historical::Module; [INFO] [stdout] | ^^^^^^^^^^ could not find `historical` in `pallet_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_offences` [INFO] [stdout] --> src/mock.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | pub type Offences = pallet_offences::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_offences` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | pub type Staking = pallet_staking::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_timestamp` [INFO] [stdout] --> src/mock.rs:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | pub type Timestamp = pallet_timestamp::Module; [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_staking` [INFO] [stdout] --> src/mock.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | pallet_staking::StakerStatus::::Validator, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:344:2 [INFO] [stdout] | [INFO] [stdout] 344 | pallet_balances::GenesisConfig:: { balances } [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_staking` [INFO] [stdout] --> src/mock.rs:348:23 [INFO] [stdout] | [INFO] [stdout] 348 | let staking_config = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:351:14 [INFO] [stdout] | [INFO] [stdout] 351 | force_era: pallet_staking::Forcing::ForceNew, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:493:4 [INFO] [stdout] | [INFO] [stdout] 493 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 511 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_outer_event! { [INFO] [stdout] 62 | | pub enum TestEvent for Test { [INFO] [stdout] 63 | | frame_system, [INFO] [stdout] 64 | | pallet_balances, [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ not found in `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 22 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 22 | use pallet_session::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_offences` [INFO] [stdout] --> src/mock.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_outer_event! { [INFO] [stdout] 62 | | pub enum TestEvent for Test { [INFO] [stdout] 63 | | frame_system, [INFO] [stdout] 64 | | pallet_balances, [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ not found in `pallet_offences` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 22 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 22 | use pallet_session::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl_outer_event! { [INFO] [stdout] 62 | | pub enum TestEvent for Test { [INFO] [stdout] 63 | | frame_system, [INFO] [stdout] 64 | | pallet_balances, [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ not found in `pallet_staking` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 22 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 22 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 22 | use pallet_session::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope [INFO] [stdout] --> src/mock.rs:195:62 [INFO] [stdout] | [INFO] [stdout] 195 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-grandpa` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "73f75450fd3aef402d3d8d3feeb6e974347a31cc02d1f55a54259fd7ec8843b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73f75450fd3aef402d3d8d3feeb6e974347a31cc02d1f55a54259fd7ec8843b7", kill_on_drop: false }` [INFO] [stdout] 73f75450fd3aef402d3d8d3feeb6e974347a31cc02d1f55a54259fd7ec8843b7