[INFO] fetching crate pallet-democracy 2.0.0-rc5... [INFO] checking pallet-democracy-2.0.0-rc5 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate pallet-democracy 2.0.0-rc5 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate pallet-democracy 2.0.0-rc5 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-democracy 2.0.0-rc5 [INFO] finished tweaking crates.io crate pallet-democracy 2.0.0-rc5 [INFO] tweaked toml for crates.io crate pallet-democracy 2.0.0-rc5 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f2ee88486466ccf43b33b56946b780e2ed90d9719b4c32d17c3f184546cb0f7 [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" "3f2ee88486466ccf43b33b56946b780e2ed90d9719b4c32d17c3f184546cb0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f2ee88486466ccf43b33b56946b780e2ed90d9719b4c32d17c3f184546cb0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2ee88486466ccf43b33b56946b780e2ed90d9719b4c32d17c3f184546cb0f7", kill_on_drop: false }` [INFO] [stdout] 3f2ee88486466ccf43b33b56946b780e2ed90d9719b4c32d17c3f184546cb0f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9afdccfc7521c369305ddc3c1943cec6f15cb46c53a97fe9ac82004df8b25dd9 [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" "9afdccfc7521c369305ddc3c1943cec6f15cb46c53a97fe9ac82004df8b25dd9", kill_on_drop: false }` [INFO] [stderr] Checking pallet-democracy v2.0.0-rc5 (/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 type 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 type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | pallet_balances, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_scheduler` [INFO] [stdout] --> src/tests.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | pallet_scheduler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | !matches!(call, &Call::Balances(pallet_balances::Call::set_balance(..))) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_scheduler` [INFO] [stdout] --> src/tests.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | impl pallet_scheduler::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | impl pallet_balances::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | type Currency = pallet_balances::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:210:2 [INFO] [stdout] | [INFO] [stdout] 210 | pallet_balances::GenesisConfig::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | type Balances = pallet_balances::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_scheduler` [INFO] [stdout] --> src/tests.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | type Scheduler = pallet_scheduler::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl_outer_event! { [INFO] [stdout] 69 | | pub enum Event for Test { [INFO] [stdout] 70 | | system, [INFO] [stdout] 71 | | pallet_balances, [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [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] 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 type or module `pallet_scheduler` [INFO] [stdout] --> src/tests.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl_outer_event! { [INFO] [stdout] 69 | | pub enum Event for Test { [INFO] [stdout] 70 | | system, [INFO] [stdout] 71 | | pallet_balances, [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ not found in `pallet_scheduler` [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] 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 type or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | 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 19 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`. [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" "9afdccfc7521c369305ddc3c1943cec6f15cb46c53a97fe9ac82004df8b25dd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9afdccfc7521c369305ddc3c1943cec6f15cb46c53a97fe9ac82004df8b25dd9", kill_on_drop: false }` [INFO] [stdout] 9afdccfc7521c369305ddc3c1943cec6f15cb46c53a97fe9ac82004df8b25dd9