[INFO] fetching crate pallet-democracy 2.0.1... [INFO] checking pallet-democracy-2.0.1 against try#9c1dcf141bc0875407c4eb36972857bd3db713e2 for pr-81863 [INFO] extracting crate pallet-democracy 2.0.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate pallet-democracy 2.0.1 on toolchain 9c1dcf141bc0875407c4eb36972857bd3db713e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--no-deps" "--format-version=1", 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] 1efece29196758e4e4ca6da5320714769c177bbf16d4c81906e2eba3def9aa1e [INFO] running `Command { std: "docker" "start" "-a" "1efece29196758e4e4ca6da5320714769c177bbf16d4c81906e2eba3def9aa1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1efece29196758e4e4ca6da5320714769c177bbf16d4c81906e2eba3def9aa1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efece29196758e4e4ca6da5320714769c177bbf16d4c81906e2eba3def9aa1e", kill_on_drop: false }` [INFO] [stdout] 1efece29196758e4e4ca6da5320714769c177bbf16d4c81906e2eba3def9aa1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "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] cc77fa2763d3f278040a99791e1bf11f1bf28df270dabde5694e4b33d0830c81 [INFO] running `Command { std: "docker" "start" "-a" "cc77fa2763d3f278040a99791e1bf11f1bf28df270dabde5694e4b33d0830c81", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking ref-cast v1.0.6 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.1 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.1 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.1 [INFO] [stderr] Compiling frame-support-procedural v2.0.1 [INFO] [stderr] Checking parity-scale-codec v1.3.6 [INFO] [stderr] Checking linregress v0.1.7 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.1 [INFO] [stderr] Checking sp-wasm-interface v2.0.1 [INFO] [stderr] Checking sp-tracing v2.0.1 [INFO] [stderr] Checking sp-arithmetic v2.0.1 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking sp-externalities v0.8.1 [INFO] [stderr] Checking parity-util-mem v0.7.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.1 [INFO] [stderr] Checking memory-db v0.24.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 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" "cc77fa2763d3f278040a99791e1bf11f1bf28df270dabde5694e4b33d0830c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc77fa2763d3f278040a99791e1bf11f1bf28df270dabde5694e4b33d0830c81", kill_on_drop: false }` [INFO] [stdout] cc77fa2763d3f278040a99791e1bf11f1bf28df270dabde5694e4b33d0830c81