[INFO] fetching crate pallet-democracy 3.0.0... [INFO] checking pallet-democracy-3.0.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate pallet-democracy 3.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pallet-democracy 3.0.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d492da928a19cd5626784f16b80a3412c81f0388aebbf86ffd704c6b48da96b9 [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" "d492da928a19cd5626784f16b80a3412c81f0388aebbf86ffd704c6b48da96b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d492da928a19cd5626784f16b80a3412c81f0388aebbf86ffd704c6b48da96b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d492da928a19cd5626784f16b80a3412c81f0388aebbf86ffd704c6b48da96b9", kill_on_drop: false }` [INFO] [stdout] d492da928a19cd5626784f16b80a3412c81f0388aebbf86ffd704c6b48da96b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--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] be2e8274416884355a7a63ee9063bdff4afb571af8f388a96c362f2141ed90ac [INFO] running `Command { std: "docker" "start" "-a" "be2e8274416884355a7a63ee9063bdff4afb571af8f388a96c362f2141ed90ac", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v3.0.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking trie-db v0.22.6 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking tiny-bip39 v0.8.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.0 [INFO] [stderr] Compiling frame-support-procedural-tools v3.0.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking rand_distr v0.4.1 [INFO] [stderr] Compiling frame-support-procedural v3.0.0 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking sp-storage v3.0.0 [INFO] [stderr] Checking sp-arithmetic v3.0.0 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking sp-externalities v0.9.0 [INFO] [stderr] Checking sp-tracing v3.0.0 [INFO] [stderr] Checking sp-wasm-interface v3.0.0 [INFO] [stderr] Checking parity-util-mem v0.9.0 [INFO] [stderr] Checking sp-runtime-interface v3.0.0 [INFO] [stderr] Checking memory-db v0.26.0 [INFO] [stderr] Checking sp-core v3.0.0 [INFO] [stderr] Checking sp-trie v3.0.0 [INFO] [stderr] Checking sp-keystore v0.9.0 [INFO] [stderr] Checking frame-metadata v13.0.0 [INFO] [stderr] Checking sp-inherents v3.0.0 [INFO] [stderr] Checking sp-state-machine v0.9.0 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking sp-io v3.0.0 [INFO] [stderr] Checking sp-application-crypto v3.0.0 [INFO] [stderr] Checking sp-runtime v3.0.0 [INFO] [stderr] Checking sp-version v3.0.0 [INFO] [stderr] Checking sp-staking v3.0.0 [INFO] [stderr] Checking frame-support v3.0.0 [INFO] [stderr] Checking sp-api v3.0.0 [INFO] [stderr] Checking frame-system v3.0.0 [INFO] [stderr] Checking statrs v0.15.0 [INFO] [stderr] Checking linregress v0.4.3 [INFO] [stderr] Checking frame-benchmarking v3.1.0 [INFO] [stderr] Checking 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` [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" "be2e8274416884355a7a63ee9063bdff4afb571af8f388a96c362f2141ed90ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2e8274416884355a7a63ee9063bdff4afb571af8f388a96c362f2141ed90ac", kill_on_drop: false }` [INFO] [stdout] be2e8274416884355a7a63ee9063bdff4afb571af8f388a96c362f2141ed90ac