[INFO] fetching crate sc-rpc 3.0.0... [INFO] checking sc-rpc-3.0.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate sc-rpc 3.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sc-rpc 3.0.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-rpc 3.0.0 [INFO] finished tweaking crates.io crate sc-rpc 3.0.0 [INFO] tweaked toml for crates.io crate sc-rpc 3.0.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 367a463a933dff4b60c486dddef73077f9606a72ab85a89a46d1b1ca8031691e [INFO] running `Command { std: "docker" "start" "-a" "367a463a933dff4b60c486dddef73077f9606a72ab85a89a46d1b1ca8031691e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "367a463a933dff4b60c486dddef73077f9606a72ab85a89a46d1b1ca8031691e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367a463a933dff4b60c486dddef73077f9606a72ab85a89a46d1b1ca8031691e", kill_on_drop: false }` [INFO] [stdout] 367a463a933dff4b60c486dddef73077f9606a72ab85a89a46d1b1ca8031691e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c6dba4dcebe70736cb37aad93bf64380048d65f79e0525a1d57186384649cb93 [INFO] running `Command { std: "docker" "start" "-a" "c6dba4dcebe70736cb37aad93bf64380048d65f79e0525a1d57186384649cb93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking erased-serde v0.3.13 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Checking sp-serializer v3.0.0 [INFO] [stderr] Checking jsonrpc-core v15.1.0 [INFO] [stderr] Checking sp-chain-spec v3.0.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Compiling sc-tracing-proc-macro v3.0.0 [INFO] [stderr] Compiling jsonrpc-derive v15.1.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking sp-storage v3.0.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking sp-externalities v0.9.0 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking signal-hook v0.3.8 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Checking sp-panic-handler v3.0.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking prometheus v0.11.0 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking async-io v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking if-watch v0.1.8 [INFO] [stderr] Checking async-process v1.0.2 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking sp-wasm-interface v3.0.0 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking tiny-bip39 v0.8.0 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking jsonrpc-pubsub v15.1.0 [INFO] [stderr] Checking multistream-select v0.10.2 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking sp-utils v3.0.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking sp-tracing v3.0.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Checking jsonrpc-client-transports v15.1.0 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking jsonrpc-core-client v15.1.0 [INFO] [stderr] Compiling libp2p-core v0.27.1 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking parity-util-mem v0.9.0 [INFO] [stderr] Checking sp-runtime-interface v3.0.0 [INFO] [stderr] Checking memory-db v0.26.0 [INFO] [stderr] Checking kvdb v0.9.0 [INFO] [stderr] Checking sp-database v3.0.0 [INFO] [stderr] Checking futures-rustls v0.21.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.23 [INFO] [stderr] Checking sp-core v3.0.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.9.0 [INFO] [stderr] Checking libp2p-tcp v0.27.1 [INFO] [stderr] Checking libp2p-wasm-ext v0.27.0 [INFO] [stderr] Checking libp2p-swarm v0.27.2 [INFO] [stderr] Checking libp2p-dns v0.27.0 [INFO] [stderr] Checking libp2p-websocket v0.28.0 [INFO] [stderr] Checking sp-trie v3.0.0 [INFO] [stderr] Checking sp-keystore v0.9.0 [INFO] [stderr] Checking sp-inherents v3.0.0 [INFO] [stderr] Checking sp-allocator v3.0.0 [INFO] [stderr] Checking sp-rpc v3.0.0 [INFO] [stderr] Checking sc-executor-common v0.9.0 [INFO] [stderr] Checking sp-state-machine v0.9.0 [INFO] [stderr] Checking sc-executor-wasmi v0.9.0 [INFO] [stderr] Checking libp2p v0.34.0 [INFO] [stderr] Checking sc-telemetry v3.0.0 [INFO] [stderr] Checking sc-tracing v3.0.0 [INFO] [stderr] Checking sp-io v3.0.0 [INFO] [stderr] Checking sp-application-crypto v3.0.0 [INFO] [stderr] Checking sp-tasks v3.0.0 [INFO] [stderr] Checking sp-runtime v3.0.0 [INFO] [stderr] Checking sc-keystore v3.0.0 [INFO] [stderr] Checking sp-version v3.0.0 [INFO] [stderr] Checking sp-staking v3.0.0 [INFO] [stderr] Checking sp-api v3.0.0 [INFO] [stderr] Checking sp-consensus v0.9.0 [INFO] [stderr] Checking sc-executor v0.9.0 [INFO] [stderr] Checking sp-block-builder v3.0.0 [INFO] [stderr] Checking sp-offchain v3.0.0 [INFO] [stderr] Checking sp-session v3.0.0 [INFO] [stderr] Checking sp-blockchain v3.0.0 [INFO] [stderr] Checking sp-transaction-pool v3.0.0 [INFO] [stderr] Checking sc-client-api v3.0.0 [INFO] [stderr] Checking sc-rpc-api v0.9.0 [INFO] [stderr] Checking sc-block-builder v0.9.0 [INFO] [stderr] Checking sc-rpc v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/author/tests.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/author/tests.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | self, AccountKeyring, runtime::{Extrinsic, Transfer, SessionKeys, Block}, [INFO] [stdout] | ^^^^ no external crate `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_transaction_pool` [INFO] [stdout] --> src/author/tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use sc_transaction_pool::{BasicPool, FullChainApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sc_transaction_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/state_light.rs:748:6 [INFO] [stdout] | [INFO] [stdout] 748 | use substrate_test_runtime_client::runtime::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/offchain/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/system/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use substrate_test_runtime_client::runtime::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sc_network` [INFO] [stdout] --> src/system/tests.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use sc_network::{self, PeerId}; [INFO] [stdout] | ^^^^ no external crate `sc_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/system/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `assert_matches`, `substrate_test_runtime_client::sp_consensus::BlockOrigin`, `substrate_test_runtime_client::runtime::H256`, `substrate_test_runtime_client::runtime::Block`, `substrate_test_runtime_client::runtime::Header` [INFO] [stdout] --> src/chain/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `assert_matches` [INFO] [stdout] ... [INFO] [stdout] 23 | sp_consensus::BlockOrigin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | runtime::{H256, Block, Header}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures01` [INFO] [stdout] --> src/state/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use futures01::stream::Stream; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `futures01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_io` [INFO] [stdout] --> src/state/tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use sp_io::hashing::blake2_256; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `sp_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `assert_matches`, `futures01::stream::Stream`, `sp_io::hashing::blake2_256`, `substrate_test_runtime_client::sp_consensus::BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `assert_matches` [INFO] [stdout] 25 | use futures01::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use sp_io::hashing::blake2_256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | sp_consensus::BlockOrigin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lazy_static` [INFO] [stdout] --> src/testing.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | lazy_static::lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `lazy_static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/author/tests.rs:99:2 [INFO] [stdout] | [INFO] [stdout] 99 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/author/tests.rs:114:2 [INFO] [stdout] | [INFO] [stdout] 114 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/author/tests.rs:139:2 [INFO] [stdout] | [INFO] [stdout] 139 | assert_matches!(id, SubscriptionId::String(_)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/author/tests.rs:198:2 [INFO] [stdout] | [INFO] [stdout] 198 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:36:2 [INFO] [stdout] | [INFO] [stdout] 36 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:60:2 [INFO] [stdout] | [INFO] [stdout] 60 | assert_matches!(api.header(Some(H256::from_low_u64_be(5)).into()).wait(), Ok(None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:78:2 [INFO] [stdout] | [INFO] [stdout] 78 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:93:2 [INFO] [stdout] | [INFO] [stdout] 93 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:119:2 [INFO] [stdout] | [INFO] [stdout] 119 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:125:2 [INFO] [stdout] | [INFO] [stdout] 125 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:130:2 [INFO] [stdout] | [INFO] [stdout] 130 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:138:2 [INFO] [stdout] | [INFO] [stdout] 138 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 142 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:146:2 [INFO] [stdout] | [INFO] [stdout] 146 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:151:2 [INFO] [stdout] | [INFO] [stdout] 151 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 163 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:172:2 [INFO] [stdout] | [INFO] [stdout] 172 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/chain/tests.rs:179:2 [INFO] [stdout] | [INFO] [stdout] 179 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/offchain/tests.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/offchain/tests.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/offchain/tests.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/offchain/tests.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/state/tests.rs:74:2 [INFO] [stdout] | [INFO] [stdout] 74 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/state/tests.rs:113:2 [INFO] [stdout] | [INFO] [stdout] 113 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/state/tests.rs:121:2 [INFO] [stdout] | [INFO] [stdout] 121 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/state/tests.rs:129:2 [INFO] [stdout] | [INFO] [stdout] 129 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/state/tests.rs:149:2 [INFO] [stdout] | [INFO] [stdout] 149 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/system/tests.rs:182:2 [INFO] [stdout] | [INFO] [stdout] 182 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/system/tests.rs:191:2 [INFO] [stdout] | [INFO] [stdout] 191 | assert_matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | let xt = uxt(AccountKeyring::Alice, 1).encode(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | let xt = uxt(AccountKeyring::Alice, 0).encode(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | uxt(AccountKeyring::Alice, 0).encode().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:185:56 [INFO] [stdout] | [INFO] [stdout] 185 | p.watch_extrinsic(Default::default(), subscriber, uxt(AccountKeyring::Alice, 179).encode().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | let ex = uxt(AccountKeyring::Alice, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | let ex1 = uxt(AccountKeyring::Alice, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | let ex2 = uxt(AccountKeyring::Alice, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/author/tests.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | let ex3 = uxt(AccountKeyring::Bob, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | client.import(BlockOrigin::Own, block.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/chain/tests.rs:250:29 [INFO] [stdout] | [INFO] [stdout] 250 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/chain/tests.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClientBuilder` [INFO] [stdout] --> src/state/tests.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | let client = TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestClientBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | let client = Arc::new(substrate_test_runtime_client::TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | to: AccountKeyring::Ferdie.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | let mut client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:205:71 [INFO] [stdout] | [INFO] [stdout] 205 | let alice_balance_key = blake2_256(&runtime::system::balance_of_key(AccountKeyring::Alice.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | from: AccountKeyring::Alice.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountKeyring` [INFO] [stdout] --> src/state/tests.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | to: AccountKeyring::Ferdie.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AccountKeyring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockOrigin` [INFO] [stdout] --> src/state/tests.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BlockOrigin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | run_tests(Arc::new(substrate_test_runtime_client::new()), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestClientBuilder` [INFO] [stdout] --> src/state/tests.rs:441:4 [INFO] [stdout] | [INFO] [stdout] 441 | TestClientBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestClientBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:461:24 [INFO] [stdout] | [INFO] [stdout] 461 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/state/tests.rs:488:25 [INFO] [stdout] | [INFO] [stdout] 488 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> src/system/tests.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> src/system/tests.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | ... roles: format!("{}", Role::Full), [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> src/system/tests.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> src/system/tests.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | peer_id: PeerId::random(), [INFO] [stdout] | ^^^^^^ use of undeclared type `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> src/system/tests.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | let peer_id = PeerId::random(); [INFO] [stdout] | ^^^^^^ use of undeclared type `PeerId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:320:20 [INFO] [stdout] | [INFO] [stdout] 320 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/system/tests.rs:332:20 [INFO] [stdout] | [INFO] [stdout] 332 | let mut runtime = tokio::runtime::current_thread::Runtime::new().unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountKeyring` in this scope [INFO] [stdout] --> src/author/tests.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | fn uxt(sender: AccountKeyring, nonce: u64) -> Extrinsic { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Extrinsic` in this scope [INFO] [stdout] --> src/author/tests.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | fn uxt(sender: AccountKeyring, nonce: u64) -> Extrinsic { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::generic::unchecked_extrinsic::Extrinsic; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Extrinsic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stdout] --> src/author/tests.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | let tx = Transfer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/author/tests.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | FullChainApi, Block>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::chain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::offchain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in this scope [INFO] [stdout] --> src/author/tests.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | FullChainApi, Block>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::in_mem::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_blockchain::Backend; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/author/tests.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | FullChainApi, Block>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/author/tests.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | Block, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/author/tests.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub client: Arc>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::chain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::offchain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in this scope [INFO] [stdout] --> src/author/tests.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | pub client: Arc>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::in_mem::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_blockchain::Backend; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/author/tests.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | fn author(&self) -> Author> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::chain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::offchain::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::gen_client::Client; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Backend` in this scope [INFO] [stdout] --> src/author/tests.rs:82:57 [INFO] [stdout] | [INFO] [stdout] 82 | fn author(&self) -> Author> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::state::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sc_client_api::in_mem::Backend; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_blockchain::Backend; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Transfer` in this scope [INFO] [stdout] --> src/author/tests.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | let tx = Transfer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/state/state_light.rs:754:38 [INFO] [stdout] | [INFO] [stdout] 754 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 754 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 747 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/state/state_light.rs:777:38 [INFO] [stdout] | [INFO] [stdout] 777 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 777 | let stream = subscription_stream::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 747 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/state/state_light.rs:811:40 [INFO] [stdout] | [INFO] [stdout] 811 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 811 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 747 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/state/state_light.rs:819:40 [INFO] [stdout] | [INFO] [stdout] 819 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-3.0.0/src/traits.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 819 | let _ = maybe_share_remote_request::( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 747 | use crate::author::generic::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 747 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `blake2_256` in this scope [INFO] [stdout] --> src/state/tests.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | let alice_balance_key = blake2_256(&runtime::system::balance_of_key(AccountKeyring::Alice.into())); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::generic::unchecked_extrinsic::blake2_256; [INFO] [stdout] | [INFO] [stdout] 19 | use crate::author::tests::blake2_256; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_core::blake2_256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestClient` in this scope [INFO] [stdout] --> src/state/tests.rs:240:31 [INFO] [stdout] | [INFO] [stdout] 240 | fn run_tests(mut client: Arc, has_changes_trie_config: bool) { [INFO] [stdout] | - ^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> src/system/tests.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub peer_id: PeerId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/system/tests.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | fn api>>(sync: T) -> System { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::system::traits::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] 19 | use sp_runtime::traits::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> src/system/tests.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 50 | fn api>>(sync: T) -> System { [INFO] [stdout] | - help: you might be missing a type parameter: `, PeerId` [INFO] [stdout] ... [INFO] [stdout] 102 | let _ = match peer.parse::() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXECUTOR` in this scope [INFO] [stdout] --> src/testing.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | EXECUTOR.spawn_ok(future.compat().map(drop)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sp_rpc::list::ListOrValue` [INFO] [stdout] --> src/chain/tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use sp_rpc::list::ListOrValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `executor` [INFO] [stdout] --> src/testing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::{executor, compat::Future01CompatExt, FutureExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/author/tests.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sp_core::Bytes: From<&[u8]>` is not satisfied [INFO] [stdout] --> src/author/tests.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | AuthorApi::submit_extrinsic(&p, xt.into()).wait().is_err() [INFO] [stdout] | ^^^^^^^^^ the trait `From<&[u8]>` is not implemented for `sp_core::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sp_core::Bytes: From<&[u8]>` is not satisfied [INFO] [stdout] --> src/author/tests.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | AuthorApi::submit_extrinsic(&p, xt.into()).wait().is_err() [INFO] [stdout] | ^^^^^^^^^ the trait `From<&[u8]>` is not implemented for `sp_core::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Error` (from trait `ApiErrorExt`) must be specified [INFO] [stdout] --> src/author/tests.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | let session_keys = SessionKeys::decode(&mut &new_public_keys[..]) [INFO] [stdout] | ^^^^^^^^^^^ help: specify the associated type: `SessionKeys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for trait object `(dyn sp_session::SessionKeys<_> + 'static)`, but its trait bounds were not satisfied [INFO] [stdout] --> src/author/tests.rs:252:34 [INFO] [stdout] | [INFO] [stdout] 252 | let session_keys = SessionKeys::decode(&mut &new_public_keys[..]) [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `(dyn sp_session::SessionKeys<_> + 'static)` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-session-3.0.0/src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait SessionKeys { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] | doesn't satisfy `dyn sp_session::SessionKeys<_>: Sized` [INFO] [stdout] | doesn't satisfy `dyn sp_session::SessionKeys<_>: WrapperTypeDecode` [INFO] [stdout] | doesn't satisfy `dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `dyn sp_session::SessionKeys<_>: Sized` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `dyn sp_session::SessionKeys<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `<&dyn sp_session::SessionKeys<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `&dyn sp_session::SessionKeys<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&dyn sp_session::SessionKeys<_>: sp_core::Decode` [INFO] [stdout] `<&mut (dyn sp_session::SessionKeys<_> + 'static) as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut (dyn sp_session::SessionKeys<_> + 'static): sp_core::Decode` [INFO] [stdout] `&mut (dyn sp_session::SessionKeys<_> + 'static): WrapperTypeDecode` [INFO] [stdout] which is required by `&mut (dyn sp_session::SessionKeys<_> + 'static): sp_core::Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | client.import(BlockOrigin::Own, block.clone()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `finalize_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | client.finalize_block(BlockId::number(1), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | let api = new_full(client.clone(), SubscriptionManager::new(Arc::new(TaskExecutor))); [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let block = client.new_block(Default::default()).unwrap().build().unwrap().block; [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `finalize_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/chain/tests.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | client.finalize_block(BlockId::number(1), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `genesis_hash` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | let genesis_hash = client.genesis_hash(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `genesis_hash` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | let genesis_hash = client.genesis_hash(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | let mut builder = client.new_block(Default::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_future` found for struct `jsonrpc_core::futures::sync::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/state/tests.rs:187:58 [INFO] [stdout] | [INFO] [stdout] 187 | let (notification, next) = executor::block_on(transport.into_future().compat()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `jsonrpc_core::futures::sync::mpsc::Receiver` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `Box>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use jsonrpc_core::futures::Stream;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_block` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | let mut builder = client.new_block(Default::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `import` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:225:10 [INFO] [stdout] | [INFO] [stdout] 225 | client.import(BlockOrigin::Own, block).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_future` found for struct `jsonrpc_core::futures::sync::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/state/tests.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 229 | let (notification, next) = executor::block_on(transport.into_future().compat()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `jsonrpc_core::futures::sync::mpsc::Receiver` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `Box>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use jsonrpc_core::futures::Stream;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:463:10 [INFO] [stdout] | [INFO] [stdout] 463 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stdout] --> src/state/tests.rs:490:11 [INFO] [stdout] | [INFO] [stdout] 490 | client.clone(), [INFO] [stdout] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `client` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_future` found for struct `jsonrpc_core::futures::sync::mpsc::Receiver` in the current scope [INFO] [stdout] --> src/state/tests.rs:506:58 [INFO] [stdout] | [INFO] [stdout] 506 | let (notification, next) = executor::block_on(transport.into_future().compat()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `jsonrpc_core::futures::sync::mpsc::Receiver` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/stream/mod.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn into_future(self) -> StreamFuture [INFO] [stdout] | ----------- the method is available for `Box>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use jsonrpc_core::futures::Stream;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codec::Encode` [INFO] [stdout] --> src/author/tests.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use codec::Encode; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sc_block_builder::BlockBuilderProvider` [INFO] [stdout] --> src/chain/tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use sc_block_builder::BlockBuilderProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sc_block_builder::BlockBuilderProvider` [INFO] [stdout] --> src/state/tests.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use sc_block_builder::BlockBuilderProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 158 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0191, E0277, E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0191`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-rpc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c6dba4dcebe70736cb37aad93bf64380048d65f79e0525a1d57186384649cb93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6dba4dcebe70736cb37aad93bf64380048d65f79e0525a1d57186384649cb93", kill_on_drop: false }` [INFO] [stdout] c6dba4dcebe70736cb37aad93bf64380048d65f79e0525a1d57186384649cb93