[INFO] crate pallet-democracy 2.0.0-alpha.5 is already in cache [INFO] checking pallet-democracy-2.0.0-alpha.5 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate pallet-democracy 2.0.0-alpha.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pallet-democracy 2.0.0-alpha.5 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-democracy 2.0.0-alpha.5 [INFO] finished tweaking crates.io crate pallet-democracy 2.0.0-alpha.5 [INFO] tweaked toml for crates.io crate pallet-democracy 2.0.0-alpha.5 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ecd1fd058af9cab05b7a2a32993447323c906a2421c1719ca2728d303f0afcaf [INFO] running `"docker" "start" "-a" "ecd1fd058af9cab05b7a2a32993447323c906a2421c1719ca2728d303f0afcaf"` [INFO] [stderr] Checking pallet-democracy v2.0.0-alpha.5 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `sp_core` [INFO] [stderr] --> src/tests.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use sp_core::H256; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `sp_core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `pallet_balances` [INFO] [stderr] --> src/tests.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use pallet_balances::{BalanceLock, Error as BalancesError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests/lock_voting.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | reasons: pallet_balances::Reasons::Misc, [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:87:21 [INFO] [stderr] | [INFO] [stderr] 87 | type AccountData = pallet_balances::AccountData; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:94:6 [INFO] [stderr] | [INFO] [stderr] 94 | impl pallet_balances::Trait for Test { [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:138:18 [INFO] [stderr] | [INFO] [stderr] 138 | type Currency = pallet_balances::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:159:2 [INFO] [stderr] | [INFO] [stderr] 159 | pallet_balances::GenesisConfig::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:167:17 [INFO] [stderr] | [INFO] [stderr] 167 | type Balances = pallet_balances::Module; [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/tests.rs:180:17 [INFO] [stderr] | [INFO] [stderr] 180 | Call::Balances(pallet_balances::Call::set_balance(42, value, 0)).encode() [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `pallet-democracy`. [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 `"docker" "inspect" "ecd1fd058af9cab05b7a2a32993447323c906a2421c1719ca2728d303f0afcaf"` [INFO] running `"docker" "rm" "-f" "ecd1fd058af9cab05b7a2a32993447323c906a2421c1719ca2728d303f0afcaf"` [INFO] [stdout] ecd1fd058af9cab05b7a2a32993447323c906a2421c1719ca2728d303f0afcaf