[INFO] fetching crate sc-rpc 2.0.0-rc2... [INFO] checking sc-rpc-2.0.0-rc2 against try#4662032ab74cd44d423120d08d251dfead4914a0 for pr-72788 [INFO] extracting crate sc-rpc 2.0.0-rc2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sc-rpc 2.0.0-rc2 on toolchain 4662032ab74cd44d423120d08d251dfead4914a0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+4662032ab74cd44d423120d08d251dfead4914a0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-rpc 2.0.0-rc2 [INFO] finished tweaking crates.io crate sc-rpc 2.0.0-rc2 [INFO] tweaked toml for crates.io crate sc-rpc 2.0.0-rc2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+4662032ab74cd44d423120d08d251dfead4914a0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+4662032ab74cd44d423120d08d251dfead4914a0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+4662032ab74cd44d423120d08d251dfead4914a0" "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] c90b75143810af9331e2d7cde73c78df1115a90f4889057848642e7a8c9743be [INFO] running `"docker" "start" "-a" "c90b75143810af9331e2d7cde73c78df1115a90f4889057848642e7a8c9743be"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking futures-timer v1.0.3 [INFO] [stderr] Checking async-macros v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking erased-serde v0.3.11 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Compiling jsonrpc-derive v14.0.5 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.13 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking kvdb v0.6.0 [INFO] [stderr] Checking sp-database v2.0.0-rc2 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking async-std v0.99.12 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Compiling libp2p-core v0.19.1 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking sp-serializer v2.0.0-rc2 [INFO] [stderr] Checking jsonrpc-core v14.1.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking sp-chain-spec v2.0.0-rc2 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking jsonrpc-pubsub v14.1.0 [INFO] [stderr] Checking jsonrpc-client-transports v14.1.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Checking jsonrpc-core-client v14.1.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking piper v0.1.3 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking multistream-select v0.8.1 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking sp-utils v2.0.0-rc2 [INFO] [stderr] Checking smol v0.1.10 [INFO] [stderr] Checking async-tls v0.7.0 [INFO] [stderr] Checking sp-core v2.0.0-rc2 [INFO] [stderr] Checking async-std v1.6.0 [INFO] [stderr] Checking sp-trie v2.0.0-rc2 [INFO] [stderr] Checking sp-inherents v2.0.0-rc2 [INFO] [stderr] Checking sp-allocator v2.0.0-rc2 [INFO] [stderr] Checking sp-rpc v2.0.0-rc2 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc2 [INFO] [stderr] Checking libp2p-swarm v0.19.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.19.0 [INFO] [stderr] Checking libp2p-websocket v0.19.0 [INFO] [stderr] Checking libp2p-tcp v0.19.1 [INFO] [stderr] Checking libp2p-dns v0.19.0 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc2 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc2 [INFO] [stderr] Checking libp2p v0.19.1 [INFO] [stderr] Checking sc-telemetry v2.0.0-rc2 [INFO] [stderr] Checking sp-io v2.0.0-rc2 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-rc2 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc2 [INFO] [stderr] Checking sp-runtime v2.0.0-rc2 [INFO] [stderr] Checking sc-keystore v2.0.0-rc2 [INFO] [stderr] Checking sp-version v2.0.0-rc2 [INFO] [stderr] Checking sp-keyring v2.0.0-rc2 [INFO] [stderr] Checking sp-staking v2.0.0-rc2 [INFO] [stderr] Checking sp-api v2.0.0-rc2 [INFO] [stderr] Checking sp-consensus v0.8.0-rc2 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc2 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc2 [INFO] [stderr] Checking sc-executor v0.8.0-rc2 [INFO] [stderr] Checking sp-offchain v2.0.0-rc2 [INFO] [stderr] Checking sp-session v2.0.0-rc2 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc2 [INFO] [stderr] Checking sc-rpc-api v0.8.0-rc2 [INFO] [stderr] Checking sc-client-api v2.0.0-rc2 [INFO] [stderr] Checking sc-block-builder v0.8.0-rc2 [INFO] [stderr] Checking sc-rpc v2.0.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/author/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 import `substrate_test_runtime_client` [INFO] [stderr] --> src/author/tests.rs:31:2 [INFO] [stderr] | [INFO] [stderr] 31 | self, AccountKeyring, runtime::{Extrinsic, Transfer, SessionKeys, Block}, [INFO] [stderr] | ^^^^ no `substrate_test_runtime_client` external crate [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:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | 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 `sc_transaction_pool` [INFO] [stderr] --> src/author/tests.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | 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/state/state_light.rs:738:6 [INFO] [stderr] | [INFO] [stderr] 738 | 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: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[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/system/tests.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | 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:21:18 [INFO] [stderr] | [INFO] [stderr] 21 | 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:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | 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:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | 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: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] 23 | sp_consensus::BlockOrigin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 24 | 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:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | 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:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | 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:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] 25 | use futures01::stream::Stream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | use sp_io::hashing::blake2_256; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | sp_consensus::BlockOrigin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use substrate_test_runtime_client::{ [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 `lazy_static` [INFO] [stderr] --> src/testing.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | lazy_static::lazy_static! { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `lazy_static` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/author/tests.rs:97:2 [INFO] [stderr] | [INFO] [stderr] 97 | 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:112:2 [INFO] [stderr] | [INFO] [stderr] 112 | 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:183:2 [INFO] [stderr] | [INFO] [stderr] 183 | 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:36:2 [INFO] [stderr] | [INFO] [stderr] 36 | 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:48:2 [INFO] [stderr] | [INFO] [stderr] 48 | 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:60:2 [INFO] [stderr] | [INFO] [stderr] 60 | 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:73:2 [INFO] [stderr] | [INFO] [stderr] 73 | 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:78:2 [INFO] [stderr] | [INFO] [stderr] 78 | 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:93:2 [INFO] [stderr] | [INFO] [stderr] 93 | 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:108:2 [INFO] [stderr] | [INFO] [stderr] 108 | 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:119:2 [INFO] [stderr] | [INFO] [stderr] 119 | 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:125:2 [INFO] [stderr] | [INFO] [stderr] 125 | 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:138:2 [INFO] [stderr] | [INFO] [stderr] 138 | 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: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:163:2 [INFO] [stderr] | [INFO] [stderr] 163 | 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:172:2 [INFO] [stderr] | [INFO] [stderr] 172 | 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/offchain/tests.rs:30:2 [INFO] [stderr] | [INFO] [stderr] 30 | 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: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/offchain/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/offchain/tests.rs:51:2 [INFO] [stderr] | [INFO] [stderr] 51 | 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:66:2 [INFO] [stderr] | [INFO] [stderr] 66 | 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:98:2 [INFO] [stderr] | [INFO] [stderr] 98 | 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:106:2 [INFO] [stderr] | [INFO] [stderr] 106 | 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: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/system/tests.rs:174:2 [INFO] [stderr] | [INFO] [stderr] 174 | 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:183:2 [INFO] [stderr] | [INFO] [stderr] 183 | 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:94:15 [INFO] [stderr] | [INFO] [stderr] 94 | 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:109:15 [INFO] [stderr] | [INFO] [stderr] 109 | 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:133:7 [INFO] [stderr] | [INFO] [stderr] 133 | 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:143:10 [INFO] [stderr] | [INFO] [stderr] 143 | 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:170:56 [INFO] [stderr] | [INFO] [stderr] 170 | 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:181:15 [INFO] [stderr] | [INFO] [stderr] 181 | 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:194:16 [INFO] [stderr] | [INFO] [stderr] 194 | 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:196:16 [INFO] [stderr] | [INFO] [stderr] 196 | 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:198:16 [INFO] [stderr] | [INFO] [stderr] 198 | 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 `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | 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 `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:65:28 [INFO] [stderr] | [INFO] [stderr] 65 | 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:70:16 [INFO] [stderr] | [INFO] [stderr] 70 | 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/chain/tests.rs:116:28 [INFO] [stderr] | [INFO] [stderr] 116 | 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:136:16 [INFO] [stderr] | [INFO] [stderr] 136 | 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: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:160:28 [INFO] [stderr] | [INFO] [stderr] 160 | 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:170:16 [INFO] [stderr] | [INFO] [stderr] 170 | 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/chain/tests.rs:190:29 [INFO] [stderr] | [INFO] [stderr] 190 | 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: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 `substrate_test_runtime_client` [INFO] [stderr] --> src/chain/tests.rs:217:29 [INFO] [stderr] | [INFO] [stderr] 217 | 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:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | 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/chain/tests.rs:244:29 [INFO] [stderr] | [INFO] [stderr] 244 | 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:253:17 [INFO] [stderr] | [INFO] [stderr] 253 | 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 `TestClientBuilder` [INFO] [stderr] --> src/state/tests.rs:53:15 [INFO] [stderr] | [INFO] [stderr] 53 | 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 `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:89:24 [INFO] [stderr] | [INFO] [stderr] 89 | 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 `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:126:24 [INFO] [stderr] | [INFO] [stderr] 126 | 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 `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:141:29 [INFO] [stderr] | [INFO] [stderr] 141 | 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:151:10 [INFO] [stderr] | [INFO] [stderr] 151 | 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:152:8 [INFO] [stderr] | [INFO] [stderr] 152 | 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:157:17 [INFO] [stderr] | [INFO] [stderr] 157 | 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:172:29 [INFO] [stderr] | [INFO] [stderr] 172 | 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:175:71 [INFO] [stderr] | [INFO] [stderr] 175 | 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:186:10 [INFO] [stderr] | [INFO] [stderr] 186 | 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:187:8 [INFO] [stderr] | [INFO] [stderr] 187 | 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:192:17 [INFO] [stderr] | [INFO] [stderr] 192 | 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 `BlockOrigin` [INFO] [stderr] --> src/state/tests.rs:224:18 [INFO] [stderr] | [INFO] [stderr] 224 | 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:401:21 [INFO] [stderr] | [INFO] [stderr] 401 | run_tests(Arc::new(substrate_test_runtime_client::new()), false); [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:404:4 [INFO] [stderr] | [INFO] [stderr] 404 | 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 `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:424:24 [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 `substrate_test_runtime_client` [INFO] [stderr] --> src/state/tests.rs:447:25 [INFO] [stderr] | [INFO] [stderr] 447 | 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:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | 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 `Role` [INFO] [stderr] --> src/system/tests.rs:74:29 [INFO] [stderr] | [INFO] [stderr] 74 | roles: format!("{}", Role::Full), [INFO] [stderr] | ^^^^ use of undeclared type or module `Role` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio` [INFO] [stderr] --> src/system/tests.rs:128:20 [INFO] [stderr] | [INFO] [stderr] 128 | 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:199:13 [INFO] [stderr] | [INFO] [stderr] 199 | 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:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | 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:247:20 [INFO] [stderr] | [INFO] [stderr] 247 | 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:249:16 [INFO] [stderr] | [INFO] [stderr] 249 | 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:272:20 [INFO] [stderr] | [INFO] [stderr] 272 | 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:303:20 [INFO] [stderr] | [INFO] [stderr] 303 | 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:315:20 [INFO] [stderr] | [INFO] [stderr] 315 | 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:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | 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:37:47 [INFO] [stderr] | [INFO] [stderr] 37 | fn uxt(sender: AccountKeyring, nonce: u64) -> Extrinsic { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this trait [INFO] [stderr] | [INFO] [stderr] 19 | 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:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | 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:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | FullChainApi, Block>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::author::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::chain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::child_state::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::offchain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Backend` in this scope [INFO] [stderr] --> src/author/tests.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | FullChainApi, Block>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::backend::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::in_mem::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_blockchain::Backend; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/author/tests.rs:48:32 [INFO] [stderr] | [INFO] [stderr] 48 | FullChainApi, Block>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/author/tests.rs:49:2 [INFO] [stderr] | [INFO] [stderr] 49 | Block, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Client` in this scope [INFO] [stderr] --> src/author/tests.rs:53:18 [INFO] [stderr] | [INFO] [stderr] 53 | pub client: Arc>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::author::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::chain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::child_state::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::offchain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Backend` in this scope [INFO] [stderr] --> src/author/tests.rs:53:25 [INFO] [stderr] | [INFO] [stderr] 53 | pub client: Arc>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::backend::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::in_mem::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_blockchain::Backend; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Client` in this scope [INFO] [stderr] --> src/author/tests.rs:80:50 [INFO] [stderr] | [INFO] [stderr] 80 | fn author(&self) -> Author> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::author::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::chain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::child_state::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_rpc_api::offchain::gen_client::Client; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Backend` in this scope [INFO] [stderr] --> src/author/tests.rs:80:57 [INFO] [stderr] | [INFO] [stderr] 80 | fn author(&self) -> Author> { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::backend::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sc_client_api::in_mem::Backend; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_blockchain::Backend; [INFO] [stderr] | [INFO] [stderr] and 2 other candidates [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stderr] --> src/author/tests.rs:140:12 [INFO] [stderr] | [INFO] [stderr] 140 | 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:744:38 [INFO] [stderr] | [INFO] [stderr] 744 | let stream = subscription_stream::( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc2/src/traits.rs:547:1 [INFO] [stderr] | [INFO] [stderr] 547 | 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] 744 | let stream = subscription_stream::( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/state/state_light.rs:767:38 [INFO] [stderr] | [INFO] [stderr] 767 | let stream = subscription_stream::( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc2/src/traits.rs:547:1 [INFO] [stderr] | [INFO] [stderr] 547 | 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] 767 | let stream = subscription_stream::( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/state/state_light.rs:801:40 [INFO] [stderr] | [INFO] [stderr] 801 | 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-rc2/src/traits.rs:547:1 [INFO] [stderr] | [INFO] [stderr] 547 | 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] 801 | let _ = maybe_share_remote_request::( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/state/state_light.rs:809:40 [INFO] [stderr] | [INFO] [stderr] 809 | 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-rc2/src/traits.rs:547:1 [INFO] [stderr] | [INFO] [stderr] 547 | 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] 809 | let _ = maybe_share_remote_request::( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 737 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `blake2_256` in this scope [INFO] [stderr] --> src/state/tests.rs:175:27 [INFO] [stderr] | [INFO] [stderr] 175 | 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: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sp_core::blake2_256; [INFO] [stderr] | [INFO] [stderr] 19 | 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:207:31 [INFO] [stderr] | [INFO] [stderr] 207 | fn run_tests(mut client: Arc, has_changes_trie_config: bool) { [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:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | 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:46:52 [INFO] [stderr] | [INFO] [stderr] 46 | fn api>>(sync: T) -> System { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] 19 | use sp_runtime::traits::Block; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stderr] --> src/system/tests.rs:101:33 [INFO] [stderr] | [INFO] [stderr] 46 | fn api>>(sync: T) -> System { [INFO] [stderr] | - help: you might be missing a type parameter: `, PeerId` [INFO] [stderr] ... [INFO] [stderr] 101 | let _ = match peer.parse::() { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `EXECUTOR` in this scope [INFO] [stderr] --> src/testing.rs:41:3 [INFO] [stderr] | [INFO] [stderr] 41 | EXECUTOR.spawn_ok(future.compat().map(drop)); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `sp_rpc::list::ListOrValue` [INFO] [stderr] --> src/chain/tests.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use sp_rpc::list::ListOrValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `executor` [INFO] [stderr] --> src/testing.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | use futures::{executor, compat::Future01CompatExt, FutureExt}; [INFO] [stderr] | ^^^^^^^^ [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:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | 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:102:35 [INFO] [stderr] | [INFO] [stderr] 102 | 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:117:35 [INFO] [stderr] | [INFO] [stderr] 117 | 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:237:21 [INFO] [stderr] | [INFO] [stderr] 237 | 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:237:34 [INFO] [stderr] | [INFO] [stderr] 237 | 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-rc2/src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | 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:34:28 [INFO] [stderr] | [INFO] [stderr] 34 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | 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:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | 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:117:28 [INFO] [stderr] | [INFO] [stderr] 117 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | 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:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | 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:161:28 [INFO] [stderr] | [INFO] [stderr] 161 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | 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:170:9 [INFO] [stderr] | [INFO] [stderr] 170 | 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:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | 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:191:29 [INFO] [stderr] | [INFO] [stderr] 191 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:198:22 [INFO] [stderr] | [INFO] [stderr] 198 | 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:199:10 [INFO] [stderr] | [INFO] [stderr] 199 | 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:218:29 [INFO] [stderr] | [INFO] [stderr] 218 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:225:22 [INFO] [stderr] | [INFO] [stderr] 225 | 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:226:10 [INFO] [stderr] | [INFO] [stderr] 226 | 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:245:29 [INFO] [stderr] | [INFO] [stderr] 245 | let api = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:252:22 [INFO] [stderr] | [INFO] [stderr] 252 | 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:253:10 [INFO] [stderr] | [INFO] [stderr] 253 | 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:254:10 [INFO] [stderr] | [INFO] [stderr] 254 | 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:92:28 [INFO] [stderr] | [INFO] [stderr] 92 | 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:127:28 [INFO] [stderr] | [INFO] [stderr] 127 | 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:142:39 [INFO] [stderr] | [INFO] [stderr] 142 | let (api, _child) = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:149:28 [INFO] [stderr] | [INFO] [stderr] 149 | 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:157:10 [INFO] [stderr] | [INFO] [stderr] 157 | 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:161:58 [INFO] [stderr] | [INFO] [stderr] 161 | let (notification, next) = executor::block_on(transport.into_future().compat()).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:173:39 [INFO] [stderr] | [INFO] [stderr] 173 | let (api, _child) = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:184:28 [INFO] [stderr] | [INFO] [stderr] 184 | 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:192:10 [INFO] [stderr] | [INFO] [stderr] 192 | 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:196:58 [INFO] [stderr] | [INFO] [stderr] 196 | let (notification, next) = executor::block_on(transport.into_future().compat()).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:425:38 [INFO] [stderr] | [INFO] [stderr] 425 | let (api, _child) = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:448:39 [INFO] [stderr] | [INFO] [stderr] 448 | let (api, _child) = new_full(client.clone(), Subscriptions::new(Arc::new(TaskExecutor))); [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:457:58 [INFO] [stderr] | [INFO] [stderr] 457 | let (notification, next) = executor::block_on(transport.into_future().compat()).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:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use codec::Encode; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sc_block_builder::BlockBuilderProvider` [INFO] [stderr] --> src/chain/tests.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use sc_block_builder::BlockBuilderProvider; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sc_block_builder::BlockBuilderProvider` [INFO] [stderr] --> src/state/tests.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use sc_block_builder::BlockBuilderProvider; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 157 previous errors; 5 warnings emitted [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] running `"docker" "inspect" "c90b75143810af9331e2d7cde73c78df1115a90f4889057848642e7a8c9743be"` [INFO] running `"docker" "rm" "-f" "c90b75143810af9331e2d7cde73c78df1115a90f4889057848642e7a8c9743be"` [INFO] [stdout] c90b75143810af9331e2d7cde73c78df1115a90f4889057848642e7a8c9743be