[INFO] fetching crate pallet-elections-phragmen 3.0.0... [INFO] checking pallet-elections-phragmen-3.0.0 against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] extracting crate pallet-elections-phragmen 3.0.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate pallet-elections-phragmen 3.0.0 on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-elections-phragmen 3.0.0 [INFO] finished tweaking crates.io crate pallet-elections-phragmen 3.0.0 [INFO] tweaked toml for crates.io crate pallet-elections-phragmen 3.0.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "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] 47a2aecc89d93df843c4f4903ddbd7b3038d1bb662b722676db641f3cd94671c [INFO] running `Command { std: "docker" "start" "-a" "47a2aecc89d93df843c4f4903ddbd7b3038d1bb662b722676db641f3cd94671c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47a2aecc89d93df843c4f4903ddbd7b3038d1bb662b722676db641f3cd94671c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a2aecc89d93df843c4f4903ddbd7b3038d1bb662b722676db641f3cd94671c", kill_on_drop: false }` [INFO] [stdout] 47a2aecc89d93df843c4f4903ddbd7b3038d1bb662b722676db641f3cd94671c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6124fb5ca9add4a3f5b01bb60f5545d9b5911a832f0d5ce26815a93b29267d7 [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" "c6124fb5ca9add4a3f5b01bb60f5545d9b5911a832f0d5ce26815a93b29267d7", kill_on_drop: false }` [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling sp-npos-elections-compact v3.0.0 [INFO] [stderr] Checking sp-core v3.0.0 [INFO] [stderr] Checking trie-db v0.22.3 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking memory-db v0.26.0 [INFO] [stderr] Checking sp-trie v3.0.0 [INFO] [stderr] Checking sp-keystore v0.9.0 [INFO] [stderr] Checking sp-inherents v3.0.0 [INFO] [stderr] Checking frame-metadata v13.0.0 [INFO] [stderr] Checking sp-npos-elections v3.0.0 [INFO] [stderr] Checking sp-state-machine v0.9.0 [INFO] [stderr] Checking sp-io v3.0.0 [INFO] [stderr] Checking sp-application-crypto v3.0.0 [INFO] [stderr] Checking sp-runtime v3.0.0 [INFO] [stderr] Checking sp-staking v3.0.0 [INFO] [stderr] Checking sp-version v3.0.0 [INFO] [stderr] Checking frame-support v3.0.0 [INFO] [stderr] Checking frame-system v3.0.0 [INFO] [stderr] Checking pallet-elections-phragmen v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/lib.rs:1046:6 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:1047:6 [INFO] [stdout] | [INFO] [stdout] 1047 | 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:1970:4 [INFO] [stdout] | [INFO] [stdout] 1970 | 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:1978:4 [INFO] [stdout] | [INFO] [stdout] 1978 | 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:2038:4 [INFO] [stdout] | [INFO] [stdout] 2038 | 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:2055:4 [INFO] [stdout] | [INFO] [stdout] 2055 | 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:2138:4 [INFO] [stdout] | [INFO] [stdout] 2138 | 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:2373:5 [INFO] [stdout] | [INFO] [stdout] 2373 | 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:2562:4 [INFO] [stdout] | [INFO] [stdout] 2562 | assert_eq_uvec!(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:1078:22 [INFO] [stdout] | [INFO] [stdout] 1078 | 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:1089:7 [INFO] [stdout] | [INFO] [stdout] 1089 | impl pallet_balances::Config 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:1186:14 [INFO] [stdout] | [INFO] [stdout] 1186 | 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:1242:17 [INFO] [stdout] | [INFO] [stdout] 1242 | 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:1243:27 [INFO] [stdout] | [INFO] [stdout] 1243 | 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:1179:2 [INFO] [stdout] | [INFO] [stdout] 1179 | / frame_support::construct_runtime!( [INFO] [stdout] 1180 | | pub enum Test where [INFO] [stdout] 1181 | | Block = Block, [INFO] [stdout] 1182 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 1188 | | } [INFO] [stdout] 1189 | | ); [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] 1042 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 1042 | 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" "c6124fb5ca9add4a3f5b01bb60f5545d9b5911a832f0d5ce26815a93b29267d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6124fb5ca9add4a3f5b01bb60f5545d9b5911a832f0d5ce26815a93b29267d7", kill_on_drop: false }` [INFO] [stdout] c6124fb5ca9add4a3f5b01bb60f5545d9b5911a832f0d5ce26815a93b29267d7