[INFO] fetching crate pallet-elections-phragmen 2.0.1... [INFO] checking pallet-elections-phragmen-2.0.1 against try#9c1dcf141bc0875407c4eb36972857bd3db713e2 for pr-81863 [INFO] extracting crate pallet-elections-phragmen 2.0.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate pallet-elections-phragmen 2.0.1 on toolchain 9c1dcf141bc0875407c4eb36972857bd3db713e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-elections-phragmen 2.0.1 [INFO] finished tweaking crates.io crate pallet-elections-phragmen 2.0.1 [INFO] tweaked toml for crates.io crate pallet-elections-phragmen 2.0.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 703752fa53a553df92b80e729c3bb6f3b0514918799e2120253b0373b49e4216 [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" "703752fa53a553df92b80e729c3bb6f3b0514918799e2120253b0373b49e4216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "703752fa53a553df92b80e729c3bb6f3b0514918799e2120253b0373b49e4216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703752fa53a553df92b80e729c3bb6f3b0514918799e2120253b0373b49e4216", kill_on_drop: false }` [INFO] [stdout] 703752fa53a553df92b80e729c3bb6f3b0514918799e2120253b0373b49e4216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6702177089abd68351e606e640cefd78d2463c7fc36fa65a9cd2755357ad2a5 [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" "e6702177089abd68351e606e640cefd78d2463c7fc36fa65a9cd2755357ad2a5", kill_on_drop: false }` [INFO] [stderr] Checking sp-npos-elections v2.0.1 [INFO] [stderr] Checking pallet-elections-phragmen v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/lib.rs:1080:6 [INFO] [stdout] | [INFO] [stdout] 1080 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/lib.rs:1081:6 [INFO] [stdout] | [INFO] [stdout] 1081 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/lib.rs:1844:4 [INFO] [stdout] | [INFO] [stdout] 1844 | assert_eq_uvec!(all_voters(), vec![2, 3]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/lib.rs:1852:4 [INFO] [stdout] | [INFO] [stdout] 1852 | assert_eq_uvec!(all_voters(), vec![3]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/lib.rs:2075:4 [INFO] [stdout] | [INFO] [stdout] 2075 | assert_eq_uvec!(all_voters(), vec![2, 3, 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/lib.rs:2091:4 [INFO] [stdout] | [INFO] [stdout] 2091 | assert_eq_uvec!(all_voters(), vec![2, 3, 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/lib.rs:2123:4 [INFO] [stdout] | [INFO] [stdout] 2123 | assert_eq_uvec!(all_voters(), vec![3, 5]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/lib.rs:2357:5 [INFO] [stdout] | [INFO] [stdout] 2357 | assert_eq_uvec!(all_voters(), vec![2, 3, 4, 5]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/lib.rs:2532:4 [INFO] [stdout] | [INFO] [stdout] 2532 | assert_eq_uvec!(Elections::members_ids(), vec![3, 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:1117:22 [INFO] [stdout] | [INFO] [stdout] 1117 | 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_balances` [INFO] [stdout] --> src/lib.rs:1127:7 [INFO] [stdout] | [INFO] [stdout] 1127 | impl pallet_balances::Trait 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_balances` [INFO] [stdout] --> src/lib.rs:1256:14 [INFO] [stdout] | [INFO] [stdout] 1256 | Balances: pallet_balances::{Module, Call, Event, Config}, [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 `sp_io` [INFO] [stdout] --> src/lib.rs:1318:17 [INFO] [stdout] | [INFO] [stdout] 1318 | let mut ext: sp_io::TestExternalities = GenesisConfig { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:1319:27 [INFO] [stdout] | [INFO] [stdout] 1319 | pallet_balances: Some(pallet_balances::GenesisConfig::{ [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_balances` [INFO] [stdout] --> src/lib.rs:1249:2 [INFO] [stdout] | [INFO] [stdout] 1249 | / frame_support::construct_runtime!( [INFO] [stdout] 1250 | | pub enum Test where [INFO] [stdout] 1251 | | Block = Block, [INFO] [stdout] 1252 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 1258 | | } [INFO] [stdout] 1259 | | ); [INFO] [stdout] | |______^ not found in `pallet_balances` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1075 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 1075 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [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 `Command { std: "docker" "inspect" "e6702177089abd68351e606e640cefd78d2463c7fc36fa65a9cd2755357ad2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6702177089abd68351e606e640cefd78d2463c7fc36fa65a9cd2755357ad2a5", kill_on_drop: false }` [INFO] [stdout] e6702177089abd68351e606e640cefd78d2463c7fc36fa65a9cd2755357ad2a5