[INFO] crate sc-network 0.8.0-alpha.3 is already in cache [INFO] checking sc-network-0.8.0-alpha.3 against master#d939f708d960161d23b964309ba68ff207fc0ead for pr-70087 [INFO] extracting crate sc-network 0.8.0-alpha.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate sc-network 0.8.0-alpha.3 on toolchain d939f708d960161d23b964309ba68ff207fc0ead [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-network 0.8.0-alpha.3 [INFO] finished tweaking crates.io crate sc-network 0.8.0-alpha.3 [INFO] tweaked toml for crates.io crate sc-network 0.8.0-alpha.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+d939f708d960161d23b964309ba68ff207fc0ead" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 29d0c1a522c20f73fbb73bea64f21227ba5531b391b2326f1676bebe7c38fa2c [INFO] running `"docker" "start" "-a" "29d0c1a522c20f73fbb73bea64f21227ba5531b391b2326f1676bebe7c38fa2c"` [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.10 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Checking sp-panic-handler v2.0.0-alpha.3 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling sc-network v0.8.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking tiny-bip39 v0.7.1 [INFO] [stderr] Checking snow v0.6.2 [INFO] [stderr] Compiling libp2p-core v0.16.0 [INFO] [stderr] Compiling libp2p-secio v0.16.1 [INFO] [stderr] Checking tracing v0.1.13 [INFO] [stderr] Checking parity-util-mem v0.5.2 [INFO] [stderr] Checking memory-db v0.19.0 [INFO] [stderr] Checking kvdb v0.4.0 [INFO] [stderr] Checking schnorrkel v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking substrate-bip39 v0.3.1 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking sp-core v2.0.0-alpha.3 [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.6.0 [INFO] [stderr] Checking soketto v0.3.2 [INFO] [stderr] Checking yamux v0.4.4 [INFO] [stderr] Checking libp2p-pnet v0.16.0 [INFO] [stderr] Checking futures-diagnose v1.0.1 [INFO] [stderr] Checking unsigned-varint v0.3.2 [INFO] [stderr] Checking parity-multihash v0.2.3 [INFO] [stderr] Checking multistream-select v0.7.0 [INFO] [stderr] Checking parity-multiaddr v0.7.3 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.3 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.3 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.3 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.3 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.3 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.3 [INFO] [stderr] Checking libp2p-swarm v0.16.1 [INFO] [stderr] Checking libp2p-mplex v0.16.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.16.2 [INFO] [stderr] Checking libp2p-noise v0.16.2 [INFO] [stderr] Checking libp2p-plaintext v0.16.0 [INFO] [stderr] Checking libp2p-deflate v0.16.0 [INFO] [stderr] Checking libp2p-tcp v0.16.0 [INFO] [stderr] Checking libp2p-uds v0.16.0 [INFO] [stderr] Checking libp2p-dns v0.16.0 [INFO] [stderr] Checking libp2p-websocket v0.16.0 [INFO] [stderr] Checking libp2p-yamux v0.16.2 [INFO] [stderr] Checking sp-io v2.0.0-alpha.3 [INFO] [stderr] Checking libp2p-ping v0.16.0 [INFO] [stderr] Checking libp2p-kad v0.16.2 [INFO] [stderr] Checking libp2p-identify v0.16.0 [INFO] [stderr] Checking libp2p-gossipsub v0.16.0 [INFO] [stderr] Checking libp2p-mdns v0.16.0 [INFO] [stderr] Checking libp2p-floodsub v0.16.0 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.3 [INFO] [stderr] Checking libp2p v0.16.2 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.3 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.3 [INFO] [stderr] Checking sc-peerset v2.0.0-alpha.3 [INFO] [stderr] Checking sp-version v2.0.0-alpha.3 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.3 [INFO] [stderr] Checking sp-api v2.0.0-alpha.3 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.3 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.3 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.3 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.3 [INFO] [stderr] Checking sp-timestamp v2.0.0-alpha.3 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.3 [INFO] [stderr] Checking sp-consensus-babe v0.8.0-alpha.3 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.3 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.3 [INFO] [stderr] Checking sc-client v0.8.0-alpha.3 [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:386:6 [INFO] [stderr] | [INFO] [stderr] 386 | use async_std::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_test_primitives` [INFO] [stderr] --> src/protocol/generic_proto/tests.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use sp_test_primitives::Block; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_test_primitives` [INFO] [stderr] --> src/protocol/light_dispatch.rs:695:6 [INFO] [stderr] | [INFO] [stderr] 695 | use sp_test_primitives::{Block, Header}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `quickcheck` [INFO] [stderr] --> src/protocol/sync/extra_requests.rs:327:6 [INFO] [stderr] | [INFO] [stderr] 327 | use quickcheck::{Arbitrary, Gen, QuickCheck, StdThreadGen}; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `quickcheck` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/protocol/sync.rs:1370:6 [INFO] [stderr] | [INFO] [stderr] 1370 | use substrate_test_runtime_client::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sp_test_primitives` [INFO] [stderr] --> src/protocol/sync/extra_requests.rs:331:6 [INFO] [stderr] | [INFO] [stderr] 331 | use sp_test_primitives::{Block, BlockNumber, Hash}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/protocol/sync.rs:1370:6 [INFO] [stderr] | [INFO] [stderr] 1370 | use substrate_test_runtime_client::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tempfile` [INFO] [stderr] --> src/config.rs:526:6 [INFO] [stderr] | [INFO] [stderr] 526 | use tempfile::TempDir; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `async_std` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1108:6 [INFO] [stderr] | [INFO] [stderr] 1108 | use async_std::task; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1109:6 [INFO] [stderr] | [INFO] [stderr] 1109 | use assert_matches::assert_matches; [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `assert_matches` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1278:3 [INFO] [stderr] | [INFO] [stderr] 1278 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::SendEvent { peer_id, .. }) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1301:3 [INFO] [stderr] | [INFO] [stderr] 1301 | assert_matches!(poll(&mut behaviour), Poll::Pending); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1505:3 [INFO] [stderr] | [INFO] [stderr] 1505 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::SendEvent { .. })); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1521:4 [INFO] [stderr] | [INFO] [stderr] 1521 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::SendEvent { .. })); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1522:4 [INFO] [stderr] | [INFO] [stderr] 1522 | assert_matches!(chan.1.try_recv(), Ok(None)) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1535:3 [INFO] [stderr] | [INFO] [stderr] 1535 | assert_matches!(poll(&mut behaviour), Poll::Pending); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1536:3 [INFO] [stderr] | [INFO] [stderr] 1536 | assert_matches!(chan.1.try_recv(), Ok(Some(Err(ClientError::RemoteFetchFailed)))) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1597:3 [INFO] [stderr] | [INFO] [stderr] 1597 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::SendEvent { .. })); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1621:3 [INFO] [stderr] | [INFO] [stderr] 1621 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1634:3 [INFO] [stderr] | [INFO] [stderr] 1634 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1651:3 [INFO] [stderr] | [INFO] [stderr] 1651 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1663:3 [INFO] [stderr] | [INFO] [stderr] 1663 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1684:3 [INFO] [stderr] | [INFO] [stderr] 1684 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `assert_matches` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1769:3 [INFO] [stderr] | [INFO] [stderr] 1769 | assert_matches!(task::block_on(chan.1).unwrap(), Err(ClientError::RemoteFetchFailed)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:396:16 [INFO] [stderr] | [INFO] [stderr] 396 | let client = async_std::task::spawn(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:397:17 [INFO] [stderr] | [INFO] [stderr] 397 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:408:3 [INFO] [stderr] | [INFO] [stderr] 408 | async_std::task::block_on(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:409:19 [INFO] [stderr] | [INFO] [stderr] 409 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:425:3 [INFO] [stderr] | [INFO] [stderr] 425 | async_std::task::block_on(client); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:435:16 [INFO] [stderr] | [INFO] [stderr] 435 | let client = async_std::task::spawn(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:436:17 [INFO] [stderr] | [INFO] [stderr] 436 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:447:3 [INFO] [stderr] | [INFO] [stderr] 447 | async_std::task::block_on(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:448:19 [INFO] [stderr] | [INFO] [stderr] 448 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:464:3 [INFO] [stderr] | [INFO] [stderr] 464 | async_std::task::block_on(client); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:472:16 [INFO] [stderr] | [INFO] [stderr] 472 | let client = async_std::task::spawn(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:473:17 [INFO] [stderr] | [INFO] [stderr] 473 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:486:3 [INFO] [stderr] | [INFO] [stderr] 486 | async_std::task::block_on(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:487:19 [INFO] [stderr] | [INFO] [stderr] 487 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:502:3 [INFO] [stderr] | [INFO] [stderr] 502 | async_std::task::block_on(client); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:510:16 [INFO] [stderr] | [INFO] [stderr] 510 | let client = async_std::task::spawn(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:511:17 [INFO] [stderr] | [INFO] [stderr] 511 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:521:3 [INFO] [stderr] | [INFO] [stderr] 521 | async_std::task::block_on(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:522:19 [INFO] [stderr] | [INFO] [stderr] 522 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:533:3 [INFO] [stderr] | [INFO] [stderr] 533 | async_std::task::block_on(client); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:541:16 [INFO] [stderr] | [INFO] [stderr] 541 | let client = async_std::task::spawn(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:542:17 [INFO] [stderr] | [INFO] [stderr] 542 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:551:3 [INFO] [stderr] | [INFO] [stderr] 551 | async_std::task::block_on(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:552:19 [INFO] [stderr] | [INFO] [stderr] 552 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:567:3 [INFO] [stderr] | [INFO] [stderr] 567 | async_std::task::block_on(client); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:575:16 [INFO] [stderr] | [INFO] [stderr] 575 | let client = async_std::task::spawn(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:576:17 [INFO] [stderr] | [INFO] [stderr] 576 | let socket = TcpStream::connect(listener_addr_rx.await.unwrap()).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:603:3 [INFO] [stderr] | [INFO] [stderr] 603 | async_std::task::block_on(async move { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `async_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:604:19 [INFO] [stderr] | [INFO] [stderr] 604 | let listener = TcpListener::bind("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1149:68 [INFO] [stderr] | [INFO] [stderr] 1149 | type Block = sp_runtime::generic::Block, substrate_test_runtime::Extrinsic>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1158:25 [INFO] [stderr] | [INFO] [stderr] 1158 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1218:25 [INFO] [stderr] | [INFO] [stderr] 1218 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env_logger` [INFO] [stderr] --> src/protocol/light_client_handler.rs:1760:11 [INFO] [stderr] | [INFO] [stderr] 1760 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stderr] --> src/protocol/sync/extra_requests.rs:445:13 [INFO] [stderr] | [INFO] [stderr] 445 | let _ = ::env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ could not find `env_logger` in `{{root}}` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tempfile` [INFO] [stderr] --> src/config.rs:529:3 [INFO] [stderr] | [INFO] [stderr] 529 | tempfile::Builder::new().prefix(prefix).tempdir().unwrap() [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `tempfile` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/protocol/sync.rs:1433:21 [INFO] [stderr] | [INFO] [stderr] 1433 | BlockResponse:: { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-alpha.3/src/traits.rs:557:1 [INFO] [stderr] | [INFO] [stderr] 557 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 1433 | BlockResponse:: { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1368 | use crate::protocol::light_client_handler::tests::Block; [INFO] [stderr] | [INFO] [stderr] 1368 | use crate::protocol::sync::blocks::test::Block; [INFO] [stderr] | [INFO] [stderr] 1368 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 1368 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 1378 | fn processes_empty_response_on_justification_request_for_unknown_block() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:515:40 [INFO] [stderr] | [INFO] [stderr] 515 | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:512:14 [INFO] [stderr] | [INFO] [stderr] 512 | let ret = upgrade::apply_outbound( [INFO] [stderr] | _______________________^ [INFO] [stderr] 513 | | socket, [INFO] [stderr] 514 | | // We check that an initial message that is too large gets refused. [INFO] [stderr] 515 | | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] 516 | | upgrade::Version::V1 [INFO] [stderr] 517 | | ).await; [INFO] [stderr] | |___________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:515:43 [INFO] [stderr] | [INFO] [stderr] 515 | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:512:14 [INFO] [stderr] | [INFO] [stderr] 512 | let ret = upgrade::apply_outbound( [INFO] [stderr] | _______________________^ [INFO] [stderr] 513 | | socket, [INFO] [stderr] 514 | | // We check that an initial message that is too large gets refused. [INFO] [stderr] 515 | | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] 516 | | upgrade::Version::V1 [INFO] [stderr] 517 | | ).await; [INFO] [stderr] | |___________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:515:39 [INFO] [stderr] | [INFO] [stderr] 515 | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:512:14 [INFO] [stderr] | [INFO] [stderr] 512 | let ret = upgrade::apply_outbound( [INFO] [stderr] | _______________________^ [INFO] [stderr] 513 | | socket, [INFO] [stderr] 514 | | // We check that an initial message that is too large gets refused. [INFO] [stderr] 515 | | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] 516 | | upgrade::Version::V1 [INFO] [stderr] 517 | | ).await; [INFO] [stderr] | |___________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:515:54 [INFO] [stderr] | [INFO] [stderr] 515 | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:512:14 [INFO] [stderr] | [INFO] [stderr] 512 | let ret = upgrade::apply_outbound( [INFO] [stderr] | _______________________^ [INFO] [stderr] 513 | | socket, [INFO] [stderr] 514 | | // We check that an initial message that is too large gets refused. [INFO] [stderr] 515 | | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] 516 | | upgrade::Version::V1 [INFO] [stderr] 517 | | ).await; [INFO] [stderr] | |___________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:515:39 [INFO] [stderr] | [INFO] [stderr] 515 | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:512:14 [INFO] [stderr] | [INFO] [stderr] 512 | let ret = upgrade::apply_outbound( [INFO] [stderr] | _______________________^ [INFO] [stderr] 513 | | socket, [INFO] [stderr] 514 | | // We check that an initial message that is too large gets refused. [INFO] [stderr] 515 | | NotificationsOut::new(PROTO_NAME, (0..32768).map(|_| 0).collect::>()), [INFO] [stderr] 516 | | upgrade::Version::V1 [INFO] [stderr] 517 | | ).await; [INFO] [stderr] | |___________________^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:588:13 [INFO] [stderr] | [INFO] [stderr] 588 | for _ in 0..32768 { [INFO] [stderr] | ^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:592:8 [INFO] [stderr] | [INFO] [stderr] 592 | if future::poll_fn(|cx| Sink::poll_ready(Pin::new(&mut substream), cx)).await.is_err() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:588:16 [INFO] [stderr] | [INFO] [stderr] 588 | for _ in 0..32768 { [INFO] [stderr] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:592:8 [INFO] [stderr] | [INFO] [stderr] 592 | if future::poll_fn(|cx| Sink::poll_ready(Pin::new(&mut substream), cx)).await.is_err() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0698]: type inside `async` block must be known in this context [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:588:13 [INFO] [stderr] | [INFO] [stderr] 588 | for _ in 0..32768 { [INFO] [stderr] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stderr] | [INFO] [stderr] note: the type is part of the `async` block because of this `await` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:592:8 [INFO] [stderr] | [INFO] [stderr] 592 | if future::poll_fn(|cx| Sink::poll_ready(Pin::new(&mut substream), cx)).await.is_err() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 68 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0698. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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] [stderr] error: build failed [INFO] running `"docker" "inspect" "29d0c1a522c20f73fbb73bea64f21227ba5531b391b2326f1676bebe7c38fa2c"` [INFO] running `"docker" "rm" "-f" "29d0c1a522c20f73fbb73bea64f21227ba5531b391b2326f1676bebe7c38fa2c"` [INFO] [stdout] 29d0c1a522c20f73fbb73bea64f21227ba5531b391b2326f1676bebe7c38fa2c