[INFO] fetching crate pallet-elections 3.0.0... [INFO] checking pallet-elections-3.0.0 against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] extracting crate pallet-elections 3.0.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pallet-elections 3.0.0 on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-elections 3.0.0 [INFO] finished tweaking crates.io crate pallet-elections 3.0.0 [INFO] tweaked toml for crates.io crate pallet-elections 3.0.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "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" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "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] 9e002ba64b6eb2ac6b48fc933c5893c07e46f8e432dbe6e7b24211b7f3c1953d [INFO] running `Command { std: "docker" "start" "-a" "9e002ba64b6eb2ac6b48fc933c5893c07e46f8e432dbe6e7b24211b7f3c1953d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e002ba64b6eb2ac6b48fc933c5893c07e46f8e432dbe6e7b24211b7f3c1953d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e002ba64b6eb2ac6b48fc933c5893c07e46f8e432dbe6e7b24211b7f3c1953d", kill_on_drop: false }` [INFO] [stdout] 9e002ba64b6eb2ac6b48fc933c5893c07e46f8e432dbe6e7b24211b7f3c1953d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4faaac39db4119108e32e50bcda6e01f4d37447ed44ea61e3fd95a9781de5e93 [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" "4faaac39db4119108e32e50bcda6e01f4d37447ed44ea61e3fd95a9781de5e93", kill_on_drop: false }` [INFO] [stderr] Checking pallet-elections v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | 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/mock.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | 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/mock.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | 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 `pallet_balances` [INFO] [stdout] --> src/mock.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | 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/mock.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / frame_support::construct_runtime!( [INFO] [stdout] 133 | | pub enum Test where [INFO] [stdout] 134 | | Block = Block, [INFO] [stdout] 135 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] 142 | | ); [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] 22 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 22 | use crate::mock::system::Event; [INFO] [stdout] | [INFO] [stdout] 22 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-elections` [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" "4faaac39db4119108e32e50bcda6e01f4d37447ed44ea61e3fd95a9781de5e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4faaac39db4119108e32e50bcda6e01f4d37447ed44ea61e3fd95a9781de5e93", kill_on_drop: false }` [INFO] [stdout] 4faaac39db4119108e32e50bcda6e01f4d37447ed44ea61e3fd95a9781de5e93