[INFO] fetching crate pallet-democracy 3.0.0... [INFO] testing pallet-democracy-3.0.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate pallet-democracy 3.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pallet-democracy 3.0.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-democracy 3.0.0 [INFO] finished tweaking crates.io crate pallet-democracy 3.0.0 [INFO] tweaked toml for crates.io crate pallet-democracy 3.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8551462af445ae62034fb7edb1857b61d914ce713a9096fd187f40ecad5f072 [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" "e8551462af445ae62034fb7edb1857b61d914ce713a9096fd187f40ecad5f072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8551462af445ae62034fb7edb1857b61d914ce713a9096fd187f40ecad5f072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8551462af445ae62034fb7edb1857b61d914ce713a9096fd187f40ecad5f072", kill_on_drop: false }` [INFO] [stdout] e8551462af445ae62034fb7edb1857b61d914ce713a9096fd187f40ecad5f072 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-02-22" "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] 85404a96e8478d3180d49fc9e15e6e92f2d4bab610e8694c7237b9fea762d850 [INFO] running `Command { std: "docker" "start" "-a" "85404a96e8478d3180d49fc9e15e6e92f2d4bab610e8694c7237b9fea762d850", kill_on_drop: false }` [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling nalgebra v0.27.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [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 substrate-bip39 v0.4.4 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling sp-api-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 frame-metadata v13.0.0 [INFO] [stderr] Compiling sp-inherents 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-version v3.0.0 [INFO] [stderr] Compiling sp-staking v3.0.0 [INFO] [stderr] Compiling frame-support v3.0.0 [INFO] [stderr] Compiling sp-api v3.0.0 [INFO] [stderr] Compiling statrs v0.15.0 [INFO] [stderr] Compiling linregress v0.4.4 [INFO] [stderr] Compiling frame-system v3.0.0 [INFO] [stderr] Compiling frame-benchmarking v3.1.0 [INFO] [stderr] Compiling pallet-democracy v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "85404a96e8478d3180d49fc9e15e6e92f2d4bab610e8694c7237b9fea762d850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85404a96e8478d3180d49fc9e15e6e92f2d4bab610e8694c7237b9fea762d850", kill_on_drop: false }` [INFO] [stdout] 85404a96e8478d3180d49fc9e15e6e92f2d4bab610e8694c7237b9fea762d850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b6f0eb940e22fd1bd6c6dd4d5e2ebdbb8a8db016e542bb4996a80035532510b [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" "5b6f0eb940e22fd1bd6c6dd4d5e2ebdbb8a8db016e542bb4996a80035532510b", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-democracy v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_balances` [INFO] [stdout] --> src/tests.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use pallet_balances::{BalanceLock, Error as BalancesError}; [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_scheduler` [INFO] [stdout] --> src/tests/cancellation.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(pallet_scheduler::Agenda::::get(6)[0].is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_scheduler` [INFO] [stdout] --> src/tests/cancellation.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | assert!(pallet_scheduler::Agenda::::get(6)[0].is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests/lock_voting.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | reasons: pallet_balances::Reasons::Misc, [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_scheduler` [INFO] [stdout] --> src/tests/voting.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(pallet_scheduler::Agenda::::get(6)[0].is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Balances: pallet_balances::{Module, Call, Storage, Config, Event}, [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_scheduler` [INFO] [stdout] --> src/tests.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | Scheduler: pallet_scheduler::{Module, Call, Storage, Config, Event}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | !matches!(call, &Call::Balances(pallet_balances::Call::set_balance(..))) [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/tests.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | 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_scheduler` [INFO] [stdout] --> src/tests.rs:110:6 [INFO] [stdout] | [INFO] [stdout] 110 | impl pallet_scheduler::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | 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/tests.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | type Currency = pallet_balances::Module; [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/tests.rs:193:2 [INFO] [stdout] | [INFO] [stdout] 193 | 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/tests.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / frame_support::construct_runtime!( [INFO] [stdout] 58 | | pub enum Test where [INFO] [stdout] 59 | | Block = Block, [INFO] [stdout] 60 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | ); [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] 20 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 20 | use crate::system::Event; [INFO] [stdout] | [INFO] [stdout] 20 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_scheduler` [INFO] [stdout] --> src/tests.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / frame_support::construct_runtime!( [INFO] [stdout] 58 | | pub enum Test where [INFO] [stdout] 59 | | Block = Block, [INFO] [stdout] 60 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_^ not found in `pallet_scheduler` [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] 20 | use crate::Event; [INFO] [stdout] | [INFO] [stdout] 20 | use crate::system::Event; [INFO] [stdout] | [INFO] [stdout] 20 | use frame_system::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | Call::Balances(pallet_balances::Call::set_balance(42, value, 0)).encode() [INFO] [stdout] | ^^^^ not found in `pallet_balances` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 20 | use crate::Call; [INFO] [stdout] | [INFO] [stdout] 20 | use crate::system::Call; [INFO] [stdout] | [INFO] [stdout] 20 | use frame_system::Call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 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-democracy` due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "5b6f0eb940e22fd1bd6c6dd4d5e2ebdbb8a8db016e542bb4996a80035532510b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6f0eb940e22fd1bd6c6dd4d5e2ebdbb8a8db016e542bb4996a80035532510b", kill_on_drop: false }` [INFO] [stdout] 5b6f0eb940e22fd1bd6c6dd4d5e2ebdbb8a8db016e542bb4996a80035532510b