[INFO] crate sc-rpc 2.0.0-alpha.3 is already in cache [INFO] checking sc-rpc-2.0.0-alpha.3 against master#3dbade652ed8ebac70f903e01f51cd92c4e4302c for pr-69880 [INFO] extracting crate sc-rpc 2.0.0-alpha.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate sc-rpc 2.0.0-alpha.3 on toolchain 3dbade652ed8ebac70f903e01f51cd92c4e4302c [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-rpc 2.0.0-alpha.3 [INFO] finished tweaking crates.io crate sc-rpc 2.0.0-alpha.3 [INFO] tweaked toml for crates.io crate sc-rpc 2.0.0-alpha.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3dbade652ed8ebac70f903e01f51cd92c4e4302c" "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] c67a73f3d89e9cf69f06abcd958eb5818c4f51b5aa6ec884e1d6a6de75cadf18 [INFO] running `"docker" "start" "-a" "c67a73f3d89e9cf69f06abcd958eb5818c4f51b5aa6ec884e1d6a6de75cadf18"` [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking cuckoofilter v0.3.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking sp-panic-handler v2.0.0-alpha.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking quicksink v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking fixed-hash v0.5.2 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.59 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.59 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [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 failure_derive v0.1.7 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-alpha.3 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.3 [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] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling paste-impl v0.1.7 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking thiserror v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.59 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking merlin v1.3.0 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking tiny-bip39 v0.7.1 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking schnorrkel v0.8.5 [INFO] [stderr] Checking paste v0.1.7 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking hashbrown v0.6.3 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking wasm-bindgen v0.2.59 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking trie-db v0.20.0 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Checking substrate-bip39 v0.3.1 [INFO] [stderr] Checking tracing v0.1.13 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking js-sys v0.3.36 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [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 soketto v0.3.2 [INFO] [stderr] Checking async-tls v0.6.0 [INFO] [stderr] Checking yamux v0.4.4 [INFO] [stderr] Checking libp2p-pnet v0.16.0 [INFO] [stderr] Compiling libp2p-core v0.16.0 [INFO] [stderr] Compiling libp2p-secio v0.16.1 [INFO] [stderr] Compiling libp2p-floodsub v0.16.0 [INFO] [stderr] Compiling libp2p-kad v0.16.2 [INFO] [stderr] Compiling libp2p-noise v0.16.2 [INFO] [stderr] Compiling libp2p-gossipsub v0.16.0 [INFO] [stderr] Compiling libp2p-identify v0.16.0 [INFO] [stderr] Compiling libp2p-plaintext v0.16.0 [INFO] [stderr] Checking unsigned-varint v0.3.2 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.9 [INFO] [stderr] Checking parity-multihash v0.2.3 [INFO] [stderr] Checking multistream-select v0.7.0 [INFO] [stderr] Checking impl-serde v0.3.0 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking parity-multiaddr v0.7.3 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking erased-serde v0.3.10 [INFO] [stderr] Checking sp-storage v2.0.0-alpha.3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking sp-externalities v0.8.0-alpha.3 [INFO] [stderr] Checking sp-serializer v2.0.0-alpha.3 [INFO] [stderr] Checking futures-diagnose v1.0.1 [INFO] [stderr] Checking jsonrpc-core v14.0.5 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Checking jsonrpc-pubsub v14.0.6 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-alpha.3 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-alpha.3 [INFO] [stderr] Compiling jsonrpc-derive v14.0.5 [INFO] [stderr] Checking jsonrpc-client-transports v14.0.5 [INFO] [stderr] Checking jsonrpc-core-client v14.0.5 [INFO] [stderr] Checking libp2p-swarm v0.16.1 [INFO] [stderr] Checking libp2p-deflate v0.16.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.16.2 [INFO] [stderr] Checking libp2p-mplex v0.16.0 [INFO] [stderr] Checking libp2p-uds v0.16.0 [INFO] [stderr] Checking libp2p-websocket v0.16.0 [INFO] [stderr] Checking libp2p-tcp v0.16.0 [INFO] [stderr] Checking libp2p-dns v0.16.0 [INFO] [stderr] Checking libp2p-yamux v0.16.2 [INFO] [stderr] Checking parity-scale-codec v1.2.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.3 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.3 [INFO] [stderr] Checking libp2p v0.16.2 [INFO] [stderr] Checking primitive-types v0.6.2 [INFO] [stderr] Checking parity-util-mem v0.5.2 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.3 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.3 [INFO] [stderr] Checking memory-db v0.19.0 [INFO] [stderr] Checking kvdb v0.4.0 [INFO] [stderr] Checking sp-core v2.0.0-alpha.3 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.3 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.3 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.3 [INFO] [stderr] Checking sp-rpc v2.0.0-alpha.3 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.3 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.3 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.3 [INFO] [stderr] Checking sp-io v2.0.0-alpha.3 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.3 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.3 [INFO] [stderr] Checking sc-keystore v2.0.0-alpha.3 [INFO] [stderr] Checking sp-version v2.0.0-alpha.3 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.3 [INFO] [stderr] Checking sp-api v2.0.0-alpha.3 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.3 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.3 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.3 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.3 [INFO] [stderr] Checking sp-offchain v2.0.0-alpha.3 [INFO] [stderr] Checking sp-session v2.0.0-alpha.3 [INFO] [stderr] Checking sc-rpc-api v0.8.0-alpha.3 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.3 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.3 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.3 [INFO] [stderr] Checking sc-client v0.8.0-alpha.3 [INFO] [stderr] Checking sc-rpc v2.0.0-alpha.3 (/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, RuntimeApi, 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:728:6 [INFO] [stderr] | [INFO] [stderr] 728 | 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:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | 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:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | 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] 26 | use sp_io::hashing::blake2_256; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | sp_consensus::BlockOrigin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | 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:34:2 [INFO] [stderr] | [INFO] [stderr] 34 | 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:46:2 [INFO] [stderr] | [INFO] [stderr] 46 | 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:58:2 [INFO] [stderr] | [INFO] [stderr] 58 | 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:74:2 [INFO] [stderr] | [INFO] [stderr] 74 | 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:79:2 [INFO] [stderr] | [INFO] [stderr] 79 | 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: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/chain/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/chain/tests.rs:123:2 [INFO] [stderr] | [INFO] [stderr] 123 | 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:129:2 [INFO] [stderr] | [INFO] [stderr] 129 | 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: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/chain/tests.rs:142:2 [INFO] [stderr] | [INFO] [stderr] 142 | 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:146:2 [INFO] [stderr] | [INFO] [stderr] 146 | 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: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/chain/tests.rs:155:2 [INFO] [stderr] | [INFO] [stderr] 155 | 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:170:2 [INFO] [stderr] | [INFO] [stderr] 170 | 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:179:2 [INFO] [stderr] | [INFO] [stderr] 179 | 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:186:2 [INFO] [stderr] | [INFO] [stderr] 186 | 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:59:2 [INFO] [stderr] | [INFO] [stderr] 59 | 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: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/state/tests.rs:104:2 [INFO] [stderr] | [INFO] [stderr] 104 | 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:114:2 [INFO] [stderr] | [INFO] [stderr] 114 | 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:133:2 [INFO] [stderr] | [INFO] [stderr] 133 | 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:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | 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:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | 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:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | 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:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | 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:71:16 [INFO] [stderr] | [INFO] [stderr] 71 | 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:117:15 [INFO] [stderr] | [INFO] [stderr] 117 | 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:120:28 [INFO] [stderr] | [INFO] [stderr] 120 | 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:140:16 [INFO] [stderr] | [INFO] [stderr] 140 | 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:164:15 [INFO] [stderr] | [INFO] [stderr] 164 | 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:167:28 [INFO] [stderr] | [INFO] [stderr] 167 | 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:177:16 [INFO] [stderr] | [INFO] [stderr] 177 | 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:194:19 [INFO] [stderr] | [INFO] [stderr] 194 | 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:199:29 [INFO] [stderr] | [INFO] [stderr] 199 | 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:208:17 [INFO] [stderr] | [INFO] [stderr] 208 | 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:223:19 [INFO] [stderr] | [INFO] [stderr] 223 | 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:228:29 [INFO] [stderr] | [INFO] [stderr] 228 | 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:237:17 [INFO] [stderr] | [INFO] [stderr] 237 | 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:42:17 [INFO] [stderr] | [INFO] [stderr] 42 | 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:43:15 [INFO] [stderr] | [INFO] [stderr] 43 | 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:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:24 [INFO] [stderr] | [INFO] [stderr] 83 | 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:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | 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:129:24 [INFO] [stderr] | [INFO] [stderr] 129 | 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:141:17 [INFO] [stderr] | [INFO] [stderr] 141 | 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:146:29 [INFO] [stderr] | [INFO] [stderr] 146 | 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:156:10 [INFO] [stderr] | [INFO] [stderr] 156 | 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:157:8 [INFO] [stderr] | [INFO] [stderr] 157 | 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:162:17 [INFO] [stderr] | [INFO] [stderr] 162 | 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:174:17 [INFO] [stderr] | [INFO] [stderr] 174 | 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:179:29 [INFO] [stderr] | [INFO] [stderr] 179 | 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:182:71 [INFO] [stderr] | [INFO] [stderr] 182 | 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:193:10 [INFO] [stderr] | [INFO] [stderr] 193 | 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:194:8 [INFO] [stderr] | [INFO] [stderr] 194 | 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:199:17 [INFO] [stderr] | [INFO] [stderr] 199 | 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:215:14 [INFO] [stderr] | [INFO] [stderr] 215 | 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:232:18 [INFO] [stderr] | [INFO] [stderr] 232 | 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:380:21 [INFO] [stderr] | [INFO] [stderr] 380 | 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:381:21 [INFO] [stderr] | [INFO] [stderr] 381 | 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:398:13 [INFO] [stderr] | [INFO] [stderr] 398 | 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:400:24 [INFO] [stderr] | [INFO] [stderr] 400 | 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:419:17 [INFO] [stderr] | [INFO] [stderr] 419 | 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:423:25 [INFO] [stderr] | [INFO] [stderr] 423 | 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 `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 `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 `Backend` in this scope [INFO] [stderr] --> src/author/tests.rs:78:29 [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[E0412]: cannot find type `Executor` in this scope [INFO] [stderr] --> src/author/tests.rs:78:38 [INFO] [stderr] | [INFO] [stderr] 77 | impl TestSetup { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 78 | fn author(&self) -> Author { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/author/tests.rs:78:69 [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 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] 77 | impl TestSetup { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RuntimeApi` in this scope [INFO] [stderr] --> src/author/tests.rs:78:76 [INFO] [stderr] | [INFO] [stderr] 77 | impl TestSetup { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 78 | fn author(&self) -> Author { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [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:734:38 [INFO] [stderr] | [INFO] [stderr] 734 | 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.3/src/traits.rs:557:1 [INFO] [stderr] | [INFO] [stderr] 557 | 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] 734 | 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] 727 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 727 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 727 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 733 | 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:757:38 [INFO] [stderr] | [INFO] [stderr] 757 | 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.3/src/traits.rs:557:1 [INFO] [stderr] | [INFO] [stderr] 557 | 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] 757 | 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] 727 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 727 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 727 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 756 | 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:791:40 [INFO] [stderr] | [INFO] [stderr] 791 | 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.3/src/traits.rs:557:1 [INFO] [stderr] | [INFO] [stderr] 557 | 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] 791 | 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] 727 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 727 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 727 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 779 | 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:799:40 [INFO] [stderr] | [INFO] [stderr] 799 | 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.3/src/traits.rs:557:1 [INFO] [stderr] | [INFO] [stderr] 557 | 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] 799 | 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] 727 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 727 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 727 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 779 | 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:182:27 [INFO] [stderr] | [INFO] [stderr] 182 | 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:214:31 [INFO] [stderr] | [INFO] [stderr] 214 | 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[E0107]: wrong number of type arguments: expected 4, found 1 [INFO] [stderr] --> src/author/tests.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | pub client: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected 4 type arguments [INFO] [stderr] [INFO] [stderr] error: aborting due to 126 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [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" "c67a73f3d89e9cf69f06abcd958eb5818c4f51b5aa6ec884e1d6a6de75cadf18"` [INFO] running `"docker" "rm" "-f" "c67a73f3d89e9cf69f06abcd958eb5818c4f51b5aa6ec884e1d6a6de75cadf18"` [INFO] [stdout] c67a73f3d89e9cf69f06abcd958eb5818c4f51b5aa6ec884e1d6a6de75cadf18