[INFO] fetching crate pallet-grandpa 2.0.1... [INFO] checking pallet-grandpa-2.0.1 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate pallet-grandpa 2.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pallet-grandpa 2.0.1 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-grandpa 2.0.1 [INFO] finished tweaking crates.io crate pallet-grandpa 2.0.1 [INFO] tweaked toml for crates.io crate pallet-grandpa 2.0.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29241d6933eac0b7faa2da57b305bea5f563c888bade1ea6ef3c8f3a6b4f22c6 [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" "29241d6933eac0b7faa2da57b305bea5f563c888bade1ea6ef3c8f3a6b4f22c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29241d6933eac0b7faa2da57b305bea5f563c888bade1ea6ef3c8f3a6b4f22c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29241d6933eac0b7faa2da57b305bea5f563c888bade1ea6ef3c8f3a6b4f22c6", kill_on_drop: false }` [INFO] [stdout] 29241d6933eac0b7faa2da57b305bea5f563c888bade1ea6ef3c8f3a6b4f22c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "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] 5e53f6f4adf941bd2894cfd468561c4e99b8062d8b448844d72b84b57a0bef36 [INFO] running `Command { std: "docker" "start" "-a" "5e53f6f4adf941bd2894cfd468561c4e99b8062d8b448844d72b84b57a0bef36", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking hash-db v0.15.2 [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] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [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] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking trie-db v0.22.2 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.1 [INFO] [stderr] Checking statrs v0.10.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking sp-arithmetic v2.0.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.1 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking finality-grandpa v0.12.3 [INFO] [stderr] Checking sp-tracing v2.0.1 [INFO] [stderr] Checking sp-wasm-interface v2.0.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.1 [INFO] [stderr] Checking sp-core v2.0.1 [INFO] [stderr] Checking sp-trie v2.0.1 [INFO] [stderr] Checking sp-inherents v2.0.1 [INFO] [stderr] Checking frame-metadata v12.0.1 [INFO] [stderr] Checking sp-finality-tracker v2.0.1 [INFO] [stderr] Checking sp-state-machine v0.8.1 [INFO] [stderr] Checking sp-io v2.0.1 [INFO] [stderr] Checking sp-application-crypto v2.0.1 [INFO] [stderr] Checking sp-runtime v2.0.1 [INFO] [stderr] Checking linregress v0.1.7 [INFO] [stderr] Checking sp-version v2.0.1 [INFO] [stderr] Checking frame-support v2.0.1 [INFO] [stderr] Checking sp-staking v2.0.1 [INFO] [stderr] Checking sp-authorship v2.0.1 [INFO] [stderr] Checking sp-api v2.0.1 [INFO] [stderr] Checking sp-timestamp v2.0.1 [INFO] [stderr] Checking sp-session v2.0.1 [INFO] [stderr] Checking sp-finality-grandpa v2.0.1 [INFO] [stderr] Checking frame-system v2.0.1 [INFO] [stderr] Checking frame-benchmarking v2.0.1 [INFO] [stderr] Checking pallet-authorship v2.0.1 [INFO] [stderr] Checking pallet-finality-tracker v2.0.1 [INFO] [stderr] Checking pallet-timestamp v2.0.1 [INFO] [stderr] Checking pallet-session v2.0.1 [INFO] [stderr] Checking pallet-grandpa v2.0.1 (/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" "5e53f6f4adf941bd2894cfd468561c4e99b8062d8b448844d72b84b57a0bef36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e53f6f4adf941bd2894cfd468561c4e99b8062d8b448844d72b84b57a0bef36", kill_on_drop: false }` [INFO] [stdout] 5e53f6f4adf941bd2894cfd468561c4e99b8062d8b448844d72b84b57a0bef36