[INFO] fetching crate sc-network 0.8.0... [INFO] checking sc-network-0.8.0 against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] extracting crate sc-network 0.8.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate sc-network 0.8.0 on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc-network 0.8.0 [INFO] finished tweaking crates.io crate sc-network 0.8.0 [INFO] tweaked toml for crates.io crate sc-network 0.8.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", 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] 6585a379c1032d33a39ad9bd2d5a4c0b57c4e348a1a117f965a2aae7f28c1f7a [INFO] running `Command { std: "docker" "start" "-a" "6585a379c1032d33a39ad9bd2d5a4c0b57c4e348a1a117f965a2aae7f28c1f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6585a379c1032d33a39ad9bd2d5a4c0b57c4e348a1a117f965a2aae7f28c1f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6585a379c1032d33a39ad9bd2d5a4c0b57c4e348a1a117f965a2aae7f28c1f7a", kill_on_drop: false }` [INFO] [stdout] 6585a379c1032d33a39ad9bd2d5a4c0b57c4e348a1a117f965a2aae7f28c1f7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfdb9258a618ed69a588b4e7c7e2d0190607478e9ae46a0af748ae3ffc5290b7 [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" "dfdb9258a618ed69a588b4e7c7e2d0190607478e9ae46a0af748ae3ffc5290b7", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling multimap v0.8.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking sp-std v2.0.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking data-encoding v2.3.0 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking atomic v0.4.6 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Checking ip_network v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking trie-root v0.16.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking linked_hash_set v0.1.4 [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking async-channel v1.4.2 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking futures-lite v1.8.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Checking trie-db v0.22.1 [INFO] [stderr] Checking lru v0.6.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-cipher v0.8.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling minicbor-derive v0.4.1 [INFO] [stderr] Compiling async-trait v0.1.41 [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 sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking stream-cipher v0.7.1 [INFO] [stderr] Checking aes-soft v0.5.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking polyval v0.4.1 [INFO] [stderr] Checking poly1305 v0.6.1 [INFO] [stderr] Checking blake2 v0.9.0 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Checking async-io v1.1.6 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking aes v0.5.0 [INFO] [stderr] Checking erased-serde v0.3.12 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Checking async-global-executor v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking merlin v2.0.0 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking chacha20 v0.5.0 [INFO] [stderr] Checking sp-serializer v2.0.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking aes-gcm v0.7.0 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Compiling sp-api-proc-macro v2.0.0 [INFO] [stderr] Checking chacha20poly1305 v0.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking parity-scale-codec v1.3.5 [INFO] [stderr] Checking schnorrkel v0.9.1 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking x25519-dalek v1.1.0 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking slog-json v2.3.0 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking substrate-bip39 v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking minicbor v0.5.1 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling prost v0.6.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] Compiling prost-types v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking futures_codec v0.4.1 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking yamux v0.8.0 [INFO] [stderr] Checking sp-utils v2.0.0 [INFO] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking multistream-select v0.8.2 [INFO] [stderr] Checking parity-multiaddr v0.9.2 [INFO] [stderr] Checking async-tls v0.8.0 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-storage v2.0.0 [INFO] [stderr] Checking sp-tracing v2.0.0 [INFO] [stderr] Checking sp-wasm-interface v2.0.0 [INFO] [stderr] Checking sp-arithmetic v2.0.0 [INFO] [stderr] Checking fork-tree v2.0.0 [INFO] [stderr] Checking primitive-types v0.7.2 [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.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking sp-externalities v0.8.0 [INFO] [stderr] Checking parity-util-mem v0.7.0 [INFO] [stderr] Checking sp-runtime-interface v2.0.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.18 [INFO] [stderr] Checking memory-db v0.24.1 [INFO] [stderr] Checking kvdb v0.7.0 [INFO] [stderr] Checking sp-database v2.0.0 [INFO] [stderr] Checking sp-core v2.0.0 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking libp2p-swarm v0.22.0 [INFO] [stderr] Checking libp2p-websocket v0.23.0 [INFO] [stderr] Checking libp2p-tcp v0.22.0 [INFO] [stderr] Checking libp2p-dns v0.22.0 [INFO] [stderr] Checking libp2p-yamux v0.25.0 [INFO] [stderr] Checking libp2p-wasm-ext v0.22.0 [INFO] [stderr] Checking libp2p-mplex v0.22.0 [INFO] [stderr] Checking sp-trie v2.0.0 [INFO] [stderr] Checking sp-inherents v2.0.0 [INFO] [stderr] Checking sp-allocator v2.0.0 [INFO] [stderr] Checking sc-executor-common v0.8.0 [INFO] [stderr] Checking sp-state-machine v0.8.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 sc-executor-wasmi v0.8.0 [INFO] [stderr] Checking sp-io v2.0.0 [INFO] [stderr] Checking substrate-prometheus-endpoint v0.8.0 [INFO] [stderr] Checking libp2p v0.28.1 [INFO] [stderr] Checking sc-telemetry v2.0.0 [INFO] [stderr] Checking sc-peerset v2.0.0 [INFO] [stderr] Checking sp-application-crypto v2.0.0 [INFO] [stderr] Checking sp-runtime v2.0.0 [INFO] [stderr] Checking sp-version v2.0.0 [INFO] [stderr] Checking sp-keyring v2.0.0 [INFO] [stderr] Checking sp-api v2.0.0 [INFO] [stderr] Checking sp-consensus v0.8.0 [INFO] [stderr] Checking sp-block-builder v2.0.0 [INFO] [stderr] Checking sc-executor v0.8.0 [INFO] [stderr] Checking sp-blockchain v2.0.0 [INFO] [stderr] Checking sp-transaction-pool v2.0.0 [INFO] [stderr] Checking sc-client-api v2.0.0 [INFO] [stderr] Checking sc-block-builder v0.8.0 [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[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: 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.0/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" "dfdb9258a618ed69a588b4e7c7e2d0190607478e9ae46a0af748ae3ffc5290b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfdb9258a618ed69a588b4e7c7e2d0190607478e9ae46a0af748ae3ffc5290b7", kill_on_drop: false }` [INFO] [stdout] dfdb9258a618ed69a588b4e7c7e2d0190607478e9ae46a0af748ae3ffc5290b7