[INFO] fetching crate pallet-staking 2.0.0-rc5... [INFO] testing pallet-staking-2.0.0-rc5 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate pallet-staking 2.0.0-rc5 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate pallet-staking 2.0.0-rc5 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-staking 2.0.0-rc5 [INFO] finished tweaking crates.io crate pallet-staking 2.0.0-rc5 [INFO] tweaked toml for crates.io crate pallet-staking 2.0.0-rc5 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d518a538d3036af13d47de319b1f1bb302aaa5180ed65640b5427990a21fe223 [INFO] running `Command { std: "docker" "start" "-a" "d518a538d3036af13d47de319b1f1bb302aaa5180ed65640b5427990a21fe223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d518a538d3036af13d47de319b1f1bb302aaa5180ed65640b5427990a21fe223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d518a538d3036af13d47de319b1f1bb302aaa5180ed65640b5427990a21fe223", kill_on_drop: false }` [INFO] [stdout] d518a538d3036af13d47de319b1f1bb302aaa5180ed65640b5427990a21fe223 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--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] 540b8b3117ab1b1883fddaa66a03252d0bac8020600608718729c2ebd63115df [INFO] running `Command { std: "docker" "start" "-a" "540b8b3117ab1b1883fddaa66a03252d0bac8020600608718729c2ebd63115df", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling statrs v0.10.0 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc5 [INFO] [stderr] Compiling sp-npos-elections-compact v2.0.0-rc5 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc5 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling sp-npos-elections v2.0.0-rc5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling sp-trie v2.0.0-rc5 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc5 [INFO] [stderr] Compiling frame-metadata v11.0.0-rc5 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling sp-io v2.0.0-rc5 [INFO] [stderr] Compiling sp-application-crypto v2.0.0-rc5 [INFO] [stderr] Compiling sp-runtime v2.0.0-rc5 [INFO] [stderr] Compiling linregress v0.1.7 [INFO] [stderr] Compiling sp-version v2.0.0-rc5 [INFO] [stderr] Compiling frame-support v2.0.0-rc5 [INFO] [stderr] Compiling sp-staking v2.0.0-rc5 [INFO] [stderr] Compiling sp-authorship v2.0.0-rc5 [INFO] [stderr] Compiling sp-api v2.0.0-rc5 [INFO] [stderr] Compiling sp-timestamp v2.0.0-rc5 [INFO] [stderr] Compiling sp-session v2.0.0-rc5 [INFO] [stderr] Compiling frame-system v2.0.0-rc5 [INFO] [stderr] Compiling frame-benchmarking v2.0.0-rc5 [INFO] [stderr] Compiling pallet-authorship v2.0.0-rc5 [INFO] [stderr] Compiling pallet-timestamp v2.0.0-rc5 [INFO] [stderr] Compiling pallet-session v2.0.0-rc5 [INFO] [stderr] Compiling pallet-staking v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "540b8b3117ab1b1883fddaa66a03252d0bac8020600608718729c2ebd63115df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "540b8b3117ab1b1883fddaa66a03252d0bac8020600608718729c2ebd63115df", kill_on_drop: false }` [INFO] [stdout] 540b8b3117ab1b1883fddaa66a03252d0bac8020600608718729c2ebd63115df [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29dced9a3aa3dc82e3a66a149fa3a61a4503a3ed62cd2a6b09cefbb65705cf6c [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" "29dced9a3aa3dc82e3a66a149fa3a61a4503a3ed62cd2a6b09cefbb65705cf6c", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-staking v2.0.0-rc5 (/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:2823:6 [INFO] [stdout] | [INFO] [stdout] 2823 | 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:2822:6 [INFO] [stdout] | [INFO] [stdout] 2822 | 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:2831:6 [INFO] [stdout] | [INFO] [stdout] 2831 | 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:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | 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:1848:3 [INFO] [stdout] | [INFO] [stdout] 1848 | 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:1925:3 [INFO] [stdout] | [INFO] [stdout] 1925 | 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:3356:4 [INFO] [stdout] | [INFO] [stdout] 3356 | 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:3399:4 [INFO] [stdout] | [INFO] [stdout] 3399 | 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:4061:3 [INFO] [stdout] | [INFO] [stdout] 4061 | 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:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | 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:224:21 [INFO] [stdout] | [INFO] [stdout] 224 | 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:229:6 [INFO] [stdout] | [INFO] [stdout] 229 | 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:273:6 [INFO] [stdout] | [INFO] [stdout] 273 | 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:454:11 [INFO] [stdout] | [INFO] [stdout] 454 | 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:470:11 [INFO] [stdout] | [INFO] [stdout] 470 | 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:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | 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:555:22 [INFO] [stdout] | [INFO] [stdout] 555 | 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:705:29 [INFO] [stdout] | [INFO] [stdout] 705 | 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:706:18 [INFO] [stdout] | [INFO] [stdout] 706 | 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:706:66 [INFO] [stdout] | [INFO] [stdout] 706 | 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:708:27 [INFO] [stdout] | [INFO] [stdout] 708 | >::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:291:62 [INFO] [stdout] | [INFO] [stdout] 291 | 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:2860:77 [INFO] [stdout] | [INFO] [stdout] 2860 | 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] 2814 | 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:2861:36 [INFO] [stdout] | [INFO] [stdout] 2861 | 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] 2814 | 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:2862:28 [INFO] [stdout] | [INFO] [stdout] 2862 | 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] 2814 | 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:2868:26 [INFO] [stdout] | [INFO] [stdout] 2868 | 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] 2814 | use crate::mock::sp_io::OffchainExt; [INFO] [stdout] | [INFO] [stdout] 2814 | 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:2869:26 [INFO] [stdout] | [INFO] [stdout] 2869 | 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-rc5/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] 2869 | ext.register_extension(TransactionPriority::new(pool)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2814 | use crate::mock::sp_io::TransactionPoolExt; [INFO] [stdout] | [INFO] [stdout] 2814 | 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:708:6 [INFO] [stdout] | [INFO] [stdout] 708 | >::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:720:15 [INFO] [stdout] | [INFO] [stdout] 718 | fn test_benchmarks() { [INFO] [stdout] | -------------------- similarly named constant `test_benchmarks` defined here [INFO] [stdout] 719 | ExtBuilder::default().has_stakers(false).build().execute_with(|| { [INFO] [stdout] 720 | 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:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | 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:722:15 [INFO] [stdout] | [INFO] [stdout] 718 | fn test_benchmarks() { [INFO] [stdout] | -------------------- similarly named constant `test_benchmarks` defined here [INFO] [stdout] ... [INFO] [stdout] 722 | 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:723:15 [INFO] [stdout] | [INFO] [stdout] 723 | 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:724:15 [INFO] [stdout] | [INFO] [stdout] 724 | 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:725:15 [INFO] [stdout] | [INFO] [stdout] 725 | 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:726:15 [INFO] [stdout] | [INFO] [stdout] 726 | 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:727:15 [INFO] [stdout] | [INFO] [stdout] 718 | fn test_benchmarks() { [INFO] [stdout] | -------------------- similarly named constant `test_benchmarks` defined here [INFO] [stdout] ... [INFO] [stdout] 727 | 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:728:15 [INFO] [stdout] | [INFO] [stdout] 728 | 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:729:15 [INFO] [stdout] | [INFO] [stdout] 729 | 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:730:15 [INFO] [stdout] | [INFO] [stdout] 730 | 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:731:15 [INFO] [stdout] | [INFO] [stdout] 731 | 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:732:15 [INFO] [stdout] | [INFO] [stdout] 732 | 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:733:15 [INFO] [stdout] | [INFO] [stdout] 733 | 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:734:15 [INFO] [stdout] | [INFO] [stdout] 734 | 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:735:15 [INFO] [stdout] | [INFO] [stdout] 735 | 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:736:15 [INFO] [stdout] | [INFO] [stdout] 736 | 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:737:15 [INFO] [stdout] | [INFO] [stdout] 737 | 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_payout_stakers_alive_controller` in this scope [INFO] [stdout] --> src/benchmarking.rs:738:15 [INFO] [stdout] | [INFO] [stdout] 738 | assert_ok!(test_benchmark_payout_stakers_alive_controller::()); [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:739:15 [INFO] [stdout] | [INFO] [stdout] 718 | fn test_benchmarks() { [INFO] [stdout] | -------------------- similarly named constant `test_benchmarks` defined here [INFO] [stdout] ... [INFO] [stdout] 739 | 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:740:15 [INFO] [stdout] | [INFO] [stdout] 740 | 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:741:15 [INFO] [stdout] | [INFO] [stdout] 741 | 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:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | 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:743:15 [INFO] [stdout] | [INFO] [stdout] 743 | 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:744:15 [INFO] [stdout] | [INFO] [stdout] 744 | 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:746:15 [INFO] [stdout] | [INFO] [stdout] 746 | 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:754:15 [INFO] [stdout] | [INFO] [stdout] 754 | 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:755:15 [INFO] [stdout] | [INFO] [stdout] 755 | 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_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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 104 previous errors; 1 warning 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] running `Command { std: "docker" "inspect" "29dced9a3aa3dc82e3a66a149fa3a61a4503a3ed62cd2a6b09cefbb65705cf6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29dced9a3aa3dc82e3a66a149fa3a61a4503a3ed62cd2a6b09cefbb65705cf6c", kill_on_drop: false }` [INFO] [stdout] 29dced9a3aa3dc82e3a66a149fa3a61a4503a3ed62cd2a6b09cefbb65705cf6c