[INFO] fetching crate pallet-elections 3.0.0... [INFO] testing pallet-elections-3.0.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate pallet-elections 3.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate pallet-elections 3.0.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] a29ddb70db7078b12522ea2e23ac7d9862a9b57939a317f51fc3c1da8adf0fe2 [INFO] running `Command { std: "docker" "start" "-a" "a29ddb70db7078b12522ea2e23ac7d9862a9b57939a317f51fc3c1da8adf0fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a29ddb70db7078b12522ea2e23ac7d9862a9b57939a317f51fc3c1da8adf0fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29ddb70db7078b12522ea2e23ac7d9862a9b57939a317f51fc3c1da8adf0fe2", kill_on_drop: false }` [INFO] [stdout] a29ddb70db7078b12522ea2e23ac7d9862a9b57939a317f51fc3c1da8adf0fe2 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] b85901cad9e5fdf7799da91503dd95562773d0d70f1d12094c271f1721c257d1 [INFO] running `Command { std: "docker" "start" "-a" "b85901cad9e5fdf7799da91503dd95562773d0d70f1d12094c271f1721c257d1", kill_on_drop: false }` [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v3.0.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling trie-db v0.22.6 [INFO] [stderr] Compiling trie-root v0.16.0 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zeroize v1.5.3 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.4 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools v3.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling frame-support-procedural v3.0.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.1 [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-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 v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 51s [INFO] running `Command { std: "docker" "inspect" "b85901cad9e5fdf7799da91503dd95562773d0d70f1d12094c271f1721c257d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85901cad9e5fdf7799da91503dd95562773d0d70f1d12094c271f1721c257d1", kill_on_drop: false }` [INFO] [stdout] b85901cad9e5fdf7799da91503dd95562773d0d70f1d12094c271f1721c257d1 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23d33b6d1884c6305c3eb53114324126d92802b61f8c07bfb5d7c6c6ead48c3a [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" "23d33b6d1884c6305c3eb53114324126d92802b61f8c07bfb5d7c6c6ead48c3a", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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] 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` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "23d33b6d1884c6305c3eb53114324126d92802b61f8c07bfb5d7c6c6ead48c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d33b6d1884c6305c3eb53114324126d92802b61f8c07bfb5d7c6c6ead48c3a", kill_on_drop: false }` [INFO] [stdout] 23d33b6d1884c6305c3eb53114324126d92802b61f8c07bfb5d7c6c6ead48c3a