[INFO] fetching crate pallet-elections-phragmen 3.0.0... [INFO] testing pallet-elections-phragmen-3.0.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate pallet-elections-phragmen 3.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate pallet-elections-phragmen 3.0.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42293cdcf710dd9b971fad3ad863c66b6264d44312a3c665821a01c42921dfa4 [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" "42293cdcf710dd9b971fad3ad863c66b6264d44312a3c665821a01c42921dfa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42293cdcf710dd9b971fad3ad863c66b6264d44312a3c665821a01c42921dfa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42293cdcf710dd9b971fad3ad863c66b6264d44312a3c665821a01c42921dfa4", kill_on_drop: false }` [INFO] [stdout] 42293cdcf710dd9b971fad3ad863c66b6264d44312a3c665821a01c42921dfa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", 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] 61f02581072708579a24814b583f795c07e6c7a56e21e4f8dda3b62200002371 [INFO] running `Command { std: "docker" "start" "-a" "61f02581072708579a24814b583f795c07e6c7a56e21e4f8dda3b62200002371", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v3.0.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling uint v0.9.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling tiny-bip39 v0.8.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling substrate-bip39 v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling frame-support-procedural-tools v3.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.1.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling sp-npos-elections-compact v3.0.0 [INFO] [stderr] Compiling frame-support-procedural v3.0.0 [INFO] [stderr] Compiling parity-scale-codec v2.1.1 [INFO] [stderr] Compiling impl-codec v0.5.0 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.0 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling memory-db v0.26.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling sp-trie v3.0.0 [INFO] [stderr] Compiling sp-keystore v0.9.0 [INFO] [stderr] Compiling sp-inherents v3.0.0 [INFO] [stderr] Compiling frame-metadata v13.0.0 [INFO] [stderr] Compiling sp-npos-elections v3.0.0 [INFO] [stderr] Compiling sp-state-machine v0.9.0 [INFO] [stderr] Compiling sp-io v3.0.0 [INFO] [stderr] Compiling sp-application-crypto v3.0.0 [INFO] [stderr] Compiling sp-runtime v3.0.0 [INFO] [stderr] Compiling sp-staking v3.0.0 [INFO] [stderr] Compiling sp-version v3.0.0 [INFO] [stderr] Compiling frame-support v3.0.0 [INFO] [stderr] Compiling frame-system v3.0.0 [INFO] [stderr] Compiling pallet-elections-phragmen v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "61f02581072708579a24814b583f795c07e6c7a56e21e4f8dda3b62200002371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f02581072708579a24814b583f795c07e6c7a56e21e4f8dda3b62200002371", kill_on_drop: false }` [INFO] [stdout] 61f02581072708579a24814b583f795c07e6c7a56e21e4f8dda3b62200002371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f11f1c0d7faf6d2c3a1cda4c3cb4516e6c7202bda0cd88cce7181f3ea6fa5101 [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" "f11f1c0d7faf6d2c3a1cda4c3cb4516e6c7202bda0cd88cce7181f3ea6fa5101", kill_on_drop: false }` [INFO] [stderr] Compiling 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 the macro `$crate::__impl_outer_event_json_metadata` (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] running `Command { std: "docker" "inspect" "f11f1c0d7faf6d2c3a1cda4c3cb4516e6c7202bda0cd88cce7181f3ea6fa5101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f11f1c0d7faf6d2c3a1cda4c3cb4516e6c7202bda0cd88cce7181f3ea6fa5101", kill_on_drop: false }` [INFO] [stdout] f11f1c0d7faf6d2c3a1cda4c3cb4516e6c7202bda0cd88cce7181f3ea6fa5101