[INFO] fetching crate pallet-staking 2.0.0-rc3... [INFO] checking pallet-staking-2.0.0-rc3 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] extracting crate pallet-staking 2.0.0-rc3 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate pallet-staking 2.0.0-rc3 on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-staking 2.0.0-rc3 [INFO] finished tweaking crates.io crate pallet-staking 2.0.0-rc3 [INFO] tweaked toml for crates.io crate pallet-staking 2.0.0-rc3 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-npos-elections-compact v2.0.0-rc3 [INFO] [stderr] Downloaded pallet-session v2.0.0-rc3 [INFO] [stderr] Downloaded pallet-authorship v2.0.0-rc3 [INFO] [stderr] Downloaded sp-authorship v2.0.0-rc3 [INFO] [stderr] Downloaded pallet-timestamp v2.0.0-rc3 [INFO] [stderr] Downloaded sp-npos-elections v2.0.0-rc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f05ba7d6612861c09304edc0ac91171b1cfc4ea3ab018340d93aa871907e1b9 [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" "8f05ba7d6612861c09304edc0ac91171b1cfc4ea3ab018340d93aa871907e1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f05ba7d6612861c09304edc0ac91171b1cfc4ea3ab018340d93aa871907e1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f05ba7d6612861c09304edc0ac91171b1cfc4ea3ab018340d93aa871907e1b9", kill_on_drop: false }` [INFO] [stdout] 8f05ba7d6612861c09304edc0ac91171b1cfc4ea3ab018340d93aa871907e1b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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] 0b31a8099662842150af2d00c4f873845d0b28e47bdac65a728a32a069c28d27 [INFO] running `Command { std: "docker" "start" "-a" "0b31a8099662842150af2d00c4f873845d0b28e47bdac65a728a32a069c28d27", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking sp-std v2.0.0-rc3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking environmental v1.1.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking integer-sqrt v0.1.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking bitmask v0.5.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [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] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking statrs v0.10.0 [INFO] [stderr] Checking trie-db v0.20.1 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking sp-panic-handler v2.0.0-rc3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-rc3 [INFO] [stderr] Compiling ref-cast-impl v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling paste-impl v0.1.16 [INFO] [stderr] Compiling frame-support-procedural-tools-derive v2.0.0-rc3 [INFO] [stderr] Checking ref-cast v1.0.1 [INFO] [stderr] Checking paste v0.1.16 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking tracing v0.1.15 [INFO] [stderr] Checking sp-tracing v2.0.0-rc3 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking linregress v0.1.7 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking sp-storage v2.0.0-rc3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling frame-support-procedural-tools v2.0.0-rc3 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-rc3 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc3 [INFO] [stderr] Compiling sp-npos-elections-compact v2.0.0-rc3 [INFO] [stderr] Compiling frame-support-procedural v2.0.0-rc3 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-externalities v0.8.0-rc3 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc3 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc3 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking sp-npos-elections v2.0.0-rc3 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc3 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking sp-core v2.0.0-rc3 [INFO] [stderr] Checking sp-trie v2.0.0-rc3 [INFO] [stderr] Checking sp-inherents v2.0.0-rc3 [INFO] [stderr] Checking frame-metadata v11.0.0-rc3 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc3 [INFO] [stderr] Checking sp-io v2.0.0-rc3 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc3 [INFO] [stderr] Checking sp-runtime v2.0.0-rc3 [INFO] [stderr] Checking sp-version v2.0.0-rc3 [INFO] [stderr] Checking frame-support v2.0.0-rc3 [INFO] [stderr] Checking sp-staking v2.0.0-rc3 [INFO] [stderr] Checking sp-authorship v2.0.0-rc3 [INFO] [stderr] Checking sp-api v2.0.0-rc3 [INFO] [stderr] Checking sp-timestamp v2.0.0-rc3 [INFO] [stderr] Checking sp-session v2.0.0-rc3 [INFO] [stderr] Checking frame-system v2.0.0-rc3 [INFO] [stderr] Checking frame-benchmarking v2.0.0-rc3 [INFO] [stderr] Checking pallet-authorship v2.0.0-rc3 [INFO] [stderr] Checking pallet-timestamp v2.0.0-rc3 [INFO] [stderr] Checking pallet-session v2.0.0-rc3 [INFO] [stderr] Checking pallet-staking v2.0.0-rc3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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 type 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 type or module `rand_chacha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_core` [INFO] [stdout] --> src/mock.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | 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/mock.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | use pallet_balances as balances; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `pallet_balances` external crate [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 type 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 type or module `substrate_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_core` [INFO] [stdout] --> src/tests.rs:2728:6 [INFO] [stdout] | [INFO] [stdout] 2728 | use sp_core::offchain::{ [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `sp_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `parking_lot` [INFO] [stdout] --> src/tests.rs:2727:6 [INFO] [stdout] | [INFO] [stdout] 2727 | use parking_lot::RwLock; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `parking_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_utils` [INFO] [stdout] --> src/tests.rs:2736:6 [INFO] [stdout] | [INFO] [stdout] 2736 | use substrate_test_utils::assert_eq_uvec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use frame_benchmarking::{benchmarks, account}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_staking_reward_curve` [INFO] [stdout] --> src/mock.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | pallet_staking_reward_curve::build! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_staking_reward_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | 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:240:3 [INFO] [stdout] | [INFO] [stdout] 240 | 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:282:4 [INFO] [stdout] | [INFO] [stdout] 282 | 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:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | 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: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:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | 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:320:4 [INFO] [stdout] | [INFO] [stdout] 320 | 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:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | 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:360:4 [INFO] [stdout] | [INFO] [stdout] 360 | 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:365:4 [INFO] [stdout] | [INFO] [stdout] 365 | 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:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | 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:401:4 [INFO] [stdout] | [INFO] [stdout] 401 | 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:415:4 [INFO] [stdout] | [INFO] [stdout] 415 | 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:446:4 [INFO] [stdout] | [INFO] [stdout] 446 | 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:1555:3 [INFO] [stdout] | [INFO] [stdout] 1555 | 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:1574:3 [INFO] [stdout] | [INFO] [stdout] 1574 | 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:1587:3 [INFO] [stdout] | [INFO] [stdout] 1587 | 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:1594:3 [INFO] [stdout] | [INFO] [stdout] 1594 | 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:1609:3 [INFO] [stdout] | [INFO] [stdout] 1609 | 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:1691:4 [INFO] [stdout] | [INFO] [stdout] 1691 | 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:1707:4 [INFO] [stdout] | [INFO] [stdout] 1707 | 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:1753:3 [INFO] [stdout] | [INFO] [stdout] 1753 | 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:1830:3 [INFO] [stdout] | [INFO] [stdout] 1830 | 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:3261:4 [INFO] [stdout] | [INFO] [stdout] 3261 | 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:3304:4 [INFO] [stdout] | [INFO] [stdout] 3304 | 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:3966:3 [INFO] [stdout] | [INFO] [stdout] 3966 | 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:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | 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 type or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | 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_balances` [INFO] [stdout] --> src/mock.rs:227:6 [INFO] [stdout] | [INFO] [stdout] 227 | 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_timestamp` [INFO] [stdout] --> src/mock.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 269 | impl pallet_timestamp::Trait for Test { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/mock.rs:448:11 [INFO] [stdout] | [INFO] [stdout] 448 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pallet_balances` [INFO] [stdout] --> src/mock.rs:464:11 [INFO] [stdout] | [INFO] [stdout] 464 | let _ = 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/mock.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | pub 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_timestamp` [INFO] [stdout] --> src/mock.rs:549:22 [INFO] [stdout] | [INFO] [stdout] 549 | pub type Timestamp = pallet_timestamp::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `pallet_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SelectedBenchmark` [INFO] [stdout] --> src/benchmarking.rs:680:29 [INFO] [stdout] | [INFO] [stdout] 680 | let selected_benchmark = SelectedBenchmark::payout_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `SelectedBenchmark` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:681:18 [INFO] [stdout] | [INFO] [stdout] 681 | let c = vec![(frame_benchmarking::BenchmarkParameter::v, v), (frame_benchmarking::BenchmarkParameter::n, n)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:681:66 [INFO] [stdout] | [INFO] [stdout] 681 | let c = vec![(frame_benchmarking::BenchmarkParameter::v, v), (frame_benchmarking::BenchmarkParameter::n, n)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `frame_benchmarking` [INFO] [stdout] --> src/benchmarking.rs:683:27 [INFO] [stdout] | [INFO] [stdout] 683 | >::instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `frame_benchmarking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I_NPOS` in this scope [INFO] [stdout] --> src/mock.rs:286:62 [INFO] [stdout] | [INFO] [stdout] 286 | 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:2765:77 [INFO] [stdout] | [INFO] [stdout] 2765 | 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] 2719 | use sp_runtime::offchain::testing::PoolState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestOffchainExt` [INFO] [stdout] --> src/tests.rs:2766:36 [INFO] [stdout] | [INFO] [stdout] 2766 | 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] 2719 | use sp_runtime::offchain::testing::TestOffchainExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestTransactionPoolExt` [INFO] [stdout] --> src/tests.rs:2767:28 [INFO] [stdout] | [INFO] [stdout] 2767 | 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] 2719 | use sp_runtime::offchain::testing::TestTransactionPoolExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `OffchainExt` [INFO] [stdout] --> src/tests.rs:2773:26 [INFO] [stdout] | [INFO] [stdout] 2773 | ext.register_extension(OffchainExt::new(offchain)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2719 | use sp_runtime::offchain::OffchainExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TransactionPoolExt` [INFO] [stdout] --> src/tests.rs:2774:26 [INFO] [stdout] | [INFO] [stdout] 2774 | ext.register_extension(TransactionPoolExt::new(pool)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc3/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] 2774 | ext.register_extension(TransactionPriority::new(pool)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2719 | 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:683:6 [INFO] [stdout] | [INFO] [stdout] 683 | >::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:695:15 [INFO] [stdout] | [INFO] [stdout] 693 | fn test_benchmarks() { [INFO] [stdout] | -------------------- similarly named constant `test_benchmarks` defined here [INFO] [stdout] 694 | ExtBuilder::default().has_stakers(false).build().execute_with(|| { [INFO] [stdout] 695 | assert_ok!(test_benchmark_bond::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `test_benchmarks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_bond_extra` in this scope [INFO] [stdout] --> src/benchmarking.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | 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:697:15 [INFO] [stdout] | [INFO] [stdout] 693 | fn test_benchmarks() { [INFO] [stdout] | -------------------- similarly named constant `test_benchmarks` defined here [INFO] [stdout] ... [INFO] [stdout] 697 | assert_ok!(test_benchmark_unbond::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `test_benchmarks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_withdraw_unbonded_update` in this scope [INFO] [stdout] --> src/benchmarking.rs:698:15 [INFO] [stdout] | [INFO] [stdout] 698 | 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:699:15 [INFO] [stdout] | [INFO] [stdout] 699 | 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:700:15 [INFO] [stdout] | [INFO] [stdout] 700 | 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_nominate` in this scope [INFO] [stdout] --> src/benchmarking.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 701 | 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:702:15 [INFO] [stdout] | [INFO] [stdout] 693 | fn test_benchmarks() { [INFO] [stdout] | -------------------- similarly named constant `test_benchmarks` defined here [INFO] [stdout] ... [INFO] [stdout] 702 | assert_ok!(test_benchmark_chill::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `test_benchmarks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_set_payee` in this scope [INFO] [stdout] --> src/benchmarking.rs:703:15 [INFO] [stdout] | [INFO] [stdout] 703 | 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:704:15 [INFO] [stdout] | [INFO] [stdout] 704 | 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:705:15 [INFO] [stdout] | [INFO] [stdout] 705 | 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:706:15 [INFO] [stdout] | [INFO] [stdout] 706 | 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:707:15 [INFO] [stdout] | [INFO] [stdout] 707 | 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:708:15 [INFO] [stdout] | [INFO] [stdout] 708 | 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:709:15 [INFO] [stdout] | [INFO] [stdout] 709 | 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:710:15 [INFO] [stdout] | [INFO] [stdout] 710 | 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:711:15 [INFO] [stdout] | [INFO] [stdout] 711 | 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` in this scope [INFO] [stdout] --> src/benchmarking.rs:712:15 [INFO] [stdout] | [INFO] [stdout] 712 | assert_ok!(test_benchmark_payout_stakers::()); [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:713:15 [INFO] [stdout] | [INFO] [stdout] 693 | fn test_benchmarks() { [INFO] [stdout] | -------------------- similarly named constant `test_benchmarks` defined here [INFO] [stdout] ... [INFO] [stdout] 713 | assert_ok!(test_benchmark_rebond::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `test_benchmarks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_benchmark_set_history_depth` in this scope [INFO] [stdout] --> src/benchmarking.rs:714:15 [INFO] [stdout] | [INFO] [stdout] 714 | 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:715:15 [INFO] [stdout] | [INFO] [stdout] 715 | 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:716:15 [INFO] [stdout] | [INFO] [stdout] 716 | 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:717:15 [INFO] [stdout] | [INFO] [stdout] 717 | 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:718:15 [INFO] [stdout] | [INFO] [stdout] 718 | 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:720:15 [INFO] [stdout] | [INFO] [stdout] 720 | 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:728:15 [INFO] [stdout] | [INFO] [stdout] 728 | 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:729:15 [INFO] [stdout] | [INFO] [stdout] 729 | 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: `Dispatchable` [INFO] [stdout] --> src/benchmarking.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | use sp_runtime::{traits::{Dispatchable, One}}; [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 103 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" "0b31a8099662842150af2d00c4f873845d0b28e47bdac65a728a32a069c28d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b31a8099662842150af2d00c4f873845d0b28e47bdac65a728a32a069c28d27", kill_on_drop: false }` [INFO] [stdout] 0b31a8099662842150af2d00c4f873845d0b28e47bdac65a728a32a069c28d27