[INFO] fetching crate sc-network 0.8.1... [INFO] checking sc-network-0.8.1 against master#339e19697a39a78f4d669c217b7d21109215de41 for pr-81213 [INFO] extracting crate sc-network 0.8.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate sc-network 0.8.1 on toolchain 339e19697a39a78f4d669c217b7d21109215de41 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-network 0.8.1 [INFO] finished tweaking crates.io crate sc-network 0.8.1 [INFO] tweaked toml for crates.io crate sc-network 0.8.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89906bcf8180fb6eba7932b28f987509650f4fc35dd0828d2f80dffc7f3a3ffb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "89906bcf8180fb6eba7932b28f987509650f4fc35dd0828d2f80dffc7f3a3ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89906bcf8180fb6eba7932b28f987509650f4fc35dd0828d2f80dffc7f3a3ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89906bcf8180fb6eba7932b28f987509650f4fc35dd0828d2f80dffc7f3a3ffb", kill_on_drop: false }` [INFO] [stdout] 89906bcf8180fb6eba7932b28f987509650f4fc35dd0828d2f80dffc7f3a3ffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 68d0cc2be6eb357470ba82786cc50b7b9c129a0571445f05fab3444fcba32191 [INFO] running `Command { std: "docker" "start" "-a" "68d0cc2be6eb357470ba82786cc50b7b9c129a0571445f05fab3444fcba32191", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling parity-util-mem v0.7.0 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling minicbor-derive v0.4.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling slog_derive v0.2.0 [INFO] [stderr] Checking serde v1.0.121 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking ref-cast v1.0.6 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking merlin v2.0.1 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking chacha20 v0.5.0 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking tiny-bip39 v0.7.3 [INFO] [stderr] Checking prometheus v0.10.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking x25519-dalek v1.1.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking chacha20poly1305 v0.6.0 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking wasm-bindgen v0.2.69 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking erased-serde v0.3.13 [INFO] [stderr] Compiling libp2p-core v0.22.1 [INFO] [stderr] Compiling libp2p-noise v0.24.0 [INFO] [stderr] Compiling libp2p-kad v0.23.0 [INFO] [stderr] Compiling libp2p-identify v0.22.0 [INFO] [stderr] Compiling sc-network v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking minicbor v0.5.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking slog v2.7.0 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking sp-serializer v2.0.1 [INFO] [stderr] Checking futures_codec v0.4.1 [INFO] [stderr] Checking multistream-select v0.8.5 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking yamux v0.8.0 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking sp-utils v2.0.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking parity-multiaddr v0.9.7 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.2 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.1 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.1 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.19 [INFO] [stderr] Checking async-tls v0.8.0 [INFO] [stderr] Checking libp2p-swarm v0.22.0 [INFO] [stderr] Checking libp2p-yamux v0.25.0 [INFO] [stderr] Checking libp2p-tcp v0.22.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.22.0 [INFO] [stderr] Checking libp2p-mplex v0.22.0 [INFO] [stderr] Checking libp2p-dns v0.22.0 [INFO] [stderr] Checking libp2p-websocket v0.23.0 [INFO] [stderr] Checking libp2p-request-response v0.3.0 [INFO] [stderr] Checking libp2p-ping v0.22.0 [INFO] [stderr] Checking libp2p-mdns v0.22.0 [INFO] [stderr] Checking parity-scale-codec v1.3.6 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking libp2p v0.28.1 [INFO] [stderr] Checking sc-telemetry v2.0.1 [INFO] [stderr] Checking sc-peerset v2.0.1 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.1 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.1 [INFO] [stderr] Checking sp-wasm-interface v2.0.1 [INFO] [stderr] Checking sp-tracing v2.0.1 [INFO] [stderr] Checking sp-arithmetic v2.0.1 [INFO] [stderr] Checking fork-tree v2.0.1 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking sp-externalities v0.8.1 [INFO] [stderr] Checking sp-runtime-interface v2.0.1 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking kvdb v0.7.0 [INFO] [stderr] Checking sp-database v2.0.1 [INFO] [stderr] Checking sp-core v2.0.1 [INFO] [stderr] Checking sp-trie v2.0.1 [INFO] [stderr] Checking sp-inherents v2.0.1 [INFO] [stderr] Checking sp-allocator v2.0.1 [INFO] [stderr] Checking sc-executor-common v0.8.1 [INFO] [stderr] Checking sp-state-machine v0.8.1 [INFO] [stderr] Checking sc-executor-wasmi v0.8.1 [INFO] [stderr] Checking sp-io v2.0.1 [INFO] [stderr] Checking sp-application-crypto v2.0.1 [INFO] [stderr] Checking sp-runtime v2.0.1 [INFO] [stderr] Checking sp-version v2.0.1 [INFO] [stderr] Checking sp-keyring v2.0.1 [INFO] [stderr] Checking sp-api v2.0.1 [INFO] [stderr] Checking sp-consensus v0.8.1 [INFO] [stderr] Checking sp-block-builder v2.0.1 [INFO] [stderr] Checking sc-executor v0.8.1 [INFO] [stderr] Checking sp-blockchain v2.0.1 [INFO] [stderr] Checking sp-transaction-pool v2.0.1 [INFO] [stderr] Checking sc-client-api v2.0.1 [INFO] [stderr] Checking sc-block-builder v0.8.1 [INFO] [stdout] error[E0432]: unresolved import `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1303:6 [INFO] [stdout] | [INFO] [stdout] 1303 | use assert_matches::assert_matches; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `assert_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quickcheck` [INFO] [stdout] --> src/protocol/sync/extra_requests.rs:348:6 [INFO] [stdout] | [INFO] [stdout] 348 | use quickcheck::{Arbitrary, Gen, QuickCheck, StdThreadGen}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `quickcheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/protocol/sync.rs:1557:6 [INFO] [stdout] | [INFO] [stdout] 1557 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sp_test_primitives` [INFO] [stdout] --> src/protocol/sync/extra_requests.rs:352:6 [INFO] [stdout] | [INFO] [stdout] 352 | use sp_test_primitives::{Block, BlockNumber, Hash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_test_primitives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/protocol/sync.rs:1557:6 [INFO] [stdout] | [INFO] [stdout] 1557 | use substrate_test_runtime_client::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/service/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use substrate_test_runtime_client::{TestClientBuilder, TestClientBuilderExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/config.rs:708:6 [INFO] [stdout] | [INFO] [stdout] 708 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `substrate_test_runtime_client` [INFO] [stdout] --> src/gossip/tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use substrate_test_runtime_client::{TestClientBuilder, TestClientBuilderExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1568:3 [INFO] [stdout] | [INFO] [stdout] 1568 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { peer_id, .. }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1591:3 [INFO] [stdout] | [INFO] [stdout] 1591 | assert_matches!(poll(&mut behaviour), Poll::Pending); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1759:3 [INFO] [stdout] | [INFO] [stdout] 1759 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1775:4 [INFO] [stdout] | [INFO] [stdout] 1775 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1776:4 [INFO] [stdout] | [INFO] [stdout] 1776 | assert_matches!(chan.1.try_recv(), Ok(None)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1788:3 [INFO] [stdout] | [INFO] [stdout] 1788 | assert_matches!(poll(&mut behaviour), Poll::Pending); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1789:3 [INFO] [stdout] | [INFO] [stdout] 1789 | assert_matches!(chan.1.try_recv(), Ok(Some(Err(ClientError::RemoteFetchFailed)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1848:3 [INFO] [stdout] | [INFO] [stdout] 1848 | assert_matches!(poll(&mut behaviour), Poll::Ready(NetworkBehaviourAction::NotifyHandler { .. })); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1872:3 [INFO] [stdout] | [INFO] [stdout] 1872 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1885:3 [INFO] [stdout] | [INFO] [stdout] 1885 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1900:3 [INFO] [stdout] | [INFO] [stdout] 1900 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1912:3 [INFO] [stdout] | [INFO] [stdout] 1912 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:1933:3 [INFO] [stdout] | [INFO] [stdout] 1933 | assert_matches!(chan.1.try_recv(), Ok(Some(Ok(_)))) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_matches` [INFO] [stdout] --> src/light_client_handler.rs:2016:3 [INFO] [stdout] | [INFO] [stdout] 2016 | assert_matches!(task::block_on(chan.1).unwrap(), Err(ClientError::RemoteFetchFailed)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime` [INFO] [stdout] --> src/light_client_handler.rs:1341:68 [INFO] [stdout] | [INFO] [stdout] 1341 | type Block = sp_runtime::generic::Block, substrate_test_runtime::Extrinsic>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/light_client_handler.rs:1350:25 [INFO] [stdout] | [INFO] [stdout] 1350 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_test_primitives` [INFO] [stdout] --> src/light_client_handler.rs:1453:23 [INFO] [stdout] | [INFO] [stdout] 1453 | fn dummy_header() -> sp_test_primitives::Header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_test_primitives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_test_primitives` [INFO] [stdout] --> src/light_client_handler.rs:1454:3 [INFO] [stdout] | [INFO] [stdout] 1454 | sp_test_primitives::Header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `sp_test_primitives` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/light_client_handler.rs:1504:25 [INFO] [stdout] | [INFO] [stdout] 1504 | let client = Arc::new(substrate_test_runtime_client::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/light_client_handler.rs:2007:3 [INFO] [stdout] | [INFO] [stdout] 2007 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_tracing` [INFO] [stdout] --> src/protocol/sync/extra_requests.rs:466:3 [INFO] [stdout] | [INFO] [stdout] 466 | sp_tracing::try_init_simple(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/service/tests.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | substrate_test_runtime_client::runtime::Block, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/service/tests.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | substrate_test_runtime_client::runtime::Hash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/gossip/tests.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | substrate_test_runtime_client::runtime::Block, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] --> src/gossip/tests.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | substrate_test_runtime_client::runtime::Hash, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substrate_test_runtime_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/protocol/sync.rs:1621:21 [INFO] [stdout] | [INFO] [stdout] 1621 | BlockResponse:: { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sp-runtime-2.0.1/src/traits.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | pub trait Block: Clone + Send + Sync + Codec + Eq + MaybeSerialize + Debug + MaybeMallocSizeOf + 'static { [INFO] [stdout] | -------------------------------------------------------------------------------------------------------- similarly named trait `BlockT` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1621 | BlockResponse:: { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1555 | use crate::light_client_handler::Block; [INFO] [stdout] | [INFO] [stdout] 1555 | use crate::light_client_handler::tests::Block; [INFO] [stdout] | [INFO] [stdout] 1555 | use crate::protocol::sync::blocks::test::Block; [INFO] [stdout] | [INFO] [stdout] 1555 | use sp_runtime::generic::Block; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tempfile` [INFO] [stdout] --> src/config.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | tempfile::Builder::new().prefix(prefix).tempdir().unwrap() [INFO] [stdout] | ^^^^^^^ not found in `tempfile` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 707 | use async_std::task::Builder; [INFO] [stdout] | [INFO] [stdout] 707 | use crate::light_client_handler::codec::alloc::sync::rwlock::poison::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 707 | use crate::light_client_handler::tests::task::Builder; [INFO] [stdout] | [INFO] [stdout] 707 | use crate::transport::core::transport::upgrade::Builder; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-network` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "68d0cc2be6eb357470ba82786cc50b7b9c129a0571445f05fab3444fcba32191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d0cc2be6eb357470ba82786cc50b7b9c129a0571445f05fab3444fcba32191", kill_on_drop: false }` [INFO] [stdout] 68d0cc2be6eb357470ba82786cc50b7b9c129a0571445f05fab3444fcba32191