[INFO] crate sc-network 0.8.0-rc3 is already in cache [INFO] checking sc-network-0.8.0-rc3 against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] extracting crate sc-network 0.8.0-rc3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sc-network 0.8.0-rc3 on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-network 0.8.0-rc3 [INFO] finished tweaking crates.io crate sc-network 0.8.0-rc3 [INFO] tweaked toml for crates.io crate sc-network 0.8.0-rc3 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de6ddc78be789f7150608684a29fc1efadb2a06402ea4ded17ae1fbfcb375c1e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de6ddc78be789f7150608684a29fc1efadb2a06402ea4ded17ae1fbfcb375c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de6ddc78be789f7150608684a29fc1efadb2a06402ea4ded17ae1fbfcb375c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6ddc78be789f7150608684a29fc1efadb2a06402ea4ded17ae1fbfcb375c1e", kill_on_drop: false }` [INFO] [stdout] de6ddc78be789f7150608684a29fc1efadb2a06402ea4ded17ae1fbfcb375c1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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] f63639c78749e1000af1af820dd48769353b549141677e4d5c08657610b674a9 [INFO] running `Command { std: "docker" "start" "-a" "f63639c78749e1000af1af820dd48769353b549141677e4d5c08657610b674a9", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Checking serde v1.0.112 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking ref-cast v1.0.1 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking prometheus v0.8.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking tracing v0.1.15 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking sp-tracing v2.0.0-rc3 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking wasm-bindgen v0.2.63 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking js-sys v0.3.40 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Compiling libp2p-core v0.19.1 [INFO] [stderr] Compiling libp2p-identify v0.19.1 [INFO] [stderr] Compiling libp2p-kad v0.19.0 [INFO] [stderr] Compiling libp2p-noise v0.19.0 [INFO] [stderr] Compiling sc-network v0.8.0-rc3 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking futures_codec v0.3.4 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.4 [INFO] [stderr] Checking async-tls v0.7.0 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking yamux v0.4.5 [INFO] [stderr] Checking sp-utils v2.0.0-rc3 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking serde_json v1.0.55 [INFO] [stderr] Checking erased-serde v0.3.11 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking multihash v0.11.2 [INFO] [stderr] Checking multistream-select v0.8.1 [INFO] [stderr] Checking sp-storage v2.0.0-rc3 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.13 [INFO] [stderr] Checking parity-multiaddr v0.9.0 [INFO] [stderr] Checking slog v2.5.2 [INFO] [stderr] Checking sp-serializer v2.0.0-rc3 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-rc3 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc3 [INFO] [stderr] Checking libp2p-swarm v0.19.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.19.0 [INFO] [stderr] Checking libp2p-mplex v0.19.1 [INFO] [stderr] Checking libp2p-tcp v0.19.1 [INFO] [stderr] Checking libp2p-websocket v0.19.0 [INFO] [stderr] Checking libp2p-dns v0.19.0 [INFO] [stderr] Checking libp2p-yamux v0.19.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-rc3 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking libp2p-mdns v0.19.1 [INFO] [stderr] Checking libp2p-ping v0.19.1 [INFO] [stderr] Checking libp2p v0.19.1 [INFO] [stderr] Checking sc-telemetry v2.0.0-rc3 [INFO] [stderr] Checking sc-peerset v2.0.0-rc3 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc3 [INFO] [stderr] Checking sp-externalities v0.8.0-rc3 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc3 [INFO] [stderr] Checking fork-tree v2.0.0-rc3 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc3 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking kvdb v0.6.0 [INFO] [stderr] Checking sp-database v2.0.0-rc3 [INFO] [stderr] Checking sp-core v2.0.0-rc3 [INFO] [stderr] Checking sp-trie v2.0.0-rc3 [INFO] [stderr] Checking sp-inherents v2.0.0-rc3 [INFO] [stderr] Checking sp-allocator v2.0.0-rc3 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc3 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc3 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc3 [INFO] [stderr] Checking sp-io v2.0.0-rc3 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc3 [INFO] [stderr] Checking sp-runtime v2.0.0-rc3 [INFO] [stderr] Checking sp-version v2.0.0-rc3 [INFO] [stderr] Checking sp-keyring v2.0.0-rc3 [INFO] [stderr] Checking sp-api v2.0.0-rc3 [INFO] [stderr] Checking sp-consensus v0.8.0-rc3 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc3 [INFO] [stderr] Checking sc-executor v0.8.0-rc3 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc3 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc3 [INFO] [stderr] Checking sc-client-api v2.0.0-rc3 [INFO] [stderr] Checking sc-block-builder v0.8.0-rc3 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:402:6 [INFO] [stdout] | [INFO] [stdout] 402 | use async_std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_test_primitives` [INFO] [stdout] --> src/protocol/generic_proto/tests.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use sp_test_primitives::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quickcheck` [INFO] [stdout] --> src/protocol/sync/extra_requests.rs:348:6 [INFO] [stdout] | [INFO] [stdout] 348 | use quickcheck::{Arbitrary, Gen, QuickCheck, StdThreadGen}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `quickcheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/protocol/sync.rs:1548:6 [INFO] [stdout] | [INFO] [stdout] 1548 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_test_primitives` [INFO] [stdout] --> src/protocol/sync/extra_requests.rs:352:6 [INFO] [stdout] | [INFO] [stdout] 352 | use sp_test_primitives::{Block, BlockNumber, Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/protocol/sync.rs:1548:6 [INFO] [stdout] | [INFO] [stdout] 1548 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/protocol.rs:2221:6 [INFO] [stdout] | [INFO] [stdout] 2221 | use substrate_test_runtime_client::runtime::{Block, Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/protocol.rs:2220:6 [INFO] [stdout] | [INFO] [stdout] 2220 | use substrate_test_runtime_client::{TestClientBuilder, TestClientBuilderExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/service/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use substrate_test_runtime_client::{TestClientBuilder, TestClientBuilderExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/config.rs:699:6 [INFO] [stdout] | [INFO] [stdout] 699 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_std` [INFO] [stdout] --> src/light_client_handler.rs:1301:6 [INFO] [stdout] | [INFO] [stdout] 1301 | use async_std::task; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1302:6 [INFO] [stdout] | [INFO] [stdout] 1302 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1567:3 [INFO] [stdout] | [INFO] [stdout] 1567 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { peer_id, .. }) => { [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/light_client_handler.rs:1590:3 [INFO] [stdout] | [INFO] [stdout] 1590 | assert_matches!(poll(&mut behaviour), Poll::Pending); [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/light_client_handler.rs:1758:3 [INFO] [stdout] | [INFO] [stdout] 1758 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [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/light_client_handler.rs:1774:4 [INFO] [stdout] | [INFO] [stdout] 1774 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [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/light_client_handler.rs:1775:4 [INFO] [stdout] | [INFO] [stdout] 1775 | assert_matches!(chan.1.try_recv(), 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/light_client_handler.rs:1787:3 [INFO] [stdout] | [INFO] [stdout] 1787 | assert_matches!(poll(&mut behaviour), Poll::Pending); [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/light_client_handler.rs:1788:3 [INFO] [stdout] | [INFO] [stdout] 1788 | assert_matches!(chan.1.try_recv(), Ok(Some(Err(ClientError::RemoteFetchFailed)))) [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/light_client_handler.rs:1847:3 [INFO] [stdout] | [INFO] [stdout] 1847 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [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/light_client_handler.rs:1871:3 [INFO] [stdout] | [INFO] [stdout] 1871 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [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/light_client_handler.rs:1884:3 [INFO] [stdout] | [INFO] [stdout] 1884 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [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/light_client_handler.rs:1899:3 [INFO] [stdout] | [INFO] [stdout] 1899 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [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/light_client_handler.rs:1911:3 [INFO] [stdout] | [INFO] [stdout] 1911 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [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/light_client_handler.rs:1932:3 [INFO] [stdout] | [INFO] [stdout] 1932 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [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/light_client_handler.rs:2015:3 [INFO] [stdout] | [INFO] [stdout] 2015 | assert_matches!(task::block_on(chan.1).unwrap(), Err(ClientError::RemoteFetchFailed)); [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: could not find `secio` in `libp2p` [INFO] [stdout] --> src/discovery.rs:724:26 [INFO] [stdout] | [INFO] [stdout] 724 | let secio = libp2p::secio::SecioConfig::new(keypair2); [INFO] [stdout] | ^^^^^ could not find `secio` in `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime` [INFO] [stdout] --> src/light_client_handler.rs:1340:68 [INFO] [stdout] | [INFO] [stdout] 1340 | type Block = sp_runtime::generic::Block, substrate_test_runtime::Extrinsic>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/light_client_handler.rs:1349:25 [INFO] [stdout] | [INFO] [stdout] 1349 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_test_primitives` [INFO] [stdout] --> src/light_client_handler.rs:1452:23 [INFO] [stdout] | [INFO] [stdout] 1452 | fn dummy_header() -> sp_test_primitives::Header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sp_test_primitives` [INFO] [stdout] --> src/light_client_handler.rs:1453:3 [INFO] [stdout] | [INFO] [stdout] 1453 | sp_test_primitives::Header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/light_client_handler.rs:1503:25 [INFO] [stdout] | [INFO] [stdout] 1503 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stdout] --> src/light_client_handler.rs:2006:11 [INFO] [stdout] | [INFO] [stdout] 2006 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:412:16 [INFO] [stdout] | [INFO] [stdout] 412 | let client = async_std::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:424:3 [INFO] [stdout] | [INFO] [stdout] 424 | async_std::task::block_on(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | async_std::task::block_on(client); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | let client = async_std::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:463:3 [INFO] [stdout] | [INFO] [stdout] 463 | async_std::task::block_on(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:480:3 [INFO] [stdout] | [INFO] [stdout] 480 | async_std::task::block_on(client); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:488:16 [INFO] [stdout] | [INFO] [stdout] 488 | let client = async_std::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:502:3 [INFO] [stdout] | [INFO] [stdout] 502 | async_std::task::block_on(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:518:3 [INFO] [stdout] | [INFO] [stdout] 518 | async_std::task::block_on(client); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:526:16 [INFO] [stdout] | [INFO] [stdout] 526 | let client = async_std::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:537:3 [INFO] [stdout] | [INFO] [stdout] 537 | async_std::task::block_on(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:549:3 [INFO] [stdout] | [INFO] [stdout] 549 | async_std::task::block_on(client); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:557:16 [INFO] [stdout] | [INFO] [stdout] 557 | let client = async_std::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:567:3 [INFO] [stdout] | [INFO] [stdout] 567 | async_std::task::block_on(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:583:3 [INFO] [stdout] | [INFO] [stdout] 583 | async_std::task::block_on(client); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:591:16 [INFO] [stdout] | [INFO] [stdout] 591 | let client = async_std::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:619:3 [INFO] [stdout] | [INFO] [stdout] 619 | async_std::task::block_on(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `secio` in `libp2p` [INFO] [stdout] --> src/protocol/generic_proto/tests.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let secio = libp2p::secio::SecioConfig::new(keypair); [INFO] [stdout] | ^^^^^ could not find `secio` in `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stdout] --> src/protocol/sync/extra_requests.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let _ = ::env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ could not find `env_logger` in `{{root}}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/service/tests.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | substrate_test_runtime_client::runtime::Block, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] --> src/service/tests.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | substrate_test_runtime_client::runtime::Hash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/service/tests.rs:115:2 [INFO] [stdout] | [INFO] [stdout] 115 | async_std::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stdout] --> src/service/tests.rs:167:2 [INFO] [stdout] | [INFO] [stdout] 167 | async_std::task::block_on(async move { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.5/src/stream.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait TryStream: Stream + private_try_stream::Sealed { [INFO] [stdout] | -------------------------------------------------------- similarly named trait `TryStream` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 413 | let socket = TryStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:452:17 [INFO] [stdout] | [INFO] [stdout] 452 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.5/src/stream.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait TryStream: Stream + private_try_stream::Sealed { [INFO] [stdout] | -------------------------------------------------------- similarly named trait `TryStream` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 452 | let socket = TryStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.5/src/stream.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait TryStream: Stream + private_try_stream::Sealed { [INFO] [stdout] | -------------------------------------------------------- similarly named trait `TryStream` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 489 | let socket = TryStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:503:19 [INFO] [stdout] | [INFO] [stdout] 503 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:527:17 [INFO] [stdout] | [INFO] [stdout] 527 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.5/src/stream.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait TryStream: Stream + private_try_stream::Sealed { [INFO] [stdout] | -------------------------------------------------------- similarly named trait `TryStream` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 527 | let socket = TryStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:538:19 [INFO] [stdout] | [INFO] [stdout] 538 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.5/src/stream.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait TryStream: Stream + private_try_stream::Sealed { [INFO] [stdout] | -------------------------------------------------------- similarly named trait `TryStream` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 558 | let socket = TryStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:592:17 [INFO] [stdout] | [INFO] [stdout] 592 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.5/src/stream.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | pub trait TryStream: Stream + private_try_stream::Sealed { [INFO] [stdout] | -------------------------------------------------------- similarly named trait `TryStream` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 592 | let socket = TryStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stdout] --> src/protocol/generic_proto/upgrade/notifications.rs:620:19 [INFO] [stdout] | [INFO] [stdout] 620 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 400 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/protocol/sync.rs:1612:21 [INFO] [stdout] | [INFO] [stdout] 1612 | BlockResponse:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc3/src/traits.rs:547:1 [INFO] [stdout] | [INFO] [stdout] 547 | 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] 1612 | BlockResponse:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1546 | use crate::light_client_handler::tests::Block; [INFO] [stdout] | [INFO] [stdout] 1546 | use crate::protocol::sync::blocks::test::Block; [INFO] [stdout] | [INFO] [stdout] 1546 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 1546 | 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/protocol.rs:2227:38 [INFO] [stdout] | [INFO] [stdout] 2227 | let (mut protocol, _) = Protocol::::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2214 | use crate::light_client_handler::tests::Block; [INFO] [stdout] | [INFO] [stdout] 2214 | use crate::protocol::sync::blocks::test::Block; [INFO] [stdout] | [INFO] [stdout] 2214 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] 2214 | use sp_runtime::testing::Block; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/protocol.rs:2227:45 [INFO] [stdout] | [INFO] [stdout] 2227 | let (mut protocol, _) = Protocol::::new( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2214 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 2214 | use sp_runtime::traits::Hash; [INFO] [stdout] | [INFO] [stdout] 2214 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stdout] --> src/config.rs:702:13 [INFO] [stdout] | [INFO] [stdout] 702 | tempfile::Builder::new().prefix(prefix).tempdir().unwrap() [INFO] [stdout] | ^^^^^^^ not found in `tempfile` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 698 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 72 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-network`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `have_requests` is never read [INFO] [stdout] --> src/protocol/sync.rs:684:5 [INFO] [stdout] | [INFO] [stdout] 684 | have_requests = true; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `have_requests` is never read [INFO] [stdout] --> src/protocol/sync.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | have_requests = true; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `have_requests` [INFO] [stdout] --> src/protocol/sync.rs:684:5 [INFO] [stdout] | [INFO] [stdout] 684 | have_requests = true; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f63639c78749e1000af1af820dd48769353b549141677e4d5c08657610b674a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f63639c78749e1000af1af820dd48769353b549141677e4d5c08657610b674a9", kill_on_drop: false }` [INFO] [stdout] f63639c78749e1000af1af820dd48769353b549141677e4d5c08657610b674a9