[INFO] fetching crate pallet-democracy 2.0.0-rc5... [INFO] checking pallet-democracy-2.0.0-rc5 against try#353a0a223066e9f46a1d935f2271a26c3c5002bb for pr-75180 [INFO] extracting crate pallet-democracy 2.0.0-rc5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate pallet-democracy 2.0.0-rc5 on toolchain 353a0a223066e9f46a1d935f2271a26c3c5002bb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fc1aa9f132bbdc98671fcd9ffc63a632019fec900be642113aeef2e96aa23f0 [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" "6fc1aa9f132bbdc98671fcd9ffc63a632019fec900be642113aeef2e96aa23f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc1aa9f132bbdc98671fcd9ffc63a632019fec900be642113aeef2e96aa23f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc1aa9f132bbdc98671fcd9ffc63a632019fec900be642113aeef2e96aa23f0", kill_on_drop: false }` [INFO] [stdout] 6fc1aa9f132bbdc98671fcd9ffc63a632019fec900be642113aeef2e96aa23f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+353a0a223066e9f46a1d935f2271a26c3c5002bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 774c5c5cc2c0a9617449f776092d66094a87e6353a11f090eab24c702cb6dae0 [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" "774c5c5cc2c0a9617449f776092d66094a87e6353a11f090eab24c702cb6dae0", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc6 [INFO] [stderr] Checking statrs v0.10.0 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking alga v0.9.3 [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-wasm-interface v2.0.0-rc6 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc6 [INFO] [stderr] Checking sp-core v2.0.0-rc6 [INFO] [stderr] Checking sp-trie v2.0.0-rc6 [INFO] [stderr] Checking sp-inherents v2.0.0-rc6 [INFO] [stderr] Checking frame-metadata v11.0.0-rc6 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc6 [INFO] [stderr] Checking sp-io v2.0.0-rc6 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc6 [INFO] [stderr] Checking sp-runtime v2.0.0-rc6 [INFO] [stderr] Checking linregress v0.1.7 [INFO] [stderr] Checking sp-version v2.0.0-rc6 [INFO] [stderr] Checking frame-support v2.0.0-rc6 [INFO] [stderr] Checking sp-api v2.0.0-rc6 [INFO] [stderr] Checking frame-system v2.0.0-rc6 [INFO] [stderr] Checking frame-benchmarking v2.0.0-rc6 [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" "774c5c5cc2c0a9617449f776092d66094a87e6353a11f090eab24c702cb6dae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774c5c5cc2c0a9617449f776092d66094a87e6353a11f090eab24c702cb6dae0", kill_on_drop: false }` [INFO] [stdout] 774c5c5cc2c0a9617449f776092d66094a87e6353a11f090eab24c702cb6dae0