[INFO] fetching crate pallet-elections-phragmen 2.0.0-rc2... [INFO] checking pallet-elections-phragmen-2.0.0-rc2 against master#450abe80f193ccefbfcd48214d70520f2d507f0e for pr-73084 [INFO] extracting crate pallet-elections-phragmen 2.0.0-rc2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pallet-elections-phragmen 2.0.0-rc2 on toolchain 450abe80f193ccefbfcd48214d70520f2d507f0e [INFO] running `"/workspace/cargo-home/bin/cargo" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pallet-elections-phragmen 2.0.0-rc2 [INFO] finished tweaking crates.io crate pallet-elections-phragmen 2.0.0-rc2 [INFO] tweaked toml for crates.io crate pallet-elections-phragmen 2.0.0-rc2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+450abe80f193ccefbfcd48214d70520f2d507f0e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] cbb1e4ca13487ec21d5320a8a1bbeef7fa1c836489ac6f4977741f24268693c1 [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" "cbb1e4ca13487ec21d5320a8a1bbeef7fa1c836489ac6f4977741f24268693c1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking paste v0.1.16 [INFO] [stderr] Checking tracing v0.1.15 [INFO] [stderr] Checking pin-project v0.4.20 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking ref-cast v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking sp-tracing v2.0.0-rc3 [INFO] [stderr] Checking trie-db v0.20.1 [INFO] [stderr] Checking sp-panic-handler v2.0.0-rc3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking sp-storage v2.0.0-rc3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0-rc3 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-rc3 [INFO] [stderr] Compiling sp-phragmen-compact v2.0.0-rc2 [INFO] [stderr] Compiling frame-support-procedural v2.0.0-rc3 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc3 [INFO] [stderr] Checking sp-externalities v0.8.0-rc3 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc3 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking sp-phragmen v2.0.0-rc2 [INFO] [stderr] Checking parity-util-mem v0.6.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc3 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking sp-core v2.0.0-rc3 [INFO] [stderr] Checking sp-trie v2.0.0-rc3 [INFO] [stderr] Checking sp-inherents v2.0.0-rc3 [INFO] [stderr] Checking frame-metadata v11.0.0-rc3 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc3 [INFO] [stderr] Checking sp-io v2.0.0-rc3 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc3 [INFO] [stderr] Checking sp-runtime v2.0.0-rc3 [INFO] [stderr] Checking frame-support v2.0.0-rc3 [INFO] [stderr] Checking sp-version v2.0.0-rc3 [INFO] [stderr] Checking frame-system v2.0.0-rc3 [INFO] [stderr] Checking pallet-elections-phragmen v2.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stderr] --> src/lib.rs:1060:6 [INFO] [stderr] | [INFO] [stderr] 1060 | 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:1061:6 [INFO] [stderr] | [INFO] [stderr] 1061 | 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:1823:4 [INFO] [stderr] | [INFO] [stderr] 1823 | 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:1831:4 [INFO] [stderr] | [INFO] [stderr] 1831 | 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:2054:4 [INFO] [stderr] | [INFO] [stderr] 2054 | 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:2070:4 [INFO] [stderr] | [INFO] [stderr] 2070 | 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:2102:4 [INFO] [stderr] | [INFO] [stderr] 2102 | 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:2336:5 [INFO] [stderr] | [INFO] [stderr] 2336 | 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:2511:4 [INFO] [stderr] | [INFO] [stderr] 2511 | 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:1097:22 [INFO] [stderr] | [INFO] [stderr] 1097 | 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:1106:7 [INFO] [stderr] | [INFO] [stderr] 1106 | 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:1232:14 [INFO] [stderr] | [INFO] [stderr] 1232 | 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:1294:17 [INFO] [stderr] | [INFO] [stderr] 1294 | 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:1295:27 [INFO] [stderr] | [INFO] [stderr] 1295 | pallet_balances: Some(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/lib.rs:1225:2 [INFO] [stderr] | [INFO] [stderr] 1225 | frame_support::construct_runtime!( [INFO] [stderr] | _____^ [INFO] [stderr] 1226 | | pub enum Test where [INFO] [stderr] 1227 | | Block = Block, [INFO] [stderr] 1228 | | NodeBlock = Block, [INFO] [stderr] ... | [INFO] [stderr] 1234 | | } [INFO] [stderr] 1235 | | ); [INFO] [stderr] | |______^ not found in `pallet_balances` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1055 | use crate::Event; [INFO] [stderr] | [INFO] [stderr] 1055 | use crate::tests::Event; [INFO] [stderr] | [INFO] [stderr] 1055 | use frame_system::Event; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 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" "cbb1e4ca13487ec21d5320a8a1bbeef7fa1c836489ac6f4977741f24268693c1"` [INFO] running `"docker" "rm" "-f" "cbb1e4ca13487ec21d5320a8a1bbeef7fa1c836489ac6f4977741f24268693c1"` [INFO] [stdout] cbb1e4ca13487ec21d5320a8a1bbeef7fa1c836489ac6f4977741f24268693c1