[INFO] fetching crate sc-rpc 2.0.0-alpha.5... [INFO] checking sc-rpc-2.0.0-alpha.5 against master#6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 for pr-70872 [INFO] extracting crate sc-rpc 2.0.0-alpha.5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sc-rpc 2.0.0-alpha.5 on toolchain 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-rpc 2.0.0-alpha.5 [INFO] finished tweaking crates.io crate sc-rpc 2.0.0-alpha.5 [INFO] tweaked toml for crates.io crate sc-rpc 2.0.0-alpha.5 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c60e3d246bfc52f54faf44cf1f985b37c1de27a09c71f23eb34c034c49bccba8 [INFO] running `"docker" "start" "-a" "c60e3d246bfc52f54faf44cf1f985b37c1de27a09c71f23eb34c034c49bccba8"` [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tokio v0.2.16 [INFO] [stderr] Checking uint v0.8.2 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking salsa20-core v0.2.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking sp-panic-handler v2.0.0-alpha.5 [INFO] [stderr] Checking salsa20 v0.3.0 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking hashbrown v0.6.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking fixed-hash v0.6.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking trie-db v0.20.0 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.60 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.60 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-alpha.5 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling paste-impl v0.1.10 [INFO] [stderr] Compiling libp2p-core-derive v0.16.0 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.60 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking paste v0.1.10 [INFO] [stderr] Checking thiserror v1.0.14 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking tracing v0.1.13 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking wasm-bindgen v0.2.60 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking js-sys v0.3.37 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking futures_codec v0.3.4 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking yamux v0.4.5 [INFO] [stderr] Checking async-tls v0.6.0 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking libp2p-pnet v0.16.0 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking unsigned-varint v0.3.2 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.10 [INFO] [stderr] Checking impl-serde v0.3.0 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking erased-serde v0.3.11 [INFO] [stderr] Compiling libp2p-core v0.16.0 [INFO] [stderr] Compiling libp2p-noise v0.16.2 [INFO] [stderr] Compiling libp2p-gossipsub v0.16.0 [INFO] [stderr] Compiling libp2p-kad v0.16.2 [INFO] [stderr] Compiling libp2p-identify v0.16.0 [INFO] [stderr] Compiling libp2p-floodsub v0.16.0 [INFO] [stderr] Compiling libp2p-secio v0.16.1 [INFO] [stderr] Compiling libp2p-plaintext v0.16.0 [INFO] [stderr] Checking parity-multihash v0.2.3 [INFO] [stderr] Checking multistream-select v0.7.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking sp-storage v2.0.0-alpha.5 [INFO] [stderr] Checking sp-serializer v2.0.0-alpha.5 [INFO] [stderr] Checking futures-diagnose v1.0.1 [INFO] [stderr] Checking jsonrpc-core v14.0.5 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-alpha.5 [INFO] [stderr] Checking parity-multiaddr v0.7.3 [INFO] [stderr] Checking sp-externalities v0.8.0-alpha.5 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking jsonrpc-pubsub v14.0.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Checking jsonrpc-client-transports v14.0.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-alpha.5 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-alpha.5 [INFO] [stderr] Compiling jsonrpc-derive v14.0.5 [INFO] [stderr] Checking jsonrpc-core-client v14.0.5 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking libp2p-swarm v0.16.1 [INFO] [stderr] Checking libp2p-yamux v0.16.2 [INFO] [stderr] Checking libp2p-wasm-ext v0.16.2 [INFO] [stderr] Checking libp2p-websocket v0.16.0 [INFO] [stderr] Checking libp2p-tcp v0.16.0 [INFO] [stderr] Checking libp2p-mplex v0.16.0 [INFO] [stderr] Checking libp2p-dns v0.16.0 [INFO] [stderr] Checking libp2p-deflate v0.16.0 [INFO] [stderr] Checking libp2p-uds v0.16.0 [INFO] [stderr] Checking libp2p-ping v0.16.0 [INFO] [stderr] Checking libp2p-mdns v0.16.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-alpha.5 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.5 [INFO] [stderr] Checking primitive-types v0.7.0 [INFO] [stderr] Checking libp2p v0.16.2 [INFO] [stderr] Checking parity-util-mem v0.6.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.5 [INFO] [stderr] Checking memory-db v0.20.0 [INFO] [stderr] Checking kvdb v0.5.0 [INFO] [stderr] Checking sp-core v2.0.0-alpha.5 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.5 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.5 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.5 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.5 [INFO] [stderr] Checking sp-rpc v2.0.0-alpha.5 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.5 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.5 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.5 [INFO] [stderr] Checking sp-io v2.0.0-alpha.5 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.5 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.5 [INFO] [stderr] Checking sc-keystore v2.0.0-alpha.5 [INFO] [stderr] Checking sp-version v2.0.0-alpha.5 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.5 [INFO] [stderr] Checking sp-api v2.0.0-alpha.5 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.5 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.5 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.5 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.5 [INFO] [stderr] Checking sp-offchain v2.0.0-alpha.5 [INFO] [stderr] Checking sp-session v2.0.0-alpha.5 [INFO] [stderr] Checking sc-rpc-api v0.8.0-alpha.5 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.5 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.5 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.5 [INFO] [stderr] Checking sc-client v0.8.0-alpha.5 [INFO] [stderr] Checking sc-rpc v2.0.0-alpha.5 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/author/tests.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/author/tests.rs:28:2 [INFO] [stderr] | [INFO] [stderr] 28 | self, AccountKeyring, runtime::{Extrinsic, Transfer, SessionKeys, Block}, [INFO] [stderr] | ^^^^ no `substrate_test_runtime_client` external crate [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sc_transaction_pool` [INFO] [stderr] --> src/author/tests.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use sc_transaction_pool::{BasicPool, FullChainApi}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sc_transaction_pool` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use substrate_test_runtime_client::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tokio` [INFO] [stderr] --> src/author/tests.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use tokio::runtime; [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/state_light.rs:723:6 [INFO] [stderr] | [INFO] [stderr] 723 | use substrate_test_runtime_client::runtime::Block; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/offchain/tests.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/system/tests.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use substrate_test_runtime_client::runtime::Block; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sc_network` [INFO] [stderr] --> src/system/tests.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | use sc_network::{self, PeerId}; [INFO] [stderr] | ^^^^ no `sc_network` external crate [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use substrate_test_runtime_client::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/system/tests.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/chain/tests.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] ... [INFO] [stderr] 21 | sp_consensus::BlockOrigin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | runtime::{H256, Block, Header}, [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures01` [INFO] [stderr] --> src/state/tests.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use futures01::stream::Stream; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `futures01` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sp_io` [INFO] [stderr] --> src/state/tests.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use sp_io::hashing::blake2_256; [INFO] [stderr] | ^^^^^ use of undeclared type or module `sp_io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `assert_matches`, `futures01::stream::Stream`, `sp_io::hashing::blake2_256`, `substrate_test_runtime_client::sp_consensus::BlockOrigin` [INFO] [stderr] --> src/state/tests.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] 23 | use futures01::stream::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | use sp_io::hashing::blake2_256; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | sp_consensus::BlockOrigin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use substrate_test_runtime_client::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/author/tests.rs:94:2 [INFO] [stderr] | [INFO] [stderr] 94 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/author/tests.rs:109:2 [INFO] [stderr] | [INFO] [stderr] 109 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/author/tests.rs:176:3 [INFO] [stderr] | [INFO] [stderr] 176 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:35:2 [INFO] [stderr] | [INFO] [stderr] 35 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:47:2 [INFO] [stderr] | [INFO] [stderr] 47 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:59:2 [INFO] [stderr] | [INFO] [stderr] 59 | assert_matches!(api.header(Some(H256::from_low_u64_be(5)).into()).wait(), Ok(None)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:75:2 [INFO] [stderr] | [INFO] [stderr] 75 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:80:2 [INFO] [stderr] | [INFO] [stderr] 80 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:95:2 [INFO] [stderr] | [INFO] [stderr] 95 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:110:2 [INFO] [stderr] | [INFO] [stderr] 110 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:124:2 [INFO] [stderr] | [INFO] [stderr] 124 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:130:2 [INFO] [stderr] | [INFO] [stderr] 130 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:135:2 [INFO] [stderr] | [INFO] [stderr] 135 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:143:2 [INFO] [stderr] | [INFO] [stderr] 143 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:147:2 [INFO] [stderr] | [INFO] [stderr] 147 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:151:2 [INFO] [stderr] | [INFO] [stderr] 151 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:156:2 [INFO] [stderr] | [INFO] [stderr] 156 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:171:2 [INFO] [stderr] | [INFO] [stderr] 171 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:180:2 [INFO] [stderr] | [INFO] [stderr] 180 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/chain/tests.rs:187:2 [INFO] [stderr] | [INFO] [stderr] 187 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/offchain/tests.rs:28:2 [INFO] [stderr] | [INFO] [stderr] 28 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/offchain/tests.rs:32:2 [INFO] [stderr] | [INFO] [stderr] 32 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/state/tests.rs:60:2 [INFO] [stderr] | [INFO] [stderr] 60 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/state/tests.rs:95:2 [INFO] [stderr] | [INFO] [stderr] 95 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/state/tests.rs:105:2 [INFO] [stderr] | [INFO] [stderr] 105 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/state/tests.rs:115:2 [INFO] [stderr] | [INFO] [stderr] 115 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/state/tests.rs:134:2 [INFO] [stderr] | [INFO] [stderr] 134 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/system/tests.rs:150:2 [INFO] [stderr] | [INFO] [stderr] 150 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/system/tests.rs:159:2 [INFO] [stderr] | [INFO] [stderr] 159 | assert_matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:91:15 [INFO] [stderr] | [INFO] [stderr] 91 | let xt = uxt(AccountKeyring::Alice, 1).encode(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:106:15 [INFO] [stderr] | [INFO] [stderr] 106 | let xt = uxt(AccountKeyring::Alice, 0).encode(); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:127:56 [INFO] [stderr] | [INFO] [stderr] 127 | p.watch_extrinsic(Default::default(), subscriber, uxt(AccountKeyring::Alice, 0).encode().into()); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:136:10 [INFO] [stderr] | [INFO] [stderr] 136 | from: AccountKeyring::Alice.into(), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:163:56 [INFO] [stderr] | [INFO] [stderr] 163 | p.watch_extrinsic(Default::default(), subscriber, uxt(AccountKeyring::Alice, 179).encode().into()); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:174:15 [INFO] [stderr] | [INFO] [stderr] 174 | let ex = uxt(AccountKeyring::Alice, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:187:16 [INFO] [stderr] | [INFO] [stderr] 187 | let ex1 = uxt(AccountKeyring::Alice, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:189:16 [INFO] [stderr] | [INFO] [stderr] 189 | let ex2 = uxt(AccountKeyring::Alice, 1); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/author/tests.rs:191:16 [INFO] [stderr] | [INFO] [stderr] 191 | let ex3 = uxt(AccountKeyring::Bob, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/chain/tests.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/chain/tests.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | let core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:67:28 [INFO] [stderr] | [INFO] [stderr] 67 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/chain/tests.rs:72:16 [INFO] [stderr] | [INFO] [stderr] 72 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tokio` in `{{root}}` [INFO] [stderr] --> src/chain/tests.rs:118:15 [INFO] [stderr] | [INFO] [stderr] 118 | let core = ::tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ could not find `tokio` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:121:28 [INFO] [stderr] | [INFO] [stderr] 121 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/chain/tests.rs:141:16 [INFO] [stderr] | [INFO] [stderr] 141 | client.import(BlockOrigin::Own, block.clone()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tokio` in `{{root}}` [INFO] [stderr] --> src/chain/tests.rs:165:15 [INFO] [stderr] | [INFO] [stderr] 165 | let core = ::tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ could not find `tokio` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:168:28 [INFO] [stderr] | [INFO] [stderr] 168 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/chain/tests.rs:178:16 [INFO] [stderr] | [INFO] [stderr] 178 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tokio` in `{{root}}` [INFO] [stderr] --> src/chain/tests.rs:195:19 [INFO] [stderr] | [INFO] [stderr] 195 | let mut core = ::tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ could not find `tokio` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:200:29 [INFO] [stderr] | [INFO] [stderr] 200 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/chain/tests.rs:209:17 [INFO] [stderr] | [INFO] [stderr] 209 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tokio` in `{{root}}` [INFO] [stderr] --> src/chain/tests.rs:224:19 [INFO] [stderr] | [INFO] [stderr] 224 | let mut core = ::tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ could not find `tokio` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:229:29 [INFO] [stderr] | [INFO] [stderr] 229 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/chain/tests.rs:238:17 [INFO] [stderr] | [INFO] [stderr] 238 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tokio` in `{{root}}` [INFO] [stderr] --> src/chain/tests.rs:253:19 [INFO] [stderr] | [INFO] [stderr] 253 | let mut core = ::tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ could not find `tokio` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:258:29 [INFO] [stderr] | [INFO] [stderr] 258 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/chain/tests.rs:267:17 [INFO] [stderr] | [INFO] [stderr] 267 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/state/tests.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | let mut core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TestClientBuilder` [INFO] [stderr] --> src/state/tests.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | let client = TestClientBuilder::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `TestClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/state/tests.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | let core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:84:24 [INFO] [stderr] | [INFO] [stderr] 84 | let client = Arc::new(substrate_test_runtime_client::TestClientBuilder::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/state/tests.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | let core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:130:24 [INFO] [stderr] | [INFO] [stderr] 130 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/state/tests.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | let mut core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:147:29 [INFO] [stderr] | [INFO] [stderr] 147 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/state/tests.rs:157:10 [INFO] [stderr] | [INFO] [stderr] 157 | from: AccountKeyring::Alice.into(), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/state/tests.rs:158:8 [INFO] [stderr] | [INFO] [stderr] 158 | to: AccountKeyring::Ferdie.into(), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/state/tests.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/state/tests.rs:175:17 [INFO] [stderr] | [INFO] [stderr] 175 | let mut core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:180:29 [INFO] [stderr] | [INFO] [stderr] 180 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/state/tests.rs:183:71 [INFO] [stderr] | [INFO] [stderr] 183 | let alice_balance_key = blake2_256(&runtime::system::balance_of_key(AccountKeyring::Alice.into())); [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/state/tests.rs:194:10 [INFO] [stderr] | [INFO] [stderr] 194 | from: AccountKeyring::Alice.into(), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AccountKeyring` [INFO] [stderr] --> src/state/tests.rs:195:8 [INFO] [stderr] | [INFO] [stderr] 195 | to: AccountKeyring::Ferdie.into(), [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `AccountKeyring` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/state/tests.rs:200:17 [INFO] [stderr] | [INFO] [stderr] 200 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/state/tests.rs:216:14 [INFO] [stderr] | [INFO] [stderr] 216 | let core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BlockOrigin` [INFO] [stderr] --> src/state/tests.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `BlockOrigin` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:381:21 [INFO] [stderr] | [INFO] [stderr] 381 | run_tests(Arc::new(substrate_test_runtime_client::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TestClientBuilder` [INFO] [stderr] --> src/state/tests.rs:382:21 [INFO] [stderr] | [INFO] [stderr] 382 | run_tests(Arc::new(TestClientBuilder::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `TestClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/state/tests.rs:399:13 [INFO] [stderr] | [INFO] [stderr] 399 | let core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:401:24 [INFO] [stderr] | [INFO] [stderr] 401 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/state/tests.rs:420:17 [INFO] [stderr] | [INFO] [stderr] 420 | let mut core = tokio::runtime::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:424:25 [INFO] [stderr] | [INFO] [stderr] 424 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PeerId` [INFO] [stderr] --> src/system/tests.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | peer_id: PeerId::random(), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `PeerId` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Roles` [INFO] [stderr] --> src/system/tests.rs:63:31 [INFO] [stderr] | [INFO] [stderr] 63 | roles: format!("{:?}", Roles::FULL), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Roles` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/system/tests.rs:112:20 [INFO] [stderr] | [INFO] [stderr] 112 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PeerId` [INFO] [stderr] --> src/system/tests.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | peer_id: PeerId::random(), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `PeerId` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PeerId` [INFO] [stderr] --> src/system/tests.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | peer_id: PeerId::random(), [INFO] [stderr] | ^^^^^^ use of undeclared type or module `PeerId` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PeerId` [INFO] [stderr] --> src/system/tests.rs:204:16 [INFO] [stderr] | [INFO] [stderr] 204 | let peer_id = PeerId::random(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `PeerId` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/system/tests.rs:252:20 [INFO] [stderr] | [INFO] [stderr] 252 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/system/tests.rs:264:20 [INFO] [stderr] | [INFO] [stderr] 264 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `tokio` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AccountKeyring` in this scope [INFO] [stderr] --> src/author/tests.rs:34:16 [INFO] [stderr] | [INFO] [stderr] 34 | fn uxt(sender: AccountKeyring, nonce: u64) -> Extrinsic { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Extrinsic` in this scope [INFO] [stderr] --> src/author/tests.rs:34:47 [INFO] [stderr] | [INFO] [stderr] 34 | fn uxt(sender: AccountKeyring, nonce: u64) -> Extrinsic { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::traits::Extrinsic; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stderr] --> src/author/tests.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | let tx = Transfer { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Client` in this scope [INFO] [stderr] --> src/author/tests.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | FullChainApi, Block>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::author::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::chain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::offchain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 44 | type FullTransactionPool = BasicPool< [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Backend` in this scope [INFO] [stderr] --> src/author/tests.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | FullChainApi, Block>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::in_mem::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::light::backend::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client_api::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client_api::backend::Backend; [INFO] [stderr] | [INFO] [stderr] and 3 other candidates [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 44 | type FullTransactionPool = BasicPool< [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/author/tests.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | FullChainApi, Block>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 44 | type FullTransactionPool = BasicPool< [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/author/tests.rs:46:2 [INFO] [stderr] | [INFO] [stderr] 46 | Block, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 44 | type FullTransactionPool = BasicPool< [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Client` in this scope [INFO] [stderr] --> src/author/tests.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | pub client: Arc>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::author::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::chain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::offchain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 49 | struct TestSetup { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Backend` in this scope [INFO] [stderr] --> src/author/tests.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | pub client: Arc>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::in_mem::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::light::backend::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client_api::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client_api::backend::Backend; [INFO] [stderr] | [INFO] [stderr] and 3 other candidates [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 49 | struct TestSetup { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Client` in this scope [INFO] [stderr] --> src/author/tests.rs:78:50 [INFO] [stderr] | [INFO] [stderr] 78 | fn author(&self) -> Author> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::author::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::chain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_rpc_api::offchain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 77 | impl TestSetup { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Backend` in this scope [INFO] [stderr] --> src/author/tests.rs:78:57 [INFO] [stderr] | [INFO] [stderr] 78 | fn author(&self) -> Author> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::in_mem::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client::light::backend::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client_api::Backend; [INFO] [stderr] | [INFO] [stderr] 17 | use sc_client_api::backend::Backend; [INFO] [stderr] | [INFO] [stderr] and 3 other candidates [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 77 | impl TestSetup { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stderr] --> src/author/tests.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 133 | let tx = Transfer { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/state/state_light.rs:729:38 [INFO] [stderr] | [INFO] [stderr] 729 | let stream = subscription_stream::( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-alpha.5/src/traits.rs:570:1 [INFO] [stderr] | [INFO] [stderr] 570 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 729 | let stream = subscription_stream::( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 728 | fn subscription_stream_works() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/state/state_light.rs:752:38 [INFO] [stderr] | [INFO] [stderr] 752 | let stream = subscription_stream::( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-alpha.5/src/traits.rs:570:1 [INFO] [stderr] | [INFO] [stderr] 570 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 752 | let stream = subscription_stream::( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 751 | fn subscription_stream_ignores_failed_requests() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/state/state_light.rs:786:40 [INFO] [stderr] | [INFO] [stderr] 786 | let _ = maybe_share_remote_request::( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-alpha.5/src/traits.rs:570:1 [INFO] [stderr] | [INFO] [stderr] 570 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 786 | let _ = maybe_share_remote_request::( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 774 | fn maybe_share_remote_request_shares_request() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/state/state_light.rs:794:40 [INFO] [stderr] | [INFO] [stderr] 794 | let _ = maybe_share_remote_request::( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-alpha.5/src/traits.rs:570:1 [INFO] [stderr] | [INFO] [stderr] 570 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 794 | let _ = maybe_share_remote_request::( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 722 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 774 | fn maybe_share_remote_request_shares_request() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blake2_256` in this scope [INFO] [stderr] --> src/state/tests.rs:183:27 [INFO] [stderr] | [INFO] [stderr] 183 | let alice_balance_key = blake2_256(&runtime::system::balance_of_key(AccountKeyring::Alice.into())); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sp_core::blake2_256; [INFO] [stderr] | [INFO] [stderr] 17 | use sp_core::hashing::blake2_256; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TestClient` in this scope [INFO] [stderr] --> src/state/tests.rs:215:31 [INFO] [stderr] | [INFO] [stderr] 215 | fn run_tests(mut client: Arc) { [INFO] [stderr] | - ^^^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stderr] --> src/system/tests.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | pub peer_id: PeerId, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/system/tests.rs:44:52 [INFO] [stderr] | [INFO] [stderr] 44 | fn api>>(sync: T) -> System { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 17 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 44 | fn api>, Block>(sync: T) -> System { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stderr] --> src/system/tests.rs:90:33 [INFO] [stderr] | [INFO] [stderr] 44 | fn api>>(sync: T) -> System { [INFO] [stderr] | - help: you might be missing a type parameter: `, PeerId` [INFO] [stderr] ... [INFO] [stderr] 90 | let _ = match peer.parse::() { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp_rpc::list::ListOrValue` [INFO] [stderr] --> src/chain/tests.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use sp_rpc::list::ListOrValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/author/tests.rs:66:38 [INFO] [stderr] | [INFO] [stderr] 66 | Arc::new(FullChainApi::new(client.clone())), [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sp_core::Bytes: std::convert::From<&[u8]>` is not satisfied [INFO] [stderr] --> src/author/tests.rs:99:35 [INFO] [stderr] | [INFO] [stderr] 99 | AuthorApi::submit_extrinsic(&p, xt.into()).wait().is_err() [INFO] [stderr] | ^^^^^^^^^ the trait `std::convert::From<&[u8]>` is not implemented for `sp_core::Bytes` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] >> [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `&[u8]` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `sp_core::Bytes: std::convert::From<&[u8]>` is not satisfied [INFO] [stderr] --> src/author/tests.rs:114:35 [INFO] [stderr] | [INFO] [stderr] 114 | AuthorApi::submit_extrinsic(&p, xt.into()).wait().is_err() [INFO] [stderr] | ^^^^^^^^^ the trait `std::convert::From<&[u8]>` is not implemented for `sp_core::Bytes` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] >> [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::Into` for `&[u8]` [INFO] [stderr] [INFO] [stderr] error[E0191]: the value of the associated type `Error` (from trait `sp_api::ApiErrorExt`) must be specified [INFO] [stderr] --> src/author/tests.rs:231:21 [INFO] [stderr] | [INFO] [stderr] 231 | let session_keys = SessionKeys::decode(&mut &new_public_keys[..]) [INFO] [stderr] | ^^^^^^^^^^^ help: specify the associated type: `SessionKeys` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `decode` found for trait object `(dyn sp_session::SessionKeys<_> + 'static)` in the current scope [INFO] [stderr] --> src/author/tests.rs:231:34 [INFO] [stderr] | [INFO] [stderr] 231 | let session_keys = SessionKeys::decode(&mut &new_public_keys[..]) [INFO] [stderr] | ^^^^^^ function or associated item not found in `(dyn sp_session::SessionKeys<_> + 'static)` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-session-2.0.0-alpha.5/src/lib.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub trait SessionKeys { [INFO] [stderr] | --------------------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `<_ as parity_scale_codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stderr] | doesn't satisfy `_: parity_scale_codec::codec::Decode` [INFO] [stderr] | doesn't satisfy `_: parity_scale_codec::codec::WrapperTypeDecode` [INFO] [stderr] | doesn't satisfy `dyn sp_session::SessionKeys<_>: std::marker::Sized` [INFO] [stderr] | [INFO] [stderr] = note: the method `decode` exists but the following trait bounds were not satisfied: [INFO] [stderr] ` as parity_scale_codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stderr] which is required by `dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::Decode` [INFO] [stderr] `dyn sp_session::SessionKeys<_>: std::marker::Sized` [INFO] [stderr] which is required by `dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::Decode` [INFO] [stderr] `dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::WrapperTypeDecode` [INFO] [stderr] which is required by `dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::Decode` [INFO] [stderr] `<&dyn sp_session::SessionKeys<_> as parity_scale_codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stderr] which is required by `&dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::Decode` [INFO] [stderr] `&dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::WrapperTypeDecode` [INFO] [stderr] which is required by `&dyn sp_session::SessionKeys<_>: parity_scale_codec::codec::Decode` [INFO] [stderr] `<&mut (dyn sp_session::SessionKeys<_> + 'static) as parity_scale_codec::codec::WrapperTypeDecode>::Wrapped = _` [INFO] [stderr] which is required by `&mut (dyn sp_session::SessionKeys<_> + 'static): parity_scale_codec::codec::Decode` [INFO] [stderr] `&mut (dyn sp_session::SessionKeys<_> + 'static): parity_scale_codec::codec::WrapperTypeDecode` [INFO] [stderr] which is required by `&mut (dyn sp_session::SessionKeys<_> + 'static): parity_scale_codec::codec::Decode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:33:28 [INFO] [stderr] | [INFO] [stderr] 33 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stderr] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:122:28 [INFO] [stderr] | [INFO] [stderr] 122 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:140:21 [INFO] [stderr] | [INFO] [stderr] 140 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stderr] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | client.import(BlockOrigin::Own, block.clone()).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:169:28 [INFO] [stderr] | [INFO] [stderr] 169 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:177:21 [INFO] [stderr] | [INFO] [stderr] 177 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stderr] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `finalize_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:186:9 [INFO] [stderr] | [INFO] [stderr] 186 | client.finalize_block(BlockId::number(1), None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:201:29 [INFO] [stderr] | [INFO] [stderr] 201 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:208:22 [INFO] [stderr] | [INFO] [stderr] 208 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stderr] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:209:10 [INFO] [stderr] | [INFO] [stderr] 209 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:230:29 [INFO] [stderr] | [INFO] [stderr] 230 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:237:22 [INFO] [stderr] | [INFO] [stderr] 237 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stderr] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:238:10 [INFO] [stderr] | [INFO] [stderr] 238 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:259:29 [INFO] [stderr] | [INFO] [stderr] 259 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:266:22 [INFO] [stderr] | [INFO] [stderr] 266 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stderr] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:267:10 [INFO] [stderr] | [INFO] [stderr] 267 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `finalize_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/chain/tests.rs:268:10 [INFO] [stderr] | [INFO] [stderr] 268 | client.finalize_block(BlockId::number(1), None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `genesis_hash` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:87:28 [INFO] [stderr] | [INFO] [stderr] 87 | let genesis_hash = client.genesis_hash(); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `genesis_hash` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:131:28 [INFO] [stderr] | [INFO] [stderr] 131 | let genesis_hash = client.genesis_hash(); [INFO] [stderr] | ^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:148:29 [INFO] [stderr] | [INFO] [stderr] 148 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:155:28 [INFO] [stderr] | [INFO] [stderr] 155 | let mut builder = client.new_block(Default::default()).unwrap(); [INFO] [stderr] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:163:10 [INFO] [stderr] | [INFO] [stderr] 163 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_future` found for struct `futures::sync::mpsc::Receiver` in the current scope [INFO] [stderr] --> src/state/tests.rs:167:53 [INFO] [stderr] | [INFO] [stderr] 167 | let (notification, next) = core.block_on(transport.into_future()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `futures::sync::mpsc::Receiver` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/stream/mod.rs:292:8 [INFO] [stderr] | [INFO] [stderr] 292 | fn into_future(self) -> StreamFuture [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use futures::stream::Stream;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:181:29 [INFO] [stderr] | [INFO] [stderr] 181 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(remote))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:192:28 [INFO] [stderr] | [INFO] [stderr] 192 | let mut builder = client.new_block(Default::default()).unwrap(); [INFO] [stderr] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:200:10 [INFO] [stderr] | [INFO] [stderr] 200 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_future` found for struct `futures::sync::mpsc::Receiver` in the current scope [INFO] [stderr] --> src/state/tests.rs:204:53 [INFO] [stderr] | [INFO] [stderr] 204 | let (notification, next) = core.block_on(transport.into_future()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `futures::sync::mpsc::Receiver` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/stream/mod.rs:292:8 [INFO] [stderr] | [INFO] [stderr] 292 | fn into_future(self) -> StreamFuture [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use futures::stream::Stream;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:402:28 [INFO] [stderr] | [INFO] [stderr] 402 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(core.executor()))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/state/tests.rs:425:29 [INFO] [stderr] | [INFO] [stderr] 425 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(core.executor()))); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `client` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_future` found for struct `futures::sync::mpsc::Receiver` in the current scope [INFO] [stderr] --> src/state/tests.rs:434:53 [INFO] [stderr] | [INFO] [stderr] 434 | let (notification, next) = core.block_on(transport.into_future()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `futures::sync::mpsc::Receiver` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/stream/mod.rs:292:8 [INFO] [stderr] | [INFO] [stderr] 292 | fn into_future(self) -> StreamFuture [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use futures::stream::Stream;` [INFO] [stderr] [INFO] [stderr] warning: unused import: `codec::Encode` [INFO] [stderr] --> src/author/tests.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use codec::Encode; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sc_block_builder::BlockBuilderProvider` [INFO] [stderr] --> src/chain/tests.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use sc_block_builder::BlockBuilderProvider; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sc_block_builder::BlockBuilderProvider` [INFO] [stderr] --> src/state/tests.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use sc_block_builder::BlockBuilderProvider; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 167 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0191, E0277, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0191`. [INFO] [stderr] error: could not compile `sc-rpc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c60e3d246bfc52f54faf44cf1f985b37c1de27a09c71f23eb34c034c49bccba8"` [INFO] running `"docker" "rm" "-f" "c60e3d246bfc52f54faf44cf1f985b37c1de27a09c71f23eb34c034c49bccba8"` [INFO] [stdout] c60e3d246bfc52f54faf44cf1f985b37c1de27a09c71f23eb34c034c49bccba8