[INFO] fetching crate pallet-elections-phragmen 2.0.0-alpha.6... [INFO] testing pallet-elections-phragmen-2.0.0-alpha.6 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate pallet-elections-phragmen 2.0.0-alpha.6 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate pallet-elections-phragmen 2.0.0-alpha.6 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-elections-phragmen 2.0.0-alpha.6 [INFO] finished tweaking crates.io crate pallet-elections-phragmen 2.0.0-alpha.6 [INFO] tweaked toml for crates.io crate pallet-elections-phragmen 2.0.0-alpha.6 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] edbfebccb19989cad1b5ea728171be3b2eceb57978e36172f629fecf010fde3e [INFO] running `"docker" "start" "-a" "edbfebccb19989cad1b5ea728171be3b2eceb57978e36172f629fecf010fde3e"` [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling sp-phragmen-compact v2.0.0-dev.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-alpha.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-core v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-trie v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-inherents v2.0.0-alpha.6 [INFO] [stderr] Compiling frame-metadata v11.0.0-alpha.6 [INFO] [stderr] Compiling sp-state-machine v0.8.0-alpha.6 [INFO] [stderr] Compiling sp-io v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-runtime v2.0.0-alpha.6 [INFO] [stderr] Compiling frame-support v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-version v2.0.0-alpha.6 [INFO] [stderr] Compiling sp-phragmen v2.0.0-alpha.6 [INFO] [stderr] Compiling frame-system v2.0.0-alpha.6 [INFO] [stderr] Compiling pallet-elections-phragmen v2.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `"docker" "inspect" "edbfebccb19989cad1b5ea728171be3b2eceb57978e36172f629fecf010fde3e"` [INFO] running `"docker" "rm" "-f" "edbfebccb19989cad1b5ea728171be3b2eceb57978e36172f629fecf010fde3e"` [INFO] [stdout] edbfebccb19989cad1b5ea728171be3b2eceb57978e36172f629fecf010fde3e [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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1b657f7c99585410994951e772d9a89eeaa0389c2eb0bc7e3e263c0e228d8b76 [INFO] running `"docker" "start" "-a" "1b657f7c99585410994951e772d9a89eeaa0389c2eb0bc7e3e263c0e228d8b76"` [INFO] [stderr] Compiling pallet-elections-phragmen v2.0.0-alpha.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stderr] --> src/lib.rs:881:6 [INFO] [stderr] | [INFO] [stderr] 881 | 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:882:6 [INFO] [stderr] | [INFO] [stderr] 882 | 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:1563:4 [INFO] [stderr] | [INFO] [stderr] 1563 | 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:1571:4 [INFO] [stderr] | [INFO] [stderr] 1571 | 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:1740:4 [INFO] [stderr] | [INFO] [stderr] 1740 | 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:1756:4 [INFO] [stderr] | [INFO] [stderr] 1756 | 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:1788:4 [INFO] [stderr] | [INFO] [stderr] 1788 | 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:2017:5 [INFO] [stderr] | [INFO] [stderr] 2017 | 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:2148:4 [INFO] [stderr] | [INFO] [stderr] 2148 | 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:914:22 [INFO] [stderr] | [INFO] [stderr] 914 | 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:923:7 [INFO] [stderr] | [INFO] [stderr] 923 | 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:1044:14 [INFO] [stderr] | [INFO] [stderr] 1044 | 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:1091:17 [INFO] [stderr] | [INFO] [stderr] 1091 | 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:1092:27 [INFO] [stderr] | [INFO] [stderr] 1092 | 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] running `"docker" "inspect" "1b657f7c99585410994951e772d9a89eeaa0389c2eb0bc7e3e263c0e228d8b76"` [INFO] running `"docker" "rm" "-f" "1b657f7c99585410994951e772d9a89eeaa0389c2eb0bc7e3e263c0e228d8b76"` [INFO] [stdout] 1b657f7c99585410994951e772d9a89eeaa0389c2eb0bc7e3e263c0e228d8b76