[INFO] fetching crate pallet-democracy 2.0.1... [INFO] checking pallet-democracy-2.0.1 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate pallet-democracy 2.0.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate pallet-democracy 2.0.1 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-democracy 2.0.1 [INFO] finished tweaking crates.io crate pallet-democracy 2.0.1 [INFO] tweaked toml for crates.io crate pallet-democracy 2.0.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 401312489e8dd5392fc41097dba2ee9ca69315f596e852f8e122044212aaf656 [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" "401312489e8dd5392fc41097dba2ee9ca69315f596e852f8e122044212aaf656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "401312489e8dd5392fc41097dba2ee9ca69315f596e852f8e122044212aaf656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401312489e8dd5392fc41097dba2ee9ca69315f596e852f8e122044212aaf656", kill_on_drop: false }` [INFO] [stdout] 401312489e8dd5392fc41097dba2ee9ca69315f596e852f8e122044212aaf656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a0baf5eb5a7e02a063b36bcef956fe17dad74cbf49280f3f23b5180a19fbf4b [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" "9a0baf5eb5a7e02a063b36bcef956fe17dad74cbf49280f3f23b5180a19fbf4b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking trie-db v0.22.3 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.1 [INFO] [stderr] Checking statrs v0.10.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking sp-arithmetic v2.0.1 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking sp-tracing v2.0.1 [INFO] [stderr] Checking sp-wasm-interface v2.0.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.1 [INFO] [stderr] Checking sp-core v2.0.1 [INFO] [stderr] Checking sp-trie v2.0.1 [INFO] [stderr] Checking sp-inherents v2.0.1 [INFO] [stderr] Checking frame-metadata v12.0.1 [INFO] [stderr] Checking sp-state-machine v0.8.1 [INFO] [stderr] Checking sp-io v2.0.1 [INFO] [stderr] Checking sp-application-crypto v2.0.1 [INFO] [stderr] Checking sp-runtime v2.0.1 [INFO] [stderr] Checking sp-version v2.0.1 [INFO] [stderr] Checking frame-support v2.0.1 [INFO] [stderr] Checking sp-api v2.0.1 [INFO] [stderr] Checking linregress v0.1.7 [INFO] [stderr] Checking frame-system v2.0.1 [INFO] [stderr] Checking frame-benchmarking v2.0.1 [INFO] [stderr] Checking pallet-democracy v2.0.1 (/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:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | pallet_balances, [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:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | pallet_scheduler, [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:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | !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:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | 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:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | impl pallet_scheduler::Trait 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:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | impl pallet_balances::Trait 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:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | 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:212:2 [INFO] [stdout] | [INFO] [stdout] 212 | 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:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | type Balances = 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_scheduler` [INFO] [stdout] --> src/tests.rs:229:18 [INFO] [stdout] | [INFO] [stdout] 229 | type Scheduler = pallet_scheduler::Module; [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: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 crate 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 crate or module `pallet_balances` [INFO] [stdout] --> src/tests.rs:242:34 [INFO] [stdout] | [INFO] [stdout] 242 | 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" "9a0baf5eb5a7e02a063b36bcef956fe17dad74cbf49280f3f23b5180a19fbf4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0baf5eb5a7e02a063b36bcef956fe17dad74cbf49280f3f23b5180a19fbf4b", kill_on_drop: false }` [INFO] [stdout] 9a0baf5eb5a7e02a063b36bcef956fe17dad74cbf49280f3f23b5180a19fbf4b