[INFO] fetching crate pallet-babe 2.0.0-rc5... [INFO] testing pallet-babe-2.0.0-rc5 against 1.45.2 for beta-1.46-1 [INFO] extracting crate pallet-babe 2.0.0-rc5 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pallet-babe 2.0.0-rc5 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-babe 2.0.0-rc5 [INFO] finished tweaking crates.io crate pallet-babe 2.0.0-rc5 [INFO] tweaked toml for crates.io crate pallet-babe 2.0.0-rc5 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] baca62f3646e73607ce9ec89a7e2c68b7ca3a5ea038bb9111c7092d517ec4327 [INFO] running `Command { std: "docker" "start" "-a" "baca62f3646e73607ce9ec89a7e2c68b7ca3a5ea038bb9111c7092d517ec4327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baca62f3646e73607ce9ec89a7e2c68b7ca3a5ea038bb9111c7092d517ec4327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baca62f3646e73607ce9ec89a7e2c68b7ca3a5ea038bb9111c7092d517ec4327", kill_on_drop: false }` [INFO] [stdout] baca62f3646e73607ce9ec89a7e2c68b7ca3a5ea038bb9111c7092d517ec4327 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4025462c1330f447c5e4f79d00e4f12e80a18b2b188cdcbc94de2c0f49913f6e [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" "4025462c1330f447c5e4f79d00e4f12e80a18b2b188cdcbc94de2c0f49913f6e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling unsigned-varint v0.4.0 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling event-listener v2.3.2 [INFO] [stderr] Compiling protobuf v2.16.2 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling data-encoding v2.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling async-channel v1.4.0 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling sp-panic-handler v2.0.0-rc5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling trie-db v0.22.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling uint v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling secrecy v0.6.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling parity-scale-codec v1.3.4 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc5 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc5 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling memory-db v0.24.1 [INFO] [stderr] Compiling web-sys v0.3.44 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling sp-trie v2.0.0-rc5 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc5 [INFO] [stderr] Compiling frame-metadata v11.0.0-rc5 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling sp-utils v2.0.0-rc5 [INFO] [stderr] Compiling sp-io v2.0.0-rc5 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p v0.22.0 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc5 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-rc5 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 [INFO] [stderr] Compiling sp-version v2.0.0-rc5 [INFO] [stderr] Compiling frame-support v2.0.0-rc5 [INFO] [stderr] Compiling sp-staking v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-slots v0.8.0-rc5 [INFO] [stderr] Compiling sp-authorship v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-vrf v0.8.0-rc5 [INFO] [stderr] Compiling sp-api v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus v0.8.0-rc5 [INFO] [stderr] Compiling sp-timestamp v2.0.0-rc5 [INFO] [stderr] Compiling sp-session v2.0.0-rc5 [INFO] [stderr] Compiling frame-system v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus-babe v0.8.0-rc5 [INFO] [stderr] Compiling frame-benchmarking v2.0.0-rc5 [INFO] [stderr] Compiling pallet-authorship v2.0.0-rc5 [INFO] [stderr] Compiling pallet-timestamp v2.0.0-rc5 [INFO] [stderr] Compiling pallet-session v2.0.0-rc5 [INFO] [stderr] Compiling pallet-babe v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 02s [INFO] running `Command { std: "docker" "inspect" "4025462c1330f447c5e4f79d00e4f12e80a18b2b188cdcbc94de2c0f49913f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4025462c1330f447c5e4f79d00e4f12e80a18b2b188cdcbc94de2c0f49913f6e", kill_on_drop: false }` [INFO] [stdout] 4025462c1330f447c5e4f79d00e4f12e80a18b2b188cdcbc94de2c0f49913f6e [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34161ae7c1a20bc34d60f0808bcde8cd0aed86f62a22fbf9681b84c9be376259 [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" "34161ae7c1a20bc34d60f0808bcde8cd0aed86f62a22fbf9681b84c9be376259", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-babe v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_core` [INFO] [stdout] --> src/mock.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sp_core::{H256, U256, crypto::{KeyTypeId, Pair}}; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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::{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 type or module `sp_core` [INFO] [stdout] --> src/tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use sp_core::crypto::{IsWrappedBy, Pair}; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking_reward_curve` [INFO] [stdout] --> src/mock.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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::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 type 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 type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:154:6 [INFO] [stdout] | [INFO] [stdout] 154 | impl pallet_balances::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:199:6 [INFO] [stdout] | [INFO] [stdout] 199 | impl pallet_staking::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_offences` [INFO] [stdout] --> src/mock.rs:227:6 [INFO] [stdout] | [INFO] [stdout] 227 | impl pallet_offences::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type 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:229:45 [INFO] [stdout] | [INFO] [stdout] 229 | 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 type or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | pub type Balances = pallet_balances::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type 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:254:39 [INFO] [stdout] | [INFO] [stdout] 254 | 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 type or module `pallet_offences` [INFO] [stdout] --> src/mock.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | pub type Offences = pallet_offences::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_offences` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | pub type Staking = pallet_staking::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | pallet_staking::StakerStatus::::Validator, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:401:2 [INFO] [stdout] | [INFO] [stdout] 401 | pallet_balances::GenesisConfig:: { balances } [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:405:23 [INFO] [stdout] | [INFO] [stdout] 405 | let staking_config = pallet_staking::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/mock.rs:408:14 [INFO] [stdout] | [INFO] [stdout] 408 | force_era: pallet_staking::Forcing::ForceNew, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_core` [INFO] [stdout] --> src/tests.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | let pair = sp_core::sr25519::Pair::from_ref(&pairs[0]).as_ref(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:254:4 [INFO] [stdout] | [INFO] [stdout] 254 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking` [INFO] [stdout] --> src/tests.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | pallet_staking::Exposure { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REWARD_CURVE` in this scope [INFO] [stdout] --> src/mock.rs:179:62 [INFO] [stdout] | [INFO] [stdout] 179 | 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:243:54 [INFO] [stdout] | [INFO] [stdout] 243 | >::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 sp_application_crypto::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_runtime::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_runtime::offchain::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyTypeId` in this scope [INFO] [stdout] --> src/mock.rs:246:3 [INFO] [stdout] | [INFO] [stdout] 246 | 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 sp_application_crypto::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_runtime::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] 20 | use sp_runtime::offchain::KeyTypeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 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" "34161ae7c1a20bc34d60f0808bcde8cd0aed86f62a22fbf9681b84c9be376259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34161ae7c1a20bc34d60f0808bcde8cd0aed86f62a22fbf9681b84c9be376259", kill_on_drop: false }` [INFO] [stdout] 34161ae7c1a20bc34d60f0808bcde8cd0aed86f62a22fbf9681b84c9be376259