[INFO] fetching crate pallet-staking 3.0.0... [INFO] checking pallet-staking-3.0.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate pallet-staking 3.0.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate pallet-staking 3.0.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-staking 3.0.0 [INFO] finished tweaking crates.io crate pallet-staking 3.0.0 [INFO] tweaked toml for crates.io crate pallet-staking 3.0.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pallet-authorship v3.0.0 [INFO] [stderr] Downloaded sp-authorship v3.0.0 [INFO] [stderr] Downloaded pallet-timestamp v3.0.0 [INFO] [stderr] Downloaded sp-npos-elections-compact v3.0.0 [INFO] [stderr] Downloaded sp-npos-elections v3.0.0 [INFO] [stderr] Downloaded sp-session v3.0.0 [INFO] [stderr] Downloaded pallet-session v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75de4eb2f823685c2665186a2c6e7fe64918235a57f40d1b912a0b4701fedde3 [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" "75de4eb2f823685c2665186a2c6e7fe64918235a57f40d1b912a0b4701fedde3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75de4eb2f823685c2665186a2c6e7fe64918235a57f40d1b912a0b4701fedde3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75de4eb2f823685c2665186a2c6e7fe64918235a57f40d1b912a0b4701fedde3", kill_on_drop: false }` [INFO] [stdout] 75de4eb2f823685c2665186a2c6e7fe64918235a57f40d1b912a0b4701fedde3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17e82f330a52583d6334c2c253c7c78c65298edde84008640d1506cc1467f161 [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" "17e82f330a52583d6334c2c253c7c78c65298edde84008640d1506cc1467f161", kill_on_drop: false }` [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking statrs v0.12.0 [INFO] [stderr] Compiling sp-npos-elections-compact v3.0.0 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking memory-db v0.26.0 [INFO] [stderr] Checking trie-db v0.22.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.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 v3.0.0 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stderr] Checking sp-tracing v3.0.0 [INFO] [stderr] Checking sp-wasm-interface v3.0.0 [INFO] [stderr] Checking sp-runtime-interface v3.0.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 sp-inherents v3.0.0 [INFO] [stderr] Checking frame-metadata v13.0.0 [INFO] [stderr] Checking sp-npos-elections v3.0.0 [INFO] [stderr] Checking sp-state-machine v0.9.0 [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 linregress v0.4.0 [INFO] [stderr] Checking sp-version v3.0.0 [INFO] [stderr] Checking sp-staking v3.0.0 [INFO] [stderr] Checking sp-authorship v3.0.0 [INFO] [stderr] Checking frame-support v3.0.0 [INFO] [stderr] Checking sp-api v3.0.0 [INFO] [stderr] Checking sp-timestamp v3.0.0 [INFO] [stderr] Checking sp-session v3.0.0 [INFO] [stderr] Checking frame-system v3.0.0 [INFO] [stderr] Checking frame-benchmarking v3.1.0 [INFO] [stderr] Checking pallet-authorship v3.0.0 [INFO] [stderr] Checking pallet-timestamp v3.0.0 [INFO] [stderr] Checking pallet-session v3.0.0 [INFO] [stderr] Checking pallet-staking v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand_chacha` [INFO] [stdout] --> src/testing_utils.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rand_chacha::{rand_core::{RngCore, SeedableRng}, ChaChaRng}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `rand_chacha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_benchmarking` [INFO] [stdout] --> src/testing_utils.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use frame_benchmarking::account; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_chacha` [INFO] [stdout] --> src/testing_utils.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rand_chacha::{rand_core::{RngCore, SeedableRng}, ChaChaRng}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `rand_chacha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use sp_core::H256; [INFO] [stdout] | ^^^^^^^ help: a similar path exists: `sp_application_crypto::sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_balances` [INFO] [stdout] --> src/tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use pallet_balances::Error as BalancesError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_core` [INFO] [stdout] --> src/tests.rs:2918:6 [INFO] [stdout] | [INFO] [stdout] 2918 | use sp_core::offchain::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> src/tests.rs:2917:6 [INFO] [stdout] | [INFO] [stdout] 2917 | use parking_lot::RwLock; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `parking_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests.rs:2926:6 [INFO] [stdout] | [INFO] [stdout] 2926 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use frame_benchmarking::{benchmarks, account, whitelisted_caller, whitelist_account}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] --> src/mock.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] --> src/inflation.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq_uvec!(>::iter().collect::>(), vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:204:3 [INFO] [stdout] | [INFO] [stdout] 204 | assert_eq_uvec!(Session::validators(), vec![11, 21]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:252:3 [INFO] [stdout] | [INFO] [stdout] 252 | assert_eq_uvec!(Session::validators(), vec![11, 21]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | assert_eq_uvec!(validator_controllers(), vec![20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq_uvec!(validator_controllers(), vec![20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | assert_eq_uvec!(validator_controllers(), vec![20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:331:4 [INFO] [stdout] | [INFO] [stdout] 331 | assert_eq_uvec!(validator_controllers(), vec![20, 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq_uvec!(validator_controllers(), vec![20, 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | assert_eq_uvec!(validator_controllers(), vec![20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | assert_eq_uvec!(validator_controllers(), vec![30, 20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:407:4 [INFO] [stdout] | [INFO] [stdout] 407 | assert_eq_uvec!(validator_controllers(), vec![30, 20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:429:4 [INFO] [stdout] | [INFO] [stdout] 429 | assert_eq_uvec!(validator_controllers(), vec![10, 20, 30, 40]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:443:4 [INFO] [stdout] | [INFO] [stdout] 443 | assert_eq_uvec!(validator_controllers(), vec![10, 20, 30, 40]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:457:4 [INFO] [stdout] | [INFO] [stdout] 457 | assert_eq_uvec!(validator_controllers(), vec![40, 30]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:487:4 [INFO] [stdout] | [INFO] [stdout] 487 | assert_eq_uvec!(validator_controllers(), vec![20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:1646:3 [INFO] [stdout] | [INFO] [stdout] 1646 | assert_eq_uvec!(validator_controllers(), vec![20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:1665:3 [INFO] [stdout] | [INFO] [stdout] 1665 | assert_eq_uvec!(validator_controllers(), vec![6, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:1678:3 [INFO] [stdout] | [INFO] [stdout] 1678 | assert_eq_uvec!(validator_controllers(), vec![2, 20]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:1685:3 [INFO] [stdout] | [INFO] [stdout] 1685 | assert_eq_uvec!(validator_controllers(), vec![40, 30]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:1700:3 [INFO] [stdout] | [INFO] [stdout] 1700 | assert_eq_uvec!(validator_controllers(), vec![20, 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:1781:4 [INFO] [stdout] | [INFO] [stdout] 1781 | assert_eq_uvec!(validator_controllers(), vec![20, 10, 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:1795:4 [INFO] [stdout] | [INFO] [stdout] 1795 | assert_eq_uvec!(validator_controllers(), vec![20, 10, 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:1937:3 [INFO] [stdout] | [INFO] [stdout] 1937 | assert_eq_uvec!(validator_controllers(), vec![4, 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:2014:3 [INFO] [stdout] | [INFO] [stdout] 2014 | assert_eq_uvec!(Session::validators(), vec![11, 21]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:3450:4 [INFO] [stdout] | [INFO] [stdout] 3450 | assert_eq_uvec!(Session::validators(), vec![11, 21]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:3494:4 [INFO] [stdout] | [INFO] [stdout] 3494 | assert_eq_uvec!(Session::validators(), vec![11, 21]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq_uvec` [INFO] [stdout] --> src/tests.rs:4203:3 [INFO] [stdout] | [INFO] [stdout] 4203 | assert_eq_uvec!(Session::validators(), vec![11, 21]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `benchmarks` [INFO] [stdout] --> src/benchmarking.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | benchmarks! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | 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_timestamp` [INFO] [stdout] --> src/mock.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | 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_balances` [INFO] [stdout] --> src/mock.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | 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_timestamp` [INFO] [stdout] --> src/mock.rs:202:6 [INFO] [stdout] | [INFO] [stdout] 202 | impl pallet_timestamp::Config for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/mock.rs:374:3 [INFO] [stdout] | [INFO] [stdout] 374 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:391:11 [INFO] [stdout] | [INFO] [stdout] 391 | let _ = 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 type `SelectedBenchmark` [INFO] [stdout] --> src/benchmarking.rs:851:29 [INFO] [stdout] | [INFO] [stdout] 851 | let selected_benchmark = SelectedBenchmark::payout_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `SelectedBenchmark` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:852:18 [INFO] [stdout] | [INFO] [stdout] 852 | let c = vec![(frame_benchmarking::BenchmarkParameter::v, v), (frame_benchmarking::BenchmarkParameter::n, n)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:852:66 [INFO] [stdout] | [INFO] [stdout] 852 | let c = vec![(frame_benchmarking::BenchmarkParameter::v, v), (frame_benchmarking::BenchmarkParameter::n, n)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:854:27 [INFO] [stdout] | [INFO] [stdout] 854 | >::instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / frame_support::construct_runtime!( [INFO] [stdout] 95 | | pub enum Test where [INFO] [stdout] 96 | | Block = Block, [INFO] [stdout] 97 | | NodeBlock = Block, [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | ); [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] 20 | use pallet_session::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/mock.rs:220:62 [INFO] [stdout] | [INFO] [stdout] 220 | pub const RewardCurve: &'static PiecewiseLinear<'static> = &I_NPOS; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PoolState` in this scope [INFO] [stdout] --> src/tests.rs:2955:77 [INFO] [stdout] | [INFO] [stdout] 2955 | fn offchainify(ext: &mut TestExternalities, iterations: u32) -> Arc> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2909 | use sp_runtime::offchain::testing::PoolState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestOffchainExt` [INFO] [stdout] --> src/tests.rs:2956:36 [INFO] [stdout] | [INFO] [stdout] 2956 | let (offchain, offchain_state) = TestOffchainExt::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2909 | use sp_runtime::offchain::testing::TestOffchainExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestTransactionPoolExt` [INFO] [stdout] --> src/tests.rs:2957:28 [INFO] [stdout] | [INFO] [stdout] 2957 | let (pool, pool_state) = TestTransactionPoolExt::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2909 | use sp_runtime::offchain::testing::TestTransactionPoolExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OffchainExt` [INFO] [stdout] --> src/tests.rs:2963:26 [INFO] [stdout] | [INFO] [stdout] 2963 | ext.register_extension(OffchainExt::new(offchain)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2909 | use crate::mock::sp_io::OffchainExt; [INFO] [stdout] | [INFO] [stdout] 2909 | use sp_runtime::offchain::OffchainExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransactionPoolExt` [INFO] [stdout] --> src/tests.rs:2964:26 [INFO] [stdout] | [INFO] [stdout] 2964 | ext.register_extension(TransactionPoolExt::new(pool)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/transaction_validity.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub type TransactionPriority = u64; [INFO] [stdout] | ----------------------------------- similarly named type alias `TransactionPriority` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2964 | ext.register_extension(TransactionPriority::new(pool)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2909 | use crate::mock::sp_io::TransactionPoolExt; [INFO] [stdout] | [INFO] [stdout] 2909 | use sp_runtime::offchain::TransactionPoolExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SelectedBenchmark` in this scope [INFO] [stdout] --> src/benchmarking.rs:854:6 [INFO] [stdout] | [INFO] [stdout] 854 | >::instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_bond` in this scope [INFO] [stdout] --> src/benchmarking.rs:867:15 [INFO] [stdout] | [INFO] [stdout] 867 | assert_ok!(test_benchmark_bond::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_bond_extra` in this scope [INFO] [stdout] --> src/benchmarking.rs:868:15 [INFO] [stdout] | [INFO] [stdout] 868 | assert_ok!(test_benchmark_bond_extra::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_unbond` in this scope [INFO] [stdout] --> src/benchmarking.rs:869:15 [INFO] [stdout] | [INFO] [stdout] 869 | assert_ok!(test_benchmark_unbond::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_withdraw_unbonded_update` in this scope [INFO] [stdout] --> src/benchmarking.rs:870:15 [INFO] [stdout] | [INFO] [stdout] 870 | assert_ok!(test_benchmark_withdraw_unbonded_update::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_withdraw_unbonded_kill` in this scope [INFO] [stdout] --> src/benchmarking.rs:871:15 [INFO] [stdout] | [INFO] [stdout] 871 | assert_ok!(test_benchmark_withdraw_unbonded_kill::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_validate` in this scope [INFO] [stdout] --> src/benchmarking.rs:872:15 [INFO] [stdout] | [INFO] [stdout] 872 | assert_ok!(test_benchmark_validate::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_kick` in this scope [INFO] [stdout] --> src/benchmarking.rs:873:15 [INFO] [stdout] | [INFO] [stdout] 873 | assert_ok!(test_benchmark_kick::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_nominate` in this scope [INFO] [stdout] --> src/benchmarking.rs:874:15 [INFO] [stdout] | [INFO] [stdout] 874 | assert_ok!(test_benchmark_nominate::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_chill` in this scope [INFO] [stdout] --> src/benchmarking.rs:875:15 [INFO] [stdout] | [INFO] [stdout] 875 | assert_ok!(test_benchmark_chill::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_set_payee` in this scope [INFO] [stdout] --> src/benchmarking.rs:876:15 [INFO] [stdout] | [INFO] [stdout] 876 | assert_ok!(test_benchmark_set_payee::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_set_controller` in this scope [INFO] [stdout] --> src/benchmarking.rs:877:15 [INFO] [stdout] | [INFO] [stdout] 877 | assert_ok!(test_benchmark_set_controller::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_set_validator_count` in this scope [INFO] [stdout] --> src/benchmarking.rs:878:15 [INFO] [stdout] | [INFO] [stdout] 878 | assert_ok!(test_benchmark_set_validator_count::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_force_no_eras` in this scope [INFO] [stdout] --> src/benchmarking.rs:879:15 [INFO] [stdout] | [INFO] [stdout] 879 | assert_ok!(test_benchmark_force_no_eras::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_force_new_era` in this scope [INFO] [stdout] --> src/benchmarking.rs:880:15 [INFO] [stdout] | [INFO] [stdout] 880 | assert_ok!(test_benchmark_force_new_era::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_force_new_era_always` in this scope [INFO] [stdout] --> src/benchmarking.rs:881:15 [INFO] [stdout] | [INFO] [stdout] 881 | assert_ok!(test_benchmark_force_new_era_always::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_set_invulnerables` in this scope [INFO] [stdout] --> src/benchmarking.rs:882:15 [INFO] [stdout] | [INFO] [stdout] 882 | assert_ok!(test_benchmark_set_invulnerables::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_force_unstake` in this scope [INFO] [stdout] --> src/benchmarking.rs:883:15 [INFO] [stdout] | [INFO] [stdout] 883 | assert_ok!(test_benchmark_force_unstake::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_cancel_deferred_slash` in this scope [INFO] [stdout] --> src/benchmarking.rs:884:15 [INFO] [stdout] | [INFO] [stdout] 884 | assert_ok!(test_benchmark_cancel_deferred_slash::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_payout_stakers_dead_controller` in this scope [INFO] [stdout] --> src/benchmarking.rs:885:15 [INFO] [stdout] | [INFO] [stdout] 885 | assert_ok!(test_benchmark_payout_stakers_dead_controller::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_payout_stakers_alive_staked` in this scope [INFO] [stdout] --> src/benchmarking.rs:886:15 [INFO] [stdout] | [INFO] [stdout] 886 | assert_ok!(test_benchmark_payout_stakers_alive_staked::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_rebond` in this scope [INFO] [stdout] --> src/benchmarking.rs:887:15 [INFO] [stdout] | [INFO] [stdout] 887 | assert_ok!(test_benchmark_rebond::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_set_history_depth` in this scope [INFO] [stdout] --> src/benchmarking.rs:888:15 [INFO] [stdout] | [INFO] [stdout] 888 | assert_ok!(test_benchmark_set_history_depth::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_reap_stash` in this scope [INFO] [stdout] --> src/benchmarking.rs:889:15 [INFO] [stdout] | [INFO] [stdout] 889 | assert_ok!(test_benchmark_reap_stash::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_new_era` in this scope [INFO] [stdout] --> src/benchmarking.rs:890:15 [INFO] [stdout] | [INFO] [stdout] 890 | assert_ok!(test_benchmark_new_era::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_do_slash` in this scope [INFO] [stdout] --> src/benchmarking.rs:891:15 [INFO] [stdout] | [INFO] [stdout] 891 | assert_ok!(test_benchmark_do_slash::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_payout_all` in this scope [INFO] [stdout] --> src/benchmarking.rs:892:15 [INFO] [stdout] | [INFO] [stdout] 892 | assert_ok!(test_benchmark_payout_all::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_submit_solution_initial` in this scope [INFO] [stdout] --> src/benchmarking.rs:894:15 [INFO] [stdout] | [INFO] [stdout] 894 | assert_ok!(test_benchmark_submit_solution_initial::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_submit_solution_better` in this scope [INFO] [stdout] --> src/benchmarking.rs:902:15 [INFO] [stdout] | [INFO] [stdout] 902 | assert_ok!(test_benchmark_submit_solution_better::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_submit_solution_weaker` in this scope [INFO] [stdout] --> src/benchmarking.rs:903:15 [INFO] [stdout] | [INFO] [stdout] 903 | assert_ok!(test_benchmark_submit_solution_weaker::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | assert_eq!(super::compute_total_payout(&I_NPOS, 0, 100_000u64, YEAR).1, 9_993); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(super::compute_total_payout(&I_NPOS, 0, 100_000u64, YEAR).0, 2_498); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(super::compute_total_payout(&I_NPOS, 5_000, 100_000u64, YEAR).0, 3_248); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, YEAR).0, 6_246); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:77:43 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(super::compute_total_payout(&I_NPOS, 40_000, 100_000u64, YEAR).0, 8_494); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, YEAR).0, 9_993); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(super::compute_total_payout(&I_NPOS, 60_000, 100_000u64, YEAR).0, 4_379); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, YEAR).0, 2_733); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(super::compute_total_payout(&I_NPOS, 95_000, 100_000u64, YEAR).0, 2_513); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(super::compute_total_payout(&I_NPOS, 100_000, 100_000u64, YEAR).0, 2_505); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, DAY).0, 17); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, DAY).0, 27); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:87:43 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, DAY).0, 7); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(super::compute_total_payout(&I_NPOS, 25_000, 100_000u64, SIX_HOURS).0, 4); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:91:43 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(super::compute_total_payout(&I_NPOS, 50_000, 100_000u64, SIX_HOURS).0, 7); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(super::compute_total_payout(&I_NPOS, 75_000, 100_000u64, SIX_HOURS).0, 2); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/inflation.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | &I_NPOS, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_npos_elections::CompactSolution` [INFO] [stdout] --> src/benchmarking.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use sp_npos_elections::CompactSolution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_runtime::curve::PiecewiseLinear` [INFO] [stdout] --> src/inflation.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | use sp_runtime::curve::PiecewiseLinear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 105 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-staking` [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" "17e82f330a52583d6334c2c253c7c78c65298edde84008640d1506cc1467f161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e82f330a52583d6334c2c253c7c78c65298edde84008640d1506cc1467f161", kill_on_drop: false }` [INFO] [stdout] 17e82f330a52583d6334c2c253c7c78c65298edde84008640d1506cc1467f161