[INFO] fetching crate sc-network 0.8.0-rc2... [INFO] checking sc-network-0.8.0-rc2 against try#4662032ab74cd44d423120d08d251dfead4914a0 for pr-72788 [INFO] extracting crate sc-network 0.8.0-rc2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sc-network 0.8.0-rc2 on toolchain 4662032ab74cd44d423120d08d251dfead4914a0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+4662032ab74cd44d423120d08d251dfead4914a0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-network 0.8.0-rc2 [INFO] finished tweaking crates.io crate sc-network 0.8.0-rc2 [INFO] tweaked toml for crates.io crate sc-network 0.8.0-rc2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+4662032ab74cd44d423120d08d251dfead4914a0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+4662032ab74cd44d423120d08d251dfead4914a0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+4662032ab74cd44d423120d08d251dfead4914a0" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7b51e81f82dfff6c2bc196421635079ffc0d87e52edaa7d91e75ffca65c0aacd [INFO] running `"docker" "start" "-a" "7b51e81f82dfff6c2bc196421635079ffc0d87e52edaa7d91e75ffca65c0aacd"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking ip_network v0.3.4 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking linked_hash_set v0.1.3 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Compiling libp2p-noise v0.19.0 [INFO] [stderr] Compiling libp2p-identify v0.19.1 [INFO] [stderr] Compiling libp2p-kad v0.19.0 [INFO] [stderr] Compiling sc-network v0.8.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-rc2 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking blake2b_simd v0.5.10 [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 substrate-bip39 v0.4.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking piper v0.1.3 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking smol v0.1.10 [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-rc2 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Checking sp-externalities v0.8.0-rc2 [INFO] [stderr] Checking sp-arithmetic v2.0.0-rc2 [INFO] [stderr] Checking fork-tree v2.0.0-rc2 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking unsigned-varint v0.3.3 [INFO] [stderr] Checking multihash v0.11.2 [INFO] [stderr] Checking multistream-select v0.8.1 [INFO] [stderr] Checking async-std v1.6.0 [INFO] [stderr] Checking parity-multiaddr v0.9.0 [INFO] [stderr] Checking libp2p-core v0.19.1 [INFO] [stderr] Checking parity-util-mem v0.6.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking kvdb v0.6.0 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking sp-database v2.0.0-rc2 [INFO] [stderr] Checking sp-core v2.0.0-rc2 [INFO] [stderr] Checking libp2p-swarm v0.19.0 [INFO] [stderr] Checking libp2p-yamux v0.19.0 [INFO] [stderr] Checking libp2p-dns v0.19.0 [INFO] [stderr] Checking libp2p-mplex v0.19.1 [INFO] [stderr] Checking libp2p-wasm-ext v0.19.0 [INFO] [stderr] Checking libp2p-websocket v0.19.0 [INFO] [stderr] Checking libp2p-tcp v0.19.1 [INFO] [stderr] Checking sp-trie v2.0.0-rc2 [INFO] [stderr] Checking sp-inherents v2.0.0-rc2 [INFO] [stderr] Checking sp-allocator v2.0.0-rc2 [INFO] [stderr] Checking libp2p-mdns v0.19.1 [INFO] [stderr] Checking libp2p-ping v0.19.1 [INFO] [stderr] Checking sc-executor-common v0.8.0-rc2 [INFO] [stderr] Checking sp-state-machine v0.8.0-rc2 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-rc2 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-rc2 [INFO] [stderr] Checking libp2p v0.19.1 [INFO] [stderr] Checking sc-telemetry v2.0.0-rc2 [INFO] [stderr] Checking sc-peerset v2.0.0-rc2 [INFO] [stderr] Checking sp-io v2.0.0-rc2 [INFO] [stderr] Checking sp-application-crypto v2.0.0-rc2 [INFO] [stderr] Checking sp-runtime v2.0.0-rc2 [INFO] [stderr] Checking sp-version v2.0.0-rc2 [INFO] [stderr] Checking sp-keyring v2.0.0-rc2 [INFO] [stderr] Checking sp-api v2.0.0-rc2 [INFO] [stderr] Checking sp-consensus v0.8.0-rc2 [INFO] [stderr] Checking sp-block-builder v2.0.0-rc2 [INFO] [stderr] Checking sc-executor v0.8.0-rc2 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-rc2 [INFO] [stderr] Checking sp-blockchain v2.0.0-rc2 [INFO] [stderr] Checking sc-client-api v2.0.0-rc2 [INFO] [stderr] Checking sc-block-builder v0.8.0-rc2 [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `async_std` [INFO] [stderr] --> src/protocol/generic_proto/upgrade/notifications.rs:402:6 [INFO] [stderr] | [INFO] [stderr] 402 | 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 `quickcheck` [INFO] [stderr] --> src/protocol/sync/extra_requests.rs:348:6 [INFO] [stderr] | [INFO] [stderr] 348 | 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:1550:6 [INFO] [stderr] | [INFO] [stderr] 1550 | 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:352:6 [INFO] [stderr] | [INFO] [stderr] 352 | 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:1550:6 [INFO] [stderr] | [INFO] [stderr] 1550 | use substrate_test_runtime_client::{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/protocol.rs:2221:6 [INFO] [stderr] | [INFO] [stderr] 2221 | use substrate_test_runtime_client::runtime::{Block, Hash}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/protocol.rs:2220:6 [INFO] [stderr] | [INFO] [stderr] 2220 | use substrate_test_runtime_client::{TestClientBuilder, TestClientBuilderExt}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stderr] --> src/service/tests.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use substrate_test_runtime_client::{TestClientBuilder, TestClientBuilderExt as _}; [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:686:6 [INFO] [stderr] | [INFO] [stderr] 686 | 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/light_client_handler.rs:1301:6 [INFO] [stderr] | [INFO] [stderr] 1301 | 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/light_client_handler.rs:1302:6 [INFO] [stderr] | [INFO] [stderr] 1302 | 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/light_client_handler.rs:1567:3 [INFO] [stderr] | [INFO] [stderr] 1567 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { 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/light_client_handler.rs:1590:3 [INFO] [stderr] | [INFO] [stderr] 1590 | 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/light_client_handler.rs:1758:3 [INFO] [stderr] | [INFO] [stderr] 1758 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [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/light_client_handler.rs:1774:4 [INFO] [stderr] | [INFO] [stderr] 1774 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [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/light_client_handler.rs:1775:4 [INFO] [stderr] | [INFO] [stderr] 1775 | 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/light_client_handler.rs:1787:3 [INFO] [stderr] | [INFO] [stderr] 1787 | 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/light_client_handler.rs:1788:3 [INFO] [stderr] | [INFO] [stderr] 1788 | 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/light_client_handler.rs:1847:3 [INFO] [stderr] | [INFO] [stderr] 1847 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [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/light_client_handler.rs:1871:3 [INFO] [stderr] | [INFO] [stderr] 1871 | 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/light_client_handler.rs:1884:3 [INFO] [stderr] | [INFO] [stderr] 1884 | 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/light_client_handler.rs:1899:3 [INFO] [stderr] | [INFO] [stderr] 1899 | 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/light_client_handler.rs:1911:3 [INFO] [stderr] | [INFO] [stderr] 1911 | 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/light_client_handler.rs:1932:3 [INFO] [stderr] | [INFO] [stderr] 1932 | 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/light_client_handler.rs:2015:3 [INFO] [stderr] | [INFO] [stderr] 2015 | 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: could not find `secio` in `libp2p` [INFO] [stderr] --> src/discovery.rs:727:26 [INFO] [stderr] | [INFO] [stderr] 727 | let secio = libp2p::secio::SecioConfig::new(keypair2); [INFO] [stderr] | ^^^^^ could not find `secio` in `libp2p` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime` [INFO] [stderr] --> src/light_client_handler.rs:1340:68 [INFO] [stderr] | [INFO] [stderr] 1340 | 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/light_client_handler.rs:1349:25 [INFO] [stderr] | [INFO] [stderr] 1349 | 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 `sp_test_primitives` [INFO] [stderr] --> src/light_client_handler.rs:1452:23 [INFO] [stderr] | [INFO] [stderr] 1452 | fn dummy_header() -> sp_test_primitives::Header { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sp_test_primitives` [INFO] [stderr] --> src/light_client_handler.rs:1453:3 [INFO] [stderr] | [INFO] [stderr] 1453 | sp_test_primitives::Header { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ use of undeclared type or module `sp_test_primitives` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `substrate_test_runtime_client` [INFO] [stderr] --> src/light_client_handler.rs:1503:25 [INFO] [stderr] | [INFO] [stderr] 1503 | 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/light_client_handler.rs:2006:11 [INFO] [stderr] | [INFO] [stderr] 2006 | let _ = env_logger::try_init(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `env_logger` [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:412:16 [INFO] [stderr] | [INFO] [stderr] 412 | 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:413:17 [INFO] [stderr] | [INFO] [stderr] 413 | 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:424:3 [INFO] [stderr] | [INFO] [stderr] 424 | 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:425:19 [INFO] [stderr] | [INFO] [stderr] 425 | 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:441:3 [INFO] [stderr] | [INFO] [stderr] 441 | 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:451:16 [INFO] [stderr] | [INFO] [stderr] 451 | 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:452:17 [INFO] [stderr] | [INFO] [stderr] 452 | 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:463:3 [INFO] [stderr] | [INFO] [stderr] 463 | 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:464:19 [INFO] [stderr] | [INFO] [stderr] 464 | 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:480:3 [INFO] [stderr] | [INFO] [stderr] 480 | 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:488:16 [INFO] [stderr] | [INFO] [stderr] 488 | 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:489:17 [INFO] [stderr] | [INFO] [stderr] 489 | 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:502:3 [INFO] [stderr] | [INFO] [stderr] 502 | 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:503:19 [INFO] [stderr] | [INFO] [stderr] 503 | 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:518:3 [INFO] [stderr] | [INFO] [stderr] 518 | 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:526:16 [INFO] [stderr] | [INFO] [stderr] 526 | 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:527:17 [INFO] [stderr] | [INFO] [stderr] 527 | 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:537:3 [INFO] [stderr] | [INFO] [stderr] 537 | 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:538:19 [INFO] [stderr] | [INFO] [stderr] 538 | 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:549:3 [INFO] [stderr] | [INFO] [stderr] 549 | 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:557:16 [INFO] [stderr] | [INFO] [stderr] 557 | 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:558:17 [INFO] [stderr] | [INFO] [stderr] 558 | 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:567:3 [INFO] [stderr] | [INFO] [stderr] 567 | 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:568:19 [INFO] [stderr] | [INFO] [stderr] 568 | 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:583:3 [INFO] [stderr] | [INFO] [stderr] 583 | 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:591:16 [INFO] [stderr] | [INFO] [stderr] 591 | 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:592:17 [INFO] [stderr] | [INFO] [stderr] 592 | 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:619:3 [INFO] [stderr] | [INFO] [stderr] 619 | 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:620:19 [INFO] [stderr] | [INFO] [stderr] 620 | 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: could not find `secio` in `libp2p` [INFO] [stderr] --> src/protocol/generic_proto/tests.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | let secio = libp2p::secio::SecioConfig::new(keypair); [INFO] [stderr] | ^^^^^ could not find `secio` in `libp2p` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `env_logger` in `{{root}}` [INFO] [stderr] --> src/protocol/sync/extra_requests.rs:466:13 [INFO] [stderr] | [INFO] [stderr] 466 | 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 `substrate_test_runtime_client` [INFO] [stderr] --> src/service/tests.rs:27:2 [INFO] [stderr] | [INFO] [stderr] 27 | substrate_test_runtime_client::runtime::Block, [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/service/tests.rs:28:2 [INFO] [stderr] | [INFO] [stderr] 28 | substrate_test_runtime_client::runtime::Hash, [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 `async_std` [INFO] [stderr] --> src/service/tests.rs:115:2 [INFO] [stderr] | [INFO] [stderr] 115 | 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 `async_std` [INFO] [stderr] --> src/service/tests.rs:167:2 [INFO] [stderr] | [INFO] [stderr] 167 | 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 `tempfile` [INFO] [stderr] --> src/config.rs:689:3 [INFO] [stderr] | [INFO] [stderr] 689 | 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:1614:21 [INFO] [stderr] | [INFO] [stderr] 1614 | BlockResponse:: { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.0-rc2/src/traits.rs:547:1 [INFO] [stderr] | [INFO] [stderr] 547 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stderr] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stderr] | [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 1614 | BlockResponse:: { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1548 | use crate::light_client_handler::tests::Block; [INFO] [stderr] | [INFO] [stderr] 1548 | use crate::protocol::sync::blocks::test::Block; [INFO] [stderr] | [INFO] [stderr] 1548 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 1548 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in this scope [INFO] [stderr] --> src/protocol.rs:2227:38 [INFO] [stderr] | [INFO] [stderr] 2227 | let (mut protocol, _) = Protocol::::new( [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 2214 | use crate::light_client_handler::tests::Block; [INFO] [stderr] | [INFO] [stderr] 2214 | use crate::protocol::sync::blocks::test::Block; [INFO] [stderr] | [INFO] [stderr] 2214 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 2214 | use sp_runtime::testing::Block; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Hash` in this scope [INFO] [stderr] --> src/protocol.rs:2227:45 [INFO] [stderr] | [INFO] [stderr] 2227 | let (mut protocol, _) = Protocol::::new( [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 2214 | use core::hash::Hash; [INFO] [stderr] | [INFO] [stderr] 2214 | use sp_runtime::traits::Hash; [INFO] [stderr] | [INFO] [stderr] 2214 | use std::hash::Hash; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 72 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [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] warning: value assigned to `have_requests` is never read [INFO] [stderr] --> src/protocol/sync.rs:684:5 [INFO] [stderr] | [INFO] [stderr] 684 | have_requests = true; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `have_requests` is never read [INFO] [stderr] --> src/protocol/sync.rs:700:5 [INFO] [stderr] | [INFO] [stderr] 700 | have_requests = true; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `have_requests` [INFO] [stderr] --> src/protocol/sync.rs:684:5 [INFO] [stderr] | [INFO] [stderr] 684 | have_requests = true; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "7b51e81f82dfff6c2bc196421635079ffc0d87e52edaa7d91e75ffca65c0aacd"` [INFO] running `"docker" "rm" "-f" "7b51e81f82dfff6c2bc196421635079ffc0d87e52edaa7d91e75ffca65c0aacd"` [INFO] [stdout] 7b51e81f82dfff6c2bc196421635079ffc0d87e52edaa7d91e75ffca65c0aacd