[INFO] fetching crate pallet-elections-phragmen 2.0.0-alpha.7... [INFO] checking pallet-elections-phragmen-2.0.0-alpha.7 against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] extracting crate pallet-elections-phragmen 2.0.0-alpha.7 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate pallet-elections-phragmen 2.0.0-alpha.7 on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-elections-phragmen 2.0.0-alpha.7 [INFO] finished tweaking crates.io crate pallet-elections-phragmen 2.0.0-alpha.7 [INFO] tweaked toml for crates.io crate pallet-elections-phragmen 2.0.0-alpha.7 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 00794dc3cec86d0311dbc93ebc2cf7531d35b1d6c5b244058931d0ecd0757d2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "00794dc3cec86d0311dbc93ebc2cf7531d35b1d6c5b244058931d0ecd0757d2b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling sp-phragmen-compact v2.0.0-dev.1 [INFO] [stderr] Checking sp-phragmen v2.0.0-alpha.7 [INFO] [stderr] Checking pallet-elections-phragmen v2.0.0-alpha.7 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stderr] --> src/lib.rs:885:6 [INFO] [stderr] | [INFO] [stderr] 885 | use substrate_test_utils::assert_eq_uvec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_utils` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_core` [INFO] [stderr] --> src/lib.rs:886:6 [INFO] [stderr] | [INFO] [stderr] 886 | use sp_core::H256; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `sp_core` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/lib.rs:1609:4 [INFO] [stderr] | [INFO] [stderr] 1609 | assert_eq_uvec!(all_voters(), vec![2, 3]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/lib.rs:1617:4 [INFO] [stderr] | [INFO] [stderr] 1617 | assert_eq_uvec!(all_voters(), vec![3]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/lib.rs:1785:4 [INFO] [stderr] | [INFO] [stderr] 1785 | assert_eq_uvec!(all_voters(), vec![2, 3, 4]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/lib.rs:1801:4 [INFO] [stderr] | [INFO] [stderr] 1801 | assert_eq_uvec!(all_voters(), vec![2, 3, 4]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/lib.rs:1833:4 [INFO] [stderr] | [INFO] [stderr] 1833 | assert_eq_uvec!(all_voters(), vec![3, 5]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/lib.rs:2067:5 [INFO] [stderr] | [INFO] [stderr] 2067 | assert_eq_uvec!(all_voters(), vec![2, 3, 4, 5]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stderr] --> src/lib.rs:2198:4 [INFO] [stderr] | [INFO] [stderr] 2198 | assert_eq_uvec!(Elections::members_ids(), vec![3, 4]); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/lib.rs:921:22 [INFO] [stderr] | [INFO] [stderr] 921 | 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/lib.rs:930:7 [INFO] [stderr] | [INFO] [stderr] 930 | 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/lib.rs:1056:14 [INFO] [stderr] | [INFO] [stderr] 1056 | Balances: pallet_balances::{Module, Call, Event, Config}, [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 `sp_io` [INFO] [stderr] --> src/lib.rs:1107:17 [INFO] [stderr] | [INFO] [stderr] 1107 | let mut ext: sp_io::TestExternalities = GenesisConfig { [INFO] [stderr] | ^^^^^ use of undeclared type or module `sp_io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stderr] --> src/lib.rs:1108:27 [INFO] [stderr] | [INFO] [stderr] 1108 | pallet_balances: Some(pallet_balances::GenesisConfig::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 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-elections-phragmen`. [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" "00794dc3cec86d0311dbc93ebc2cf7531d35b1d6c5b244058931d0ecd0757d2b"` [INFO] running `"docker" "rm" "-f" "00794dc3cec86d0311dbc93ebc2cf7531d35b1d6c5b244058931d0ecd0757d2b"` [INFO] [stdout] 00794dc3cec86d0311dbc93ebc2cf7531d35b1d6c5b244058931d0ecd0757d2b