[INFO] fetching crate sc-network 0.8.0-alpha.8... [INFO] checking sc-network-0.8.0-alpha.8 against master#914adf04af1c1a984707f778da3d04590c03d144 for pr-72331 [INFO] extracting crate sc-network 0.8.0-alpha.8 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sc-network 0.8.0-alpha.8 on toolchain 914adf04af1c1a984707f778da3d04590c03d144 [INFO] running `"/workspace/cargo-home/bin/cargo" "+914adf04af1c1a984707f778da3d04590c03d144" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate sc-network 0.8.0-alpha.8 [INFO] finished tweaking crates.io crate sc-network 0.8.0-alpha.8 [INFO] tweaked toml for crates.io crate sc-network 0.8.0-alpha.8 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+914adf04af1c1a984707f778da3d04590c03d144" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+914adf04af1c1a984707f778da3d04590c03d144" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+914adf04af1c1a984707f778da3d04590c03d144" "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] f74c1ef2e00b59e41210292201574b599359be5e413d40eab1d00d9d6ce83c0f [INFO] running `"docker" "start" "-a" "f74c1ef2e00b59e41210292201574b599359be5e413d40eab1d00d9d6ce83c0f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking subtle v2.2.2 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ip_network v0.3.4 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking linked_hash_set v0.1.3 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Checking uint v0.8.3 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling snow v0.6.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.62 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde v1.0.110 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking thiserror v1.0.18 [INFO] [stderr] Checking ref-cast v1.0.1 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Checking prometheus v0.8.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking wasmi 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] Compiling wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking substrate-bip39 v0.4.1 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking tracing v0.1.14 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.62 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking sp-tracing v2.0.0-alpha.8 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking wasm-bindgen v0.2.62 [INFO] [stderr] Compiling libp2p-core v0.18.0 [INFO] [stderr] Compiling libp2p-kad v0.18.0 [INFO] [stderr] Compiling libp2p-noise v0.18.0 [INFO] [stderr] Compiling libp2p-identify v0.18.0 [INFO] [stderr] Compiling sc-network v0.8.0-alpha.8 (/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 js-sys v0.3.39 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking async-std v1.5.0 [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 soketto v0.3.2 [INFO] [stderr] Checking yamux v0.4.5 [INFO] [stderr] Checking sp-utils v2.0.0-alpha.8 [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.53 [INFO] [stderr] Checking erased-serde v0.3.11 [INFO] [stderr] Checking sp-storage v2.0.0-alpha.8 [INFO] [stderr] Checking async-tls v0.7.0 [INFO] [stderr] Checking multihash v0.10.1 [INFO] [stderr] Checking multistream-select v0.8.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking parity-multiaddr v0.8.0 [INFO] [stderr] Checking sp-serializer v2.0.0-alpha.8 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.12 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-alpha.8 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0-alpha.8 [INFO] [stderr] Checking libp2p-swarm v0.18.1 [INFO] [stderr] Checking libp2p-tcp v0.18.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.18.0 [INFO] [stderr] Checking libp2p-websocket v0.18.0 [INFO] [stderr] Checking libp2p-dns v0.18.0 [INFO] [stderr] Checking libp2p-yamux v0.18.0 [INFO] [stderr] Checking libp2p-mplex v0.18.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0-alpha.8 [INFO] [stderr] Checking libp2p-mdns v0.18.0 [INFO] [stderr] Checking libp2p-ping v0.18.0 [INFO] [stderr] Checking parity-scale-codec v1.3.0 [INFO] [stderr] Checking libp2p v0.18.1 [INFO] [stderr] Checking sc-telemetry v2.0.0-alpha.8 [INFO] [stderr] Checking sc-peerset v2.0.0-alpha.8 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0-alpha.8 [INFO] [stderr] Checking sp-externalities v0.8.0-alpha.8 [INFO] [stderr] Checking fork-tree v2.0.0-alpha.8 [INFO] [stderr] Checking primitive-types v0.7.2 [INFO] [stderr] Checking parity-util-mem v0.6.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.0-alpha.8 [INFO] [stderr] Checking sp-arithmetic v2.0.0-alpha.8 [INFO] [stderr] Checking memory-db v0.20.1 [INFO] [stderr] Checking kvdb v0.6.0 [INFO] [stderr] Checking sp-database v2.0.0-alpha.8 [INFO] [stderr] Checking sp-core v2.0.0-alpha.8 [INFO] [stderr] Checking sp-trie v2.0.0-alpha.8 [INFO] [stderr] Checking sp-inherents v2.0.0-alpha.8 [INFO] [stderr] Checking sp-allocator v2.0.0-alpha.8 [INFO] [stderr] Checking sc-executor-common v0.8.0-alpha.8 [INFO] [stderr] Checking sp-state-machine v0.8.0-alpha.8 [INFO] [stderr] Checking sc-executor-wasmi v0.8.0-alpha.8 [INFO] [stderr] Checking sp-io v2.0.0-alpha.8 [INFO] [stderr] Checking sp-application-crypto v2.0.0-alpha.8 [INFO] [stderr] Checking sp-runtime v2.0.0-alpha.8 [INFO] [stderr] Checking sp-version v2.0.0-alpha.8 [INFO] [stderr] Checking sp-keyring v2.0.0-alpha.8 [INFO] [stderr] Checking sp-api v2.0.0-alpha.8 [INFO] [stderr] Checking sp-consensus v0.8.0-alpha.8 [INFO] [stderr] Checking sp-block-builder v2.0.0-alpha.8 [INFO] [stderr] Checking sc-executor v0.8.0-alpha.8 [INFO] [stderr] Checking sp-transaction-pool v2.0.0-alpha.8 [INFO] [stderr] Checking sp-blockchain v2.0.0-alpha.8 [INFO] [stderr] Checking sc-client-api v2.0.0-alpha.8 [INFO] [stderr] Checking sc-block-builder v0.8.0-alpha.8 [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:347:6 [INFO] [stderr] | [INFO] [stderr] 347 | 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:351:6 [INFO] [stderr] | [INFO] [stderr] 351 | 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:2182:6 [INFO] [stderr] | [INFO] [stderr] 2182 | 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:2181:6 [INFO] [stderr] | [INFO] [stderr] 2181 | 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:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | 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:685:6 [INFO] [stderr] | [INFO] [stderr] 685 | 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:726:26 [INFO] [stderr] | [INFO] [stderr] 726 | 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:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | 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:465:13 [INFO] [stderr] | [INFO] [stderr] 465 | 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:26:2 [INFO] [stderr] | [INFO] [stderr] 26 | 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:27:2 [INFO] [stderr] | [INFO] [stderr] 27 | 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:114:2 [INFO] [stderr] | [INFO] [stderr] 114 | 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:166:2 [INFO] [stderr] | [INFO] [stderr] 166 | 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:688:3 [INFO] [stderr] | [INFO] [stderr] 688 | 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-alpha.8/src/traits.rs:520:1 [INFO] [stderr] | [INFO] [stderr] 520 | 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:2188:38 [INFO] [stderr] | [INFO] [stderr] 2188 | 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] 2175 | use crate::light_client_handler::tests::Block; [INFO] [stderr] | [INFO] [stderr] 2175 | use crate::protocol::sync::blocks::test::Block; [INFO] [stderr] | [INFO] [stderr] 2175 | use sp_runtime::generic::Block; [INFO] [stderr] | [INFO] [stderr] 2175 | 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:2188:45 [INFO] [stderr] | [INFO] [stderr] 2188 | 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] 2175 | use core::hash::Hash; [INFO] [stderr] | [INFO] [stderr] 2175 | use sp_runtime::traits::Hash; [INFO] [stderr] | [INFO] [stderr] 2175 | 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] error: build failed [INFO] running `"docker" "inspect" "f74c1ef2e00b59e41210292201574b599359be5e413d40eab1d00d9d6ce83c0f"` [INFO] running `"docker" "rm" "-f" "f74c1ef2e00b59e41210292201574b599359be5e413d40eab1d00d9d6ce83c0f"` [INFO] [stdout] f74c1ef2e00b59e41210292201574b599359be5e413d40eab1d00d9d6ce83c0f