[INFO] fetching crate pallet-babe 3.0.0... [INFO] checking pallet-babe-3.0.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate pallet-babe 3.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate pallet-babe 3.0.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", 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] 169dba99af76008db73983220f8567480ad99c3656f510de4d4ae7cae00c63c9 [INFO] running `Command { std: "docker" "start" "-a" "169dba99af76008db73983220f8567480ad99c3656f510de4d4ae7cae00c63c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "169dba99af76008db73983220f8567480ad99c3656f510de4d4ae7cae00c63c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "169dba99af76008db73983220f8567480ad99c3656f510de4d4ae7cae00c63c9", kill_on_drop: false }` [INFO] [stdout] 169dba99af76008db73983220f8567480ad99c3656f510de4d4ae7cae00c63c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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] 863ec4247269aab84711ff1b7953d12722b4c93d69efdecd508bced054699b6b [INFO] running `Command { std: "docker" "start" "-a" "863ec4247269aab84711ff1b7953d12722b4c93d69efdecd508bced054699b6b", kill_on_drop: false }` [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v3.0.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling libp2p-core-derive v0.21.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Checking futures-util v0.3.15 [INFO] [stderr] Checking ref-cast v1.0.6 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking prometheus v0.11.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking tiny-bip39 v0.8.0 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking trie-db v0.22.6 [INFO] [stderr] Checking polling v2.1.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking async-process v1.1.0 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking multistream-select v0.10.2 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking sp-utils v3.0.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [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.2.0 [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.2 [INFO] [stderr] Compiling frame-support-procedural v3.0.0 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking parity-multiaddr v0.11.2 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking sp-storage v3.0.0 [INFO] [stderr] Checking sp-wasm-interface v3.0.0 [INFO] [stderr] Checking sp-tracing v3.0.0 [INFO] [stderr] Checking sp-arithmetic v3.0.0 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking sp-externalities v0.9.0 [INFO] [stderr] Checking parity-util-mem v0.9.0 [INFO] [stderr] Checking sp-runtime-interface v3.0.0 [INFO] [stderr] Checking libp2p-swarm v0.27.2 [INFO] [stderr] Checking memory-db v0.26.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Checking sp-core v3.0.0 [INFO] [stderr] Checking libp2p v0.34.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 statrs v0.15.0 [INFO] [stderr] Checking linregress v0.4.3 [INFO] [stderr] Checking sp-version v3.0.0 [INFO] [stderr] Checking sp-staking v3.0.0 [INFO] [stderr] Checking sp-consensus-vrf v0.9.0 [INFO] [stderr] Checking sp-consensus-slots v0.9.0 [INFO] [stderr] Checking sp-authorship v3.0.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-consensus v0.9.0 [INFO] [stderr] Checking sp-session v3.0.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 the macro `$crate::__impl_outer_event_json_metadata` (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 the macro `$crate::__impl_outer_event_json_metadata` (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 the macro `$crate::__impl_outer_event_json_metadata` (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 sp_application_crypto::Pair; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_application_crypto::ecdsa::Pair; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_application_crypto::ed25519::Pair; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_application_crypto::sr25519::Pair; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [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] running `Command { std: "docker" "inspect" "863ec4247269aab84711ff1b7953d12722b4c93d69efdecd508bced054699b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863ec4247269aab84711ff1b7953d12722b4c93d69efdecd508bced054699b6b", kill_on_drop: false }` [INFO] [stdout] 863ec4247269aab84711ff1b7953d12722b4c93d69efdecd508bced054699b6b