[INFO] fetching crate sc-rpc 2.0.0-rc5... [INFO] testing sc-rpc-2.0.0-rc5 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate sc-rpc 2.0.0-rc5 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate sc-rpc 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 sc-rpc 2.0.0-rc5 [INFO] finished tweaking crates.io crate sc-rpc 2.0.0-rc5 [INFO] tweaked toml for crates.io crate sc-rpc 2.0.0-rc5 written to /workspace/builds/worker-13/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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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] [stdout] a658f1afc37eae3ac8a773546845f3e4d1ca070527a4d266985b7bb9e5e76a31 [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" "a658f1afc37eae3ac8a773546845f3e4d1ca070527a4d266985b7bb9e5e76a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a658f1afc37eae3ac8a773546845f3e4d1ca070527a4d266985b7bb9e5e76a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a658f1afc37eae3ac8a773546845f3e4d1ca070527a4d266985b7bb9e5e76a31", kill_on_drop: false }` [INFO] [stdout] a658f1afc37eae3ac8a773546845f3e4d1ca070527a4d266985b7bb9e5e76a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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] ff2872b3f7b8f267f1775fc79bb839f4444b91209db76465765566ba9afc849c [INFO] running `Command { std: "docker" "start" "-a" "ff2872b3f7b8f267f1775fc79bb839f4444b91209db76465765566ba9afc849c", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling parity-send-wrapper v0.1.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling async-channel v1.4.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling prometheus v0.8.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling multihash v0.11.2 [INFO] [stderr] Compiling jsonrpc-derive v14.2.1 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc5 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling parity-scale-codec v1.3.4 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling parity-multiaddr v0.9.1 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling sp-serializer v2.0.0-rc5 [INFO] [stderr] Compiling jsonrpc-core v14.2.0 [INFO] [stderr] Compiling sp-chain-spec v2.0.0-rc5 [INFO] [stderr] Compiling slog-json v2.3.0 [INFO] [stderr] Compiling slog-scope v4.3.0 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling jsonrpc-pubsub v14.2.0 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling jsonrpc-client-transports v14.2.1 [INFO] [stderr] Compiling libp2p-core v0.20.1 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.18.0 [INFO] [stderr] Compiling jsonrpc-core-client v14.2.0 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling web-sys v0.3.44 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.17 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling soketto v0.4.1 [INFO] [stderr] Compiling wasm-timer v0.2.4 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc5 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc5 [INFO] [stderr] Compiling sp-arithmetic v2.0.0-rc5 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling async-tls v0.8.0 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc5 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling memory-db v0.24.1 [INFO] [stderr] Compiling kvdb v0.7.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling sp-utils v2.0.0-rc5 [INFO] [stderr] Compiling sp-database v2.0.0-rc5 [INFO] [stderr] Compiling sp-core v2.0.0-rc5 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling libp2p-swarm v0.20.1 [INFO] [stderr] Compiling libp2p-wasm-ext v0.20.1 [INFO] [stderr] Compiling libp2p-websocket v0.21.1 [INFO] [stderr] Compiling libp2p-dns v0.20.0 [INFO] [stderr] Compiling sp-trie v2.0.0-rc5 [INFO] [stderr] Compiling sp-inherents v2.0.0-rc5 [INFO] [stderr] Compiling sp-allocator v2.0.0-rc5 [INFO] [stderr] Compiling sp-rpc v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor-common v0.8.0-rc5 [INFO] [stderr] Compiling sp-state-machine v0.8.0-rc5 [INFO] [stderr] Compiling sc-executor-wasmi v0.8.0-rc5 [INFO] [stderr] Compiling libp2p-tcp v0.20.0 [INFO] [stderr] Compiling substrate-prometheus-endpoint v0.8.0-rc5 [INFO] [stderr] Compiling libp2p v0.22.0 [INFO] [stderr] Compiling sc-telemetry v2.0.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 sc-keystore v2.0.0-rc5 [INFO] [stderr] Compiling sp-version v2.0.0-rc5 [INFO] [stderr] Compiling sp-keyring v2.0.0-rc5 [INFO] [stderr] Compiling sp-staking v2.0.0-rc5 [INFO] [stderr] Compiling sp-api v2.0.0-rc5 [INFO] [stderr] Compiling sp-consensus v0.8.0-rc5 [INFO] [stderr] Compiling sp-block-builder v2.0.0-rc5 [INFO] [stderr] Compiling sc-executor v0.8.0-rc5 [INFO] [stderr] Compiling sp-offchain v2.0.0-rc5 [INFO] [stderr] Compiling sp-session v2.0.0-rc5 [INFO] [stderr] Compiling sp-blockchain v2.0.0-rc5 [INFO] [stderr] Compiling sp-transaction-pool v2.0.0-rc5 [INFO] [stderr] Compiling sc-client-api v2.0.0-rc5 [INFO] [stderr] Compiling sc-rpc-api v0.8.0-rc5 [INFO] [stderr] Compiling sc-block-builder v0.8.0-rc5 [INFO] [stderr] Compiling sc-rpc v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 30s [INFO] running `Command { std: "docker" "inspect" "ff2872b3f7b8f267f1775fc79bb839f4444b91209db76465765566ba9afc849c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff2872b3f7b8f267f1775fc79bb839f4444b91209db76465765566ba9afc849c", kill_on_drop: false }` [INFO] [stdout] ff2872b3f7b8f267f1775fc79bb839f4444b91209db76465765566ba9afc849c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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] 9f4b89970511817fe755ffc1c6739702f99b0ac5d184e0001cf914c676f930cb [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" "9f4b89970511817fe755ffc1c6739702f99b0ac5d184e0001cf914c676f930cb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sc-rpc v2.0.0-rc5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/author/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/author/tests.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | self, AccountKeyring, runtime::{Extrinsic, Transfer, SessionKeys, Block}, [INFO] [stdout] | ^^^^ no `substrate_test_runtime_client` external crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_transaction_pool` [INFO] [stdout] --> src/author/tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use sc_transaction_pool::{BasicPool, FullChainApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sc_transaction_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/state_light.rs:738:6 [INFO] [stdout] | [INFO] [stdout] 738 | use substrate_test_runtime_client::runtime::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/offchain/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/system/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use substrate_test_runtime_client::runtime::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network` [INFO] [stdout] --> src/system/tests.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use sc_network::{self, PeerId}; [INFO] [stdout] | ^^^^ no `sc_network` external crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/system/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `assert_matches`, `substrate_test_runtime_client::sp_consensus::BlockOrigin`, `substrate_test_runtime_client::runtime::H256`, `substrate_test_runtime_client::runtime::Block`, `substrate_test_runtime_client::runtime::Header` [INFO] [stdout] --> src/chain/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] ... [INFO] [stdout] 23 | sp_consensus::BlockOrigin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | runtime::{H256, Block, Header}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `futures01` [INFO] [stdout] --> src/state/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use futures01::stream::Stream; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `futures01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_io` [INFO] [stdout] --> src/state/tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use sp_io::hashing::blake2_256; [INFO] [stdout] | ^^^^^ use of undeclared type or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `assert_matches`, `futures01::stream::Stream`, `sp_io::hashing::blake2_256`, `substrate_test_runtime_client::sp_consensus::BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] 25 | use futures01::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use sp_io::hashing::blake2_256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | sp_consensus::BlockOrigin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `lazy_static` [INFO] [stdout] --> src/testing.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | lazy_static::lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `lazy_static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/author/tests.rs:98:2 [INFO] [stdout] | [INFO] [stdout] 98 | assert_matches!( [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_matches` [INFO] [stdout] --> src/author/tests.rs:113:2 [INFO] [stdout] | [INFO] [stdout] 113 | assert_matches!( [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_matches` [INFO] [stdout] --> src/author/tests.rs:138:2 [INFO] [stdout] | [INFO] [stdout] 138 | assert_matches!(id, SubscriptionId::String(_)); [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_matches` [INFO] [stdout] --> src/author/tests.rs:197:2 [INFO] [stdout] | [INFO] [stdout] 197 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:60:2 [INFO] [stdout] | [INFO] [stdout] 60 | assert_matches!(api.header(Some(H256::from_low_u64_be(5)).into()).wait(), Ok(None)); [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_matches` [INFO] [stdout] --> src/chain/tests.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:78:2 [INFO] [stdout] | [INFO] [stdout] 78 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:93:2 [INFO] [stdout] | [INFO] [stdout] 93 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:119:2 [INFO] [stdout] | [INFO] [stdout] 119 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:125:2 [INFO] [stdout] | [INFO] [stdout] 125 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:130:2 [INFO] [stdout] | [INFO] [stdout] 130 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:138:2 [INFO] [stdout] | [INFO] [stdout] 138 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 142 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:146:2 [INFO] [stdout] | [INFO] [stdout] 146 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:151:2 [INFO] [stdout] | [INFO] [stdout] 151 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 163 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:172:2 [INFO] [stdout] | [INFO] [stdout] 172 | assert_matches!( [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_matches` [INFO] [stdout] --> src/chain/tests.rs:179:2 [INFO] [stdout] | [INFO] [stdout] 179 | assert_matches!( [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_matches` [INFO] [stdout] --> src/offchain/tests.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | assert_matches!( [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_matches` [INFO] [stdout] --> src/offchain/tests.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | assert_matches!( [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_matches` [INFO] [stdout] --> src/offchain/tests.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | assert_matches!( [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_matches` [INFO] [stdout] --> src/offchain/tests.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | assert_matches!( [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_matches` [INFO] [stdout] --> src/state/tests.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 66 | assert_matches!( [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_matches` [INFO] [stdout] --> src/state/tests.rs:98:2 [INFO] [stdout] | [INFO] [stdout] 98 | assert_matches!( [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_matches` [INFO] [stdout] --> src/state/tests.rs:106:2 [INFO] [stdout] | [INFO] [stdout] 106 | assert_matches!( [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_matches` [INFO] [stdout] --> src/state/tests.rs:114:2 [INFO] [stdout] | [INFO] [stdout] 114 | assert_matches!( [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_matches` [INFO] [stdout] --> src/state/tests.rs:130:2 [INFO] [stdout] | [INFO] [stdout] 130 | assert_matches!( [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_matches` [INFO] [stdout] --> src/system/tests.rs:175:2 [INFO] [stdout] | [INFO] [stdout] 175 | assert_matches!( [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_matches` [INFO] [stdout] --> src/system/tests.rs:184:2 [INFO] [stdout] | [INFO] [stdout] 184 | assert_matches!( [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 `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | let xt = uxt(AccountKeyring::Alice, 1).encode(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | let xt = uxt(AccountKeyring::Alice, 0).encode(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | uxt(AccountKeyring::Alice, 0).encode().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:184:56 [INFO] [stdout] | [INFO] [stdout] 184 | p.watch_extrinsic(Default::default(), subscriber, uxt(AccountKeyring::Alice, 179).encode().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | let ex = uxt(AccountKeyring::Alice, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | let ex1 = uxt(AccountKeyring::Alice, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | let ex2 = uxt(AccountKeyring::Alice, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | let ex3 = uxt(AccountKeyring::Bob, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | client.import(BlockOrigin::Own, block.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:250:29 [INFO] [stdout] | [INFO] [stdout] 250 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestClientBuilder` [INFO] [stdout] --> src/state/tests.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let client = TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `TestClientBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let client = Arc::new(substrate_test_runtime_client::TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | to: AccountKeyring::Ferdie.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:178:71 [INFO] [stdout] | [INFO] [stdout] 178 | let alice_balance_key = blake2_256(&runtime::system::balance_of_key(AccountKeyring::Alice.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | to: AccountKeyring::Ferdie.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:230:18 [INFO] [stdout] | [INFO] [stdout] 230 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 407 | run_tests(Arc::new(substrate_test_runtime_client::new()), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TestClientBuilder` [INFO] [stdout] --> src/state/tests.rs:410:4 [INFO] [stdout] | [INFO] [stdout] 410 | TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `TestClientBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:430:24 [INFO] [stdout] | [INFO] [stdout] 430 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:453:25 [INFO] [stdout] | [INFO] [stdout] 453 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PeerId` [INFO] [stdout] --> src/system/tests.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Role` [INFO] [stdout] --> src/system/tests.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | roles: format!("{}", Role::Full), [INFO] [stdout] | ^^^^ use of undeclared type or module `Role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/system/tests.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PeerId` [INFO] [stdout] --> src/system/tests.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PeerId` [INFO] [stdout] --> src/system/tests.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type or module `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/system/tests.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PeerId` [INFO] [stdout] --> src/system/tests.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | let peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/system/tests.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/system/tests.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stdout] --> src/system/tests.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountKeyring` in this scope [INFO] [stdout] --> src/author/tests.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | fn uxt(sender: AccountKeyring, nonce: u64) -> Extrinsic { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Extrinsic` in this scope [INFO] [stdout] --> src/author/tests.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | fn uxt(sender: AccountKeyring, nonce: u64) -> Extrinsic { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::generic::unchecked_extrinsic::Extrinsic; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Extrinsic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stdout] --> src/author/tests.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | let tx = Transfer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/author/tests.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | FullChainApi, Block>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::chain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::offchain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in this scope [INFO] [stdout] --> src/author/tests.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | FullChainApi, Block>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::in_mem::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_blockchain::Backend; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/author/tests.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | FullChainApi, Block>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/author/tests.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | Block, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/author/tests.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | pub client: Arc>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::chain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::offchain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in this scope [INFO] [stdout] --> src/author/tests.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | pub client: Arc>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::in_mem::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_blockchain::Backend; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/author/tests.rs:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | fn author(&self) -> Author> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::chain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::offchain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in this scope [INFO] [stdout] --> src/author/tests.rs:81:57 [INFO] [stdout] | [INFO] [stdout] 81 | fn author(&self) -> Author> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::in_mem::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_blockchain::Backend; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stdout] --> src/author/tests.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | let tx = Transfer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/state/state_light.rs:744:38 [INFO] [stdout] | [INFO] [stdout] 744 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 744 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 737 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/state/state_light.rs:767:38 [INFO] [stdout] | [INFO] [stdout] 767 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 767 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 737 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/state/state_light.rs:801:40 [INFO] [stdout] | [INFO] [stdout] 801 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 801 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 737 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/state/state_light.rs:809:40 [INFO] [stdout] | [INFO] [stdout] 809 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc5/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 809 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 737 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 737 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `blake2_256` in this scope [INFO] [stdout] --> src/state/tests.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let alice_balance_key = blake2_256(&runtime::system::balance_of_key(AccountKeyring::Alice.into())); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::generic::unchecked_extrinsic::blake2_256; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::tests::blake2_256; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_core::blake2_256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestClient` in this scope [INFO] [stdout] --> src/state/tests.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | fn run_tests(mut client: Arc, has_changes_trie_config: bool) { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> src/system/tests.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub peer_id: PeerId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/system/tests.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | fn api>>(sync: T) -> System { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> src/system/tests.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 47 | fn api>>(sync: T) -> System { [INFO] [stdout] | - help: you might be missing a type parameter: `, PeerId` [INFO] [stdout] ... [INFO] [stdout] 102 | let _ = match peer.parse::() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXECUTOR` in this scope [INFO] [stdout] --> src/testing.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | EXECUTOR.spawn_ok(future.compat().map(drop)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_rpc::list::ListOrValue` [INFO] [stdout] --> src/chain/tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use sp_rpc::list::ListOrValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `executor` [INFO] [stdout] --> src/testing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::{executor, compat::Future01CompatExt, FutureExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/author/tests.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | Arc::new(FullChainApi::new(client.clone(), None)), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/author/tests.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sp_core::Bytes: std::convert::From<&[u8]>` is not satisfied [INFO] [stdout] --> src/author/tests.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | AuthorApi::submit_extrinsic(&p, xt.into()).wait().is_err() [INFO] [stdout] | ^^^^^^^^^ the trait `std::convert::From<&[u8]>` is not implemented for `sp_core::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sp_core::Bytes: std::convert::From<&[u8]>` is not satisfied [INFO] [stdout] --> src/author/tests.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | AuthorApi::submit_extrinsic(&p, xt.into()).wait().is_err() [INFO] [stdout] | ^^^^^^^^^ the trait `std::convert::From<&[u8]>` is not implemented for `sp_core::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] = note: required because of the requirements on the impl of `std::convert::Into` for `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Error` (from trait `sp_api::ApiErrorExt`) must be specified [INFO] [stdout] --> src/author/tests.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | let session_keys = SessionKeys::decode(&mut &new_public_keys[..]) [INFO] [stdout] | ^^^^^^^^^^^ help: specify the associated type: `SessionKeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for trait object `(dyn sp_session::SessionKeys<_> + 'static)` in the current scope [INFO] [stdout] --> src/author/tests.rs:251:34 [INFO] [stdout] | [INFO] [stdout] 251 | let session_keys = SessionKeys::decode(&mut &new_public_keys[..]) [INFO] [stdout] | ^^^^^^ function or associated item not found in `(dyn sp_session::SessionKeys<_> + 'static)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-session-2.0.0-rc5/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait SessionKeys { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as parity_scale_codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `_: parity_scale_codec::Decode` [INFO] [stdout] | doesn't satisfy `_: parity_scale_codec::codec::WrapperTypeDecode` [INFO] [stdout] | doesn't satisfy `dyn sp_session::SessionKeys<_>: std::marker::Sized` [INFO] [stdout] | [INFO] [stdout] = note: the method `decode` exists but the following trait bounds were not satisfied: [INFO] [stdout] ` as parity_scale_codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: parity_scale_codec::Decode` [INFO] [stdout] `dyn sp_session::SessionKeys<_>: std::marker::Sized` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: parity_scale_codec::Decode` [INFO] [stdout] `dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::WrapperTypeDecode` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: parity_scale_codec::Decode` [INFO] [stdout] `<&dyn sp_session::SessionKeys<_> as parity_scale_codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&dyn sp_session::SessionKeys<_>: parity_scale_codec::Decode` [INFO] [stdout] `&dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::WrapperTypeDecode` [INFO] [stdout] which is required by `&dyn sp_session::SessionKeys<_>: parity_scale_codec::Decode` [INFO] [stdout] `<&mut (dyn sp_session::SessionKeys<_> + 'static) as parity_scale_codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut (dyn sp_session::SessionKeys<_> + 'static): parity_scale_codec::Decode` [INFO] [stdout] `&mut (dyn sp_session::SessionKeys<_> + 'static): parity_scale_codec::codec::WrapperTypeDecode` [INFO] [stdout] which is required by `&mut (dyn sp_session::SessionKeys<_> + 'static): parity_scale_codec::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | client.import(BlockOrigin::Own, block.clone()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `finalize_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | client.finalize_block(BlockId::number(1), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `finalize_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | client.finalize_block(BlockId::number(1), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `genesis_hash` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let genesis_hash = client.genesis_hash(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `genesis_hash` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | let genesis_hash = client.genesis_hash(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | let (api, _child) = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | let mut builder = client.new_block(Default::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_future` found for struct `jsonrpc_core::futures::sync::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/state/tests.rs:164:58 [INFO] [stdout] | [INFO] [stdout] 164 | let (notification, next) = executor::block_on(transport.into_future().compat()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `jsonrpc_core::futures::sync::mpsc::Receiver` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `std::boxed::Box>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use jsonrpc_core::futures::Stream;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:176:39 [INFO] [stdout] | [INFO] [stdout] 176 | let (api, _child) = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | let mut builder = client.new_block(Default::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_future` found for struct `jsonrpc_core::futures::sync::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/state/tests.rs:202:58 [INFO] [stdout] | [INFO] [stdout] 202 | let (notification, next) = executor::block_on(transport.into_future().compat()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `jsonrpc_core::futures::sync::mpsc::Receiver` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `std::boxed::Box>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use jsonrpc_core::futures::Stream;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:431:38 [INFO] [stdout] | [INFO] [stdout] 431 | let (api, _child) = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:454:39 [INFO] [stdout] | [INFO] [stdout] 454 | let (api, _child) = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_future` found for struct `jsonrpc_core::futures::sync::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/state/tests.rs:467:58 [INFO] [stdout] | [INFO] [stdout] 467 | let (notification, next) = executor::block_on(transport.into_future().compat()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `jsonrpc_core::futures::sync::mpsc::Receiver` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `std::boxed::Box>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use jsonrpc_core::futures::Stream;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codec::Encode` [INFO] [stdout] --> src/author/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use codec::Encode; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sc_block_builder::BlockBuilderProvider` [INFO] [stdout] --> src/chain/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use sc_block_builder::BlockBuilderProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sc_block_builder::BlockBuilderProvider` [INFO] [stdout] --> src/state/tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use sc_block_builder::BlockBuilderProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 159 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0277, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-rpc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9f4b89970511817fe755ffc1c6739702f99b0ac5d184e0001cf914c676f930cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f4b89970511817fe755ffc1c6739702f99b0ac5d184e0001cf914c676f930cb", kill_on_drop: false }` [INFO] [stdout] 9f4b89970511817fe755ffc1c6739702f99b0ac5d184e0001cf914c676f930cb