[INFO] fetching crate sc-rpc 2.0.0... [INFO] checking sc-rpc-2.0.0 against beta for pr-78714 [INFO] extracting crate sc-rpc 2.0.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate sc-rpc 2.0.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-rpc 2.0.0 [INFO] finished tweaking crates.io crate sc-rpc 2.0.0 [INFO] tweaked toml for crates.io crate sc-rpc 2.0.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 4c138ddc824c4dee8ac0fe92b8e4a6916ebffc3c90b2a7bdd943988b29f7b4ab [INFO] running `Command { std: "docker" "start" "-a" "4c138ddc824c4dee8ac0fe92b8e4a6916ebffc3c90b2a7bdd943988b29f7b4ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c138ddc824c4dee8ac0fe92b8e4a6916ebffc3c90b2a7bdd943988b29f7b4ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c138ddc824c4dee8ac0fe92b8e4a6916ebffc3c90b2a7bdd943988b29f7b4ab", kill_on_drop: false }` [INFO] [stdout] 4c138ddc824c4dee8ac0fe92b8e4a6916ebffc3c90b2a7bdd943988b29f7b4ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0ba779ac8b1d1c6f8b8e367a85bfdd31dac7feafd80d54d0d8cbffc3acb7455 [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" "b0ba779ac8b1d1c6f8b8e367a85bfdd31dac7feafd80d54d0d8cbffc3acb7455", kill_on_drop: false }` [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking ring v0.16.15 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking async-io v1.2.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking const-random v0.1.11 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking ref-cast v1.0.3 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking prometheus v0.10.0 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking hashbrown v0.6.3 [INFO] [stderr] Checking async-std v1.7.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking wasm-bindgen v0.2.68 [INFO] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Compiling libp2p-core v0.22.1 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking parity-multiaddr v0.9.4 [INFO] [stderr] Checking erased-serde v0.3.12 [INFO] [stderr] Checking slog v2.5.2 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking multistream-select v0.8.5 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking async-tls v0.8.0 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking sp-utils v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking sp-serializer v2.0.0 [INFO] [stderr] Checking jsonrpc-core v15.1.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking sp-chain-spec v2.0.0 [INFO] [stderr] Checking jsonrpc-pubsub v15.1.0 [INFO] [stderr] Checking jsonrpc-client-transports v15.1.0 [INFO] [stderr] Checking jsonrpc-core-client v15.1.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.18 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0 [INFO] [stderr] Compiling jsonrpc-derive v15.1.0 [INFO] [stderr] Checking libp2p-swarm v0.22.0 [INFO] [stderr] Checking libp2p-tcp v0.22.0 [INFO] [stderr] Checking libp2p-dns v0.22.0 [INFO] [stderr] Checking libp2p-websocket v0.23.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.22.0 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking libp2p v0.28.1 [INFO] [stderr] Checking sc-telemetry v2.0.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.0 [INFO] [stderr] Checking sp-wasm-interface v2.0.0 [INFO] [stderr] Checking sp-tracing v2.0.0 [INFO] [stderr] Checking sp-arithmetic v2.0.0 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking sp-externalities v0.8.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking kvdb v0.7.0 [INFO] [stderr] Checking sp-database v2.0.0 [INFO] [stderr] Checking sp-core v2.0.0 [INFO] [stderr] Checking sp-trie v2.0.0 [INFO] [stderr] Checking sp-inherents v2.0.0 [INFO] [stderr] Checking sp-allocator v2.0.0 [INFO] [stderr] Checking sp-rpc v2.0.0 [INFO] [stderr] Checking sc-executor-common v0.8.0 [INFO] [stderr] Checking sp-state-machine v0.8.0 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0 [INFO] [stderr] Checking sp-io v2.0.0 [INFO] [stderr] Checking sp-application-crypto v2.0.0 [INFO] [stderr] Checking sp-runtime v2.0.0 [INFO] [stderr] Checking sc-keystore v2.0.0 [INFO] [stderr] Checking sp-version v2.0.0 [INFO] [stderr] Checking sp-keyring v2.0.0 [INFO] [stderr] Checking sp-staking v2.0.0 [INFO] [stderr] Checking sp-api v2.0.0 [INFO] [stderr] Checking sp-consensus v0.8.0 [INFO] [stderr] Checking sp-block-builder v2.0.0 [INFO] [stderr] Checking sc-executor v0.8.0 [INFO] [stderr] Checking sp-session v2.0.0 [INFO] [stderr] Checking sp-offchain v2.0.0 [INFO] [stderr] Checking sp-blockchain v2.0.0 [INFO] [stderr] Checking sp-transaction-pool v2.0.0 [INFO] [stderr] Checking sc-client-api v2.0.0 [INFO] [stderr] Checking sc-rpc-api v0.8.0 [INFO] [stderr] Checking sc-block-builder v0.8.0 [INFO] [stderr] Checking sc-rpc v2.0.0 (/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 crate 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 external crate `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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 crate or module `sc_transaction_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/state_light.rs:746:6 [INFO] [stdout] | [INFO] [stdout] 746 | use substrate_test_runtime_client::runtime::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate 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 crate or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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 external crate `sc_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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 crate 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 crate 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 crate 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 crate or module `futures01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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 crate 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 crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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:97:2 [INFO] [stdout] | [INFO] [stdout] 97 | 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:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | 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:137:2 [INFO] [stdout] | [INFO] [stdout] 137 | 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:196:2 [INFO] [stdout] | [INFO] [stdout] 196 | 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:69:2 [INFO] [stdout] | [INFO] [stdout] 69 | 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:104:2 [INFO] [stdout] | [INFO] [stdout] 104 | 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:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | 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:120:2 [INFO] [stdout] | [INFO] [stdout] 120 | 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:136:2 [INFO] [stdout] | [INFO] [stdout] 136 | 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: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/system/tests.rs:181:2 [INFO] [stdout] | [INFO] [stdout] 181 | 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 `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | let xt = uxt(AccountKeyring::Alice, 1).encode(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let xt = uxt(AccountKeyring::Alice, 0).encode(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | uxt(AccountKeyring::Alice, 0).encode().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:183:56 [INFO] [stdout] | [INFO] [stdout] 183 | p.watch_extrinsic(Default::default(), subscriber, uxt(AccountKeyring::Alice, 179).encode().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | let ex = uxt(AccountKeyring::Alice, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | let ex1 = uxt(AccountKeyring::Alice, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | let ex2 = uxt(AccountKeyring::Alice, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | let ex3 = uxt(AccountKeyring::Bob, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClientBuilder` [INFO] [stdout] --> src/state/tests.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let client = TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestClientBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let client = Arc::new(substrate_test_runtime_client::TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | to: AccountKeyring::Ferdie.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:184:71 [INFO] [stdout] | [INFO] [stdout] 184 | let alice_balance_key = blake2_256(&runtime::system::balance_of_key(AccountKeyring::Alice.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | to: AccountKeyring::Ferdie.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | run_tests(Arc::new(substrate_test_runtime_client::new()), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClientBuilder` [INFO] [stdout] --> src/state/tests.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestClientBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:436:24 [INFO] [stdout] | [INFO] [stdout] 436 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:459:25 [INFO] [stdout] | [INFO] [stdout] 459 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> src/system/tests.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> src/system/tests.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | roles: format!("{}", Role::Full), [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> src/system/tests.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> src/system/tests.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> src/system/tests.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | let peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ use of undeclared type `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:269:20 [INFO] [stdout] | [INFO] [stdout] 269 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 310 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate 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:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | 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:80:57 [INFO] [stdout] | [INFO] [stdout] 80 | 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:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | 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:752:38 [INFO] [stdout] | [INFO] [stdout] 752 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0/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] 752 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 745 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 745 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 745 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 745 | 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:775:38 [INFO] [stdout] | [INFO] [stdout] 775 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0/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] 775 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 745 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 745 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 745 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 745 | 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/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] 745 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 745 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 745 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 745 | 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:817:40 [INFO] [stdout] | [INFO] [stdout] 817 | 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/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] 817 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 745 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 745 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 745 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 745 | 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:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | 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:219:31 [INFO] [stdout] | [INFO] [stdout] 219 | 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:99: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] 99 | 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:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | 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:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | 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: From<&[u8]>` is not satisfied [INFO] [stdout] --> src/author/tests.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | AuthorApi::submit_extrinsic(&p, xt.into()).wait().is_err() [INFO] [stdout] | ^^^^^^^^^ the trait `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 `Into` for `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sp_core::Bytes: From<&[u8]>` is not satisfied [INFO] [stdout] --> src/author/tests.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | AuthorApi::submit_extrinsic(&p, xt.into()).wait().is_err() [INFO] [stdout] | ^^^^^^^^^ the trait `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 `Into` for `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Error` (from trait `ApiErrorExt`) must be specified [INFO] [stdout] --> src/author/tests.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | 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:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | 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/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait SessionKeys { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `_: codec::codec::WrapperTypeDecode` [INFO] [stdout] | doesn't satisfy `dyn sp_session::SessionKeys<_>: Sized` [INFO] [stdout] | doesn't satisfy `dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] | [INFO] [stdout] = note: the method `decode` exists but the following trait bounds were not satisfied: [INFO] [stdout] ` as codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `dyn sp_session::SessionKeys<_>: Sized` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `dyn sp_session::SessionKeys<_>: codec::codec::WrapperTypeDecode` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `<&dyn sp_session::SessionKeys<_> as codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `&dyn sp_session::SessionKeys<_>: codec::codec::WrapperTypeDecode` [INFO] [stdout] which is required by `&dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `<&mut (dyn sp_session::SessionKeys<_> + 'static) as codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut (dyn sp_session::SessionKeys<_> + 'static): sp_core::Decode` [INFO] [stdout] `&mut (dyn sp_session::SessionKeys<_> + 'static): codec::codec::WrapperTypeDecode` [INFO] [stdout] which is required by `&mut (dyn sp_session::SessionKeys<_> + 'static): sp_core::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:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | 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:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | 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:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | 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:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | 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:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | 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:170:58 [INFO] [stdout] | [INFO] [stdout] 170 | 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.30/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `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:182:39 [INFO] [stdout] | [INFO] [stdout] 182 | 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:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | 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:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | 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:208:58 [INFO] [stdout] | [INFO] [stdout] 208 | 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.30/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `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:437:38 [INFO] [stdout] | [INFO] [stdout] 437 | 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:460:39 [INFO] [stdout] | [INFO] [stdout] 460 | 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:473:58 [INFO] [stdout] | [INFO] [stdout] 473 | 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.30/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `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 158 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" "b0ba779ac8b1d1c6f8b8e367a85bfdd31dac7feafd80d54d0d8cbffc3acb7455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0ba779ac8b1d1c6f8b8e367a85bfdd31dac7feafd80d54d0d8cbffc3acb7455", kill_on_drop: false }` [INFO] [stdout] b0ba779ac8b1d1c6f8b8e367a85bfdd31dac7feafd80d54d0d8cbffc3acb7455