[INFO] fetching crate pallet-babe 3.0.0... [INFO] checking pallet-babe-3.0.0 against try#32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d for pr-83312 [INFO] extracting crate pallet-babe 3.0.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pallet-babe 3.0.0 on toolchain 32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-babe 3.0.0 [INFO] finished tweaking crates.io crate pallet-babe 3.0.0 [INFO] tweaked toml for crates.io crate pallet-babe 3.0.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f34dccd3a33014430fb0448e9142a0e517615203f0fec0e37d5c93b5a8c249d2 [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" "f34dccd3a33014430fb0448e9142a0e517615203f0fec0e37d5c93b5a8c249d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f34dccd3a33014430fb0448e9142a0e517615203f0fec0e37d5c93b5a8c249d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34dccd3a33014430fb0448e9142a0e517615203f0fec0e37d5c93b5a8c249d2", kill_on_drop: false }` [INFO] [stdout] f34dccd3a33014430fb0448e9142a0e517615203f0fec0e37d5c93b5a8c249d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60fd06171b6a9d56cd5391ae4a3ac7c067df80a553c14dad339bff25e349d2db [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" "60fd06171b6a9d56cd5391ae4a3ac7c067df80a553c14dad339bff25e349d2db", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking vec-arena v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Compiling signal-hook v0.3.7 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking nb-connect v1.1.0 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [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.13 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v3.0.0 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.21.0 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking ref-cast v1.0.6 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking trie-db v0.22.3 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Checking tiny-bip39 v0.8.0 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Checking async-process v1.0.2 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.10.2 [INFO] [stderr] Checking sp-utils v3.0.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools v3.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.0.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.0 [INFO] [stderr] Compiling multihash-derive v0.7.1 [INFO] [stderr] Compiling frame-support-procedural v3.0.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking parity-multiaddr v0.11.2 [INFO] [stderr] Checking parity-scale-codec v2.0.1 [INFO] [stderr] Checking impl-codec v0.5.0 [INFO] [stderr] Checking sp-storage v3.0.0 [INFO] [stderr] Checking sp-tracing v3.0.0 [INFO] [stderr] Checking sp-wasm-interface v3.0.0 [INFO] [stderr] Checking sp-arithmetic v3.0.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Checking libp2p-swarm v0.27.2 [INFO] [stderr] Checking sp-externalities v0.9.0 [INFO] [stderr] Checking libp2p v0.34.0 [INFO] [stderr] Checking parity-util-mem v0.9.0 [INFO] [stderr] Checking sp-runtime-interface v3.0.0 [INFO] [stderr] Checking memory-db v0.26.0 [INFO] [stderr] Checking sp-core v3.0.0 [INFO] [stderr] Checking sp-trie v3.0.0 [INFO] [stderr] Checking sp-keystore v0.9.0 [INFO] [stderr] Checking sp-inherents v3.0.0 [INFO] [stderr] Checking frame-metadata v13.0.0 [INFO] [stderr] Checking sp-state-machine v0.9.0 [INFO] [stderr] Checking sp-io v3.0.0 [INFO] [stderr] Checking sp-application-crypto v3.0.0 [INFO] [stderr] Checking sp-runtime v3.0.0 [INFO] [stderr] Checking sp-version v3.0.0 [INFO] [stderr] Checking sp-staking v3.0.0 [INFO] [stderr] Checking sp-consensus-slots v0.9.0 [INFO] [stderr] Checking sp-authorship v3.0.0 [INFO] [stderr] Checking sp-consensus-vrf v0.9.0 [INFO] [stderr] Checking frame-support v3.0.0 [INFO] [stderr] Checking sp-api v3.0.0 [INFO] [stderr] Checking sp-timestamp v3.0.0 [INFO] [stderr] Checking sp-session v3.0.0 [INFO] [stderr] Checking sp-consensus v0.9.0 [INFO] [stderr] Checking sp-consensus-babe v0.9.0 [INFO] [stderr] Checking frame-system v3.0.0 [INFO] [stderr] Checking frame-benchmarking v3.1.0 [INFO] [stderr] Checking pallet-authorship v3.0.0 [INFO] [stderr] Checking pallet-timestamp v3.0.0 [INFO] [stderr] Checking pallet-session v3.0.0 [INFO] [stderr] Checking pallet-babe v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical` [INFO] [stdout] --> src/mock.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use pallet_session::historical as pallet_session_historical; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core` [INFO] [stdout] --> src/mock.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sp_core::{H256, U256, crypto::{IsWrappedBy, KeyTypeId, Pair}}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sp_core::{H256, U256, crypto::{IsWrappedBy, KeyTypeId, Pair}}; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `sp_application_crypto::sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core` [INFO] [stdout] --> src/tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use sp_core::crypto::Pair; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_staking` [INFO] [stdout] --> src/mock.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use pallet_staking::EraIndex; [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_reward_curve` [INFO] [stdout] --> src/mock.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | 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:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | Balances: pallet_balances::{Module, Call, Storage, Config, Event}, [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:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Offences: pallet_offences::{Module, Call, Storage, Event}, [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:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Staking: pallet_staking::{Module, Call, Storage, Config, Event}, [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:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | 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:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | 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:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | 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:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | impl pallet_session::historical::Config 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:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | 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:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | 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:154:6 [INFO] [stdout] | [INFO] [stdout] 154 | impl pallet_balances::Config 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_staking` [INFO] [stdout] --> src/mock.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | impl pallet_staking::Config 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_offences` [INFO] [stdout] --> src/mock.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 216 | impl pallet_offences::Config 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:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | 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:390:2 [INFO] [stdout] | [INFO] [stdout] 390 | 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:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | 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_staking` [INFO] [stdout] --> src/mock.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | 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:430:14 [INFO] [stdout] | [INFO] [stdout] 430 | 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:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | 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:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | 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:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | 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:437:4 [INFO] [stdout] | [INFO] [stdout] 437 | 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:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / frame_support::construct_runtime!( [INFO] [stdout] 48 | | pub enum Test where [INFO] [stdout] 49 | | Block = Block, [INFO] [stdout] 50 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | ); [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] 20 | use crate::tests::Event; [INFO] [stdout] | [INFO] [stdout] 20 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 20 | 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:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / frame_support::construct_runtime!( [INFO] [stdout] 48 | | pub enum Test where [INFO] [stdout] 49 | | Block = Block, [INFO] [stdout] 50 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | ); [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] 20 | use crate::tests::Event; [INFO] [stdout] | [INFO] [stdout] 20 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 20 | 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:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / frame_support::construct_runtime!( [INFO] [stdout] 48 | | pub enum Test where [INFO] [stdout] 49 | | Block = Block, [INFO] [stdout] 50 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | ); [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] 20 | use crate::tests::Event; [INFO] [stdout] | [INFO] [stdout] 20 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] 20 | 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:180:62 [INFO] [stdout] | [INFO] [stdout] 180 | 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 `KeyTypeId` in this scope [INFO] [stdout] --> src/mock.rs:238:54 [INFO] [stdout] | [INFO] [stdout] 238 | >::Proof; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 | use crate::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_application_crypto::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_runtime::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyTypeId` in this scope [INFO] [stdout] --> src/mock.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | KeyTypeId, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 | use crate::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_application_crypto::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_runtime::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core` [INFO] [stdout] --> src/mock.rs:356:31 [INFO] [stdout] | [INFO] [stdout] 356 | let pair = sp_core::sr25519::Pair::from_ref(pair).as_ref(); [INFO] [stdout] | ^^^^ not found in `sp_core::sr25519` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mock::sp_io::Pair; [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mock::sp_io::ecdsa::Pair; [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mock::sp_io::ecdsa::de::value::private::Pair; [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mock::sp_io::ed25519::Pair; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-babe` [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" "60fd06171b6a9d56cd5391ae4a3ac7c067df80a553c14dad339bff25e349d2db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60fd06171b6a9d56cd5391ae4a3ac7c067df80a553c14dad339bff25e349d2db", kill_on_drop: false }` [INFO] [stdout] 60fd06171b6a9d56cd5391ae4a3ac7c067df80a553c14dad339bff25e349d2db