[INFO] fetching crate fluence-fork-libp2p 0.22.0... [INFO] checking fluence-fork-libp2p-0.22.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate fluence-fork-libp2p 0.22.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate fluence-fork-libp2p 0.22.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fluence-fork-libp2p 0.22.0 [INFO] finished tweaking crates.io crate fluence-fork-libp2p 0.22.0 [INFO] tweaked toml for crates.io crate fluence-fork-libp2p 0.22.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate fluence-fork-libp2p 0.22.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78a2894f63d7446289b5e91e995687a135ec1e807cb69664ae521c6cd3ee773d [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" "78a2894f63d7446289b5e91e995687a135ec1e807cb69664ae521c6cd3ee773d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78a2894f63d7446289b5e91e995687a135ec1e807cb69664ae521c6cd3ee773d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a2894f63d7446289b5e91e995687a135ec1e807cb69664ae521c6cd3ee773d", kill_on_drop: false }` [INFO] [stdout] 78a2894f63d7446289b5e91e995687a135ec1e807cb69664ae521c6cd3ee773d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33800acb10fe3891f322d220d3152d467b99a67fc32d173712816d4b608ba269 [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" "33800acb10fe3891f322d220d3152d467b99a67fc32d173712816d4b608ba269", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Checking futures-sink v0.3.6 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking data-encoding v2.3.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking object v0.21.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking parity-send-wrapper v0.1.0 [INFO] [stderr] Checking atomic v0.4.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Checking quicksink v0.1.2 [INFO] [stderr] Checking blake2s_simd v0.5.10 [INFO] [stderr] Checking blake2b_simd v0.5.10 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking dns-parser v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [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] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking ctr v0.3.2 [INFO] [stderr] Checking salsa20-core v0.2.3 [INFO] [stderr] Checking twofish v0.2.0 [INFO] [stderr] Checking aes-soft v0.5.0 [INFO] [stderr] Checking stream-cipher v0.7.1 [INFO] [stderr] Checking polyval v0.4.1 [INFO] [stderr] Checking poly1305 v0.6.1 [INFO] [stderr] Checking blake2 v0.9.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking multihash v0.11.4 [INFO] [stderr] Checking salsa20 v0.3.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Checking aes-ctr v0.3.0 [INFO] [stderr] Checking aes v0.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking aes-gcm v0.7.0 [INFO] [stderr] Compiling const-random-macro v0.1.11 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking async-global-executor v1.4.2 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking cuckoofilter v0.3.2 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking const-random v0.1.11 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Checking lru v0.4.3 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking env_logger v0.7.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 synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling fluence-fork-libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Checking ref-cast v1.0.2 [INFO] [stderr] Checking asn1_der v0.6.3 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking chacha20 v0.5.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking chacha20poly1305 v0.6.0 [INFO] [stderr] Checking x25519-dalek v1.1.0 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking prometheus v0.9.0 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.18 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking futures v0.3.6 [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 yamux v0.4.9 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking async-tls v0.8.0 [INFO] [stderr] Checking fluence-fork-libp2p-pnet v0.19.1 [INFO] [stderr] Compiling fluence-fork-libp2p-core v0.20.1 [INFO] [stderr] Compiling fluence-fork-libp2p-gossipsub v0.20.0 [INFO] [stderr] Compiling fluence-fork-libp2p-secio v0.20.0 [INFO] [stderr] Compiling fluence-fork-libp2p-kad v0.21.0 [INFO] [stderr] Compiling fluence-fork-libp2p-floodsub v0.20.0 [INFO] [stderr] Compiling fluence-fork-libp2p-identify v0.20.0 [INFO] [stderr] Compiling fluence-fork-libp2p-noise v0.21.0 [INFO] [stderr] Compiling fluence-fork-libp2p-plaintext v0.20.0 [INFO] [stderr] Checking unsigned-varint v0.4.0 [INFO] [stderr] Checking fluence-fork-multistream-select v0.8.2 [INFO] [stderr] Checking fluence-fork-parity-multiaddr v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking fluence-fork-libp2p-swarm v0.20.1 [INFO] [stderr] Checking trust-graph v0.1.0 [INFO] [stderr] Checking fluence-fork-libp2p-uds v0.20.0 [INFO] [stderr] Checking fluence-fork-libp2p-tcp v0.20.0 [INFO] [stderr] Checking fluence-fork-libp2p-mplex v0.20.0 [INFO] [stderr] Checking fluence-fork-libp2p-websocket v0.21.1 [INFO] [stderr] Checking fluence-fork-libp2p-deflate v0.20.0 [INFO] [stderr] Checking fluence-fork-libp2p-dns v0.20.0 [INFO] [stderr] Checking fluence-fork-libp2p-yamux v0.20.0 [INFO] [stderr] Checking fluence-fork-libp2p-wasm-ext v0.20.1 [INFO] [stderr] Checking fluence-fork-libp2p-ping v0.20.0 [INFO] [stderr] Checking fluence-fork-libp2p-request-response v0.1.1 [INFO] [stderr] Checking fluence-fork-libp2p-mdns v0.20.0 [INFO] [stderr] Checking fluence-fork-libp2p v0.22.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/mdns-passive-discovery.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p::mdns::service::{MdnsPacket, MdnsService}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/ipfs-private.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/gossipsub-chat.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p::gossipsub::protocol::MessageId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/gossipsub-chat.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use libp2p::gossipsub::{GossipsubEvent, GossipsubMessage, Topic}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/chat.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/chat.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> examples/chat.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(NetworkBehaviour)] [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 type `MdnsPacket` [INFO] [stdout] --> examples/mdns-passive-discovery.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | MdnsPacket::Query(query) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MdnsPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/chat.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[behaviour(ignore)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MdnsPacket` [INFO] [stdout] --> examples/mdns-passive-discovery.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | MdnsPacket::Response(response) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MdnsPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MdnsPacket` [INFO] [stdout] --> examples/mdns-passive-discovery.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | MdnsPacket::ServiceDiscovery(query) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MdnsPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MdnsService` [INFO] [stdout] --> examples/mdns-passive-discovery.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | let mut service = MdnsService::new()?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_mdns::MdnsService; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/chat.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let transport = libp2p::build_development_transport(local_key)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/distributed-key-value-store.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p::kad::record::store::MemoryStore; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/distributed-key-value-store.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use libp2p::kad::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FloodsubEvent` [INFO] [stdout] --> examples/chat.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | if let FloodsubEvent::Message(message) = message { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FloodsubEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MdnsEvent` [INFO] [stdout] --> examples/chat.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | MdnsEvent::Discovered(list) => [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MdnsEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MdnsEvent` [INFO] [stdout] --> examples/chat.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | MdnsEvent::Expired(list) => [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MdnsEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libp2p`, `ping::handler::PingFailure`, `ping::handler::PingSuccess` [INFO] [stdout] --> examples/ipfs-private.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] ... [INFO] [stdout] 212 | use ping::handler::{PingFailure, PingSuccess}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> examples/ipfs-private.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Floodsub` in this scope [INFO] [stdout] --> examples/chat.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | floodsub: Floodsub, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_floodsub::Floodsub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mdns` in this scope [INFO] [stdout] --> examples/chat.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | mdns: Mdns, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_mdns::Mdns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEventProcess` in this scope [INFO] [stdout] --> examples/chat.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | impl NetworkBehaviourEventProcess for MyBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_swarm::NetworkBehaviourEventProcess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloodsubEvent` in this scope [INFO] [stdout] --> examples/chat.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | impl NetworkBehaviourEventProcess for MyBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_floodsub::FloodsubEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloodsubEvent` in this scope [INFO] [stdout] --> examples/chat.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | fn inject_event(&mut self, message: FloodsubEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_floodsub::FloodsubEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEventProcess` in this scope [INFO] [stdout] --> examples/chat.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | impl NetworkBehaviourEventProcess for MyBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_swarm::NetworkBehaviourEventProcess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MdnsEvent` in this scope [INFO] [stdout] --> examples/chat.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 104 | impl NetworkBehaviourEventProcess for MyBehaviour { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_mdns::MdnsEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MdnsEvent` in this scope [INFO] [stdout] --> examples/chat.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | fn inject_event(&mut self, event: MdnsEvent) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_mdns::MdnsEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mdns` [INFO] [stdout] --> examples/chat.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let mdns = Mdns::new()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_mdns::Mdns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Floodsub` [INFO] [stdout] --> examples/chat.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | floodsub: Floodsub::new(local_peer_id.clone()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 52 | use libp2p_floodsub::Floodsub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluence-fork-libp2p` [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `YamuxConfig` [INFO] [stdout] --> examples/ipfs-private.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | let yamux_config = YamuxConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `YamuxConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> examples/ipfs-private.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | .upgrade(Version::V1) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> examples/ipfs-private.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | Some(Protocol::P2p(peer_id)) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/ping.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use libp2p::{identity, PeerId, ping::{Ping, PingConfig}, Swarm}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/ping.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use libp2p::{identity, PeerId, ping::{Ping, PingConfig}, Swarm}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/distributed-key-value-store.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/distributed-key-value-store.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> examples/distributed-key-value-store.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(NetworkBehaviour)] [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 type `GossipsubEvent` [INFO] [stdout] --> examples/ipfs-private.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | GossipsubEvent::Message(peer_id, id, message) => println!( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `GossipsubEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MdnsEvent` [INFO] [stdout] --> examples/distributed-key-value-store.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | if let MdnsEvent::Discovered(list) = event { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MdnsEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/distributed-key-value-store.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | libp2p::identity::PublicKey::Ed25519(key) => key, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KademliaEvent` [INFO] [stdout] --> examples/distributed-key-value-store.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | KademliaEvent::QueryResult { result, .. } => match result { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `KademliaEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryResult` [INFO] [stdout] --> examples/distributed-key-value-store.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | QueryResult::GetRecord(Ok(ok)) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `QueryResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess` [INFO] [stdout] --> examples/ipfs-private.rs:216:40 [INFO] [stdout] | [INFO] [stdout] 216 | result: Result::Ok(PingSuccess::Ping { rtt }), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PingSuccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryResult` [INFO] [stdout] --> examples/distributed-key-value-store.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | QueryResult::GetRecord(Err(err)) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `QueryResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryResult` [INFO] [stdout] --> examples/distributed-key-value-store.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | QueryResult::PutRecord(Ok(PutRecordOk { key })) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `QueryResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QueryResult` [INFO] [stdout] --> examples/distributed-key-value-store.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | QueryResult::PutRecord(Err(err)) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `QueryResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess` [INFO] [stdout] --> examples/ipfs-private.rs:226:40 [INFO] [stdout] | [INFO] [stdout] 226 | result: Result::Ok(PingSuccess::Pong), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PingSuccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/distributed-key-value-store.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | libp2p::identity::Keypair::Ed25519(kp) => kp, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingFailure` [INFO] [stdout] --> examples/ipfs-private.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | result: Result::Err(PingFailure::Timeout), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PingFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingFailure` [INFO] [stdout] --> examples/ipfs-private.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | result: Result::Err(PingFailure::Other { error }), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PingFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/gossipsub-chat.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | use libp2p::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quorum` [INFO] [stdout] --> examples/distributed-key-value-store.rs:185:39 [INFO] [stdout] | [INFO] [stdout] 185 | kademlia.get_record(&key, Quorum::One); [INFO] [stdout] | ^^^^^^ use of undeclared type `Quorum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/ping.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let transport = libp2p::build_development_transport(id_keys)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Quorum` [INFO] [stdout] --> examples/distributed-key-value-store.rs:212:41 [INFO] [stdout] | [INFO] [stdout] 212 | kademlia.put_record(record, Quorum::One).expect("Failed to store record locally."); [INFO] [stdout] | ^^^^^^ use of undeclared type `Quorum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreSharedKey` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | psk: Option, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_pnet::PreSharedKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StreamMuxer` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | impl StreamMuxer< [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_core::StreamMuxer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecioConfig` [INFO] [stdout] --> examples/ipfs-private.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let secio_config = SecioConfig::new(key_pair); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_secio::SecioConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpConfig` [INFO] [stdout] --> examples/ipfs-private.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | let base_transport = TcpConfig::new().nodelay(true); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_tcp::TcpConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EitherTransport` [INFO] [stdout] --> examples/ipfs-private.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | Some(psk) => EitherTransport::Left( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_core::either::EitherTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/ping.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let behaviour = Ping::new(PingConfig::new().with_keep_alive(true)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 41 | use libp2p_ping::Ping; [INFO] [stdout] | [INFO] [stdout] 41 | use libp2p_ping::protocol::Ping; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PnetConfig` [INFO] [stdout] --> examples/ipfs-private.rs:85:54 [INFO] [stdout] | [INFO] [stdout] 85 | base_transport.and_then(move |socket, _| PnetConfig::new(psk).handshake(socket)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_pnet::PnetConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/ping.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let behaviour = Ping::new(PingConfig::new().with_keep_alive(true)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 41 | use libp2p_ping::PingConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EitherTransport` [INFO] [stdout] --> examples/ipfs-private.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | None => EitherTransport::Right(base_transport), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_core::either::EitherTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> examples/ipfs-private.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | addr.push(Protocol::P2p(peer_id)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_noise::Protocol; [INFO] [stdout] | [INFO] [stdout] 34 | use multiaddr::Protocol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PreSharedKey` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | let psk: Option = get_psk(ipfs_path)? [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_pnet::PreSharedKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PreSharedKey` [INFO] [stdout] --> examples/ipfs-private.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | .map(|text| PreSharedKey::from_str(&text)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_pnet::PreSharedKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gossipsub` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | gossipsub: Gossipsub, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_gossipsub::Gossipsub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identify` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | identify: Identify, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_identify::Identify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::Ping; [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::protocol::Ping; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEventProcess` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | impl NetworkBehaviourEventProcess [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_swarm::NetworkBehaviourEventProcess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:181:39 [INFO] [stdout] | [INFO] [stdout] 181 | impl NetworkBehaviourEventProcess [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_identify::IdentifyEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:185:43 [INFO] [stdout] | [INFO] [stdout] 185 | fn inject_event(&mut self, event: IdentifyEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_identify::IdentifyEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEventProcess` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | impl NetworkBehaviourEventProcess [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_swarm::NetworkBehaviourEventProcess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Kademlia` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | kademlia: Kademlia, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::Kademlia; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryStore` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | kademlia: Kademlia, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::store::MemoryStore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mdns` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | mdns: Mdns [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_mdns::Mdns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEventProcess` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | impl NetworkBehaviourEventProcess for MyBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_swarm::NetworkBehaviourEventProcess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MdnsEvent` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | impl NetworkBehaviourEventProcess for MyBehaviour { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_mdns::MdnsEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MdnsEvent` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | fn inject_event(&mut self, event: MdnsEvent) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_mdns::MdnsEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEventProcess` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | impl NetworkBehaviourEventProcess for MyBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_swarm::NetworkBehaviourEventProcess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KademliaEvent` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | impl NetworkBehaviourEventProcess for MyBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::KademliaEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KademliaEvent` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:91:45 [INFO] [stdout] | [INFO] [stdout] 91 | fn inject_event(&mut self, message: KademliaEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::KademliaEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PeerRecord` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | for PeerRecord { record: Record { key, value, .. }, ..} in ok.records { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::PeerRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Record` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | for PeerRecord { record: Record { key, value, .. }, ..} in ok.records { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::Record; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PutRecordOk` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | QueryResult::PutRecord(Ok(PutRecordOk { key })) => { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::PutRecordOk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryStore` [INFO] [stdout] --> examples/distributed-key-value-store.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let store = MemoryStore::new(local_peer_id.clone()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::store::MemoryStore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kademlia` [INFO] [stdout] --> examples/distributed-key-value-store.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let kademlia = Kademlia::new(local_key, local_peer_id.clone(), store, TrustGraph::new(vec![])); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::Kademlia; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mdns` [INFO] [stdout] --> examples/distributed-key-value-store.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let mdns = Mdns::new()?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_mdns::Mdns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Kademlia` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | fn handle_input_line(kademlia: &mut Kademlia, line: String) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::Kademlia; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryStore` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:171:46 [INFO] [stdout] | [INFO] [stdout] 171 | fn handle_input_line(kademlia: &mut Kademlia, line: String) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::store::MemoryStore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> examples/distributed-key-value-store.rs:178:34 [INFO] [stdout] | [INFO] [stdout] 178 | Some(key) => Key::new(&key), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 32 | use crate::io::utils::io::sys::ext::net::raw_fd::sys_common::thread_local_key::Key; [INFO] [stdout] | [INFO] [stdout] 32 | use crate::io::utils::io::sys::ext::net::raw_fd::sys_common::util::thread::local::fast::Key; [INFO] [stdout] | [INFO] [stdout] 32 | use crate::io::utils::io::sys::ext::net::raw_fd::sys_common::util::thread::local::os::Key; [INFO] [stdout] | [INFO] [stdout] 32 | use crate::io::utils::io::sys::thread_local_key::Key; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> examples/distributed-key-value-store.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | Some(key) => Key::new(&key), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 32 | use crate::io::utils::io::sys::ext::net::raw_fd::sys_common::thread_local_key::Key; [INFO] [stdout] | [INFO] [stdout] 32 | use crate::io::utils::io::sys::ext::net::raw_fd::sys_common::util::thread::local::fast::Key; [INFO] [stdout] | [INFO] [stdout] 32 | use crate::io::utils::io::sys::ext::net::raw_fd::sys_common::util::thread::local::os::Key; [INFO] [stdout] | [INFO] [stdout] 32 | use crate::io::utils::io::sys::thread_local_key::Key; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Record` in this scope [INFO] [stdout] --> examples/distributed-key-value-store.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | let record = Record { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p_kad::Record; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GossipsubEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 190 | impl NetworkBehaviourEventProcess [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_gossipsub::GossipsubEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GossipsubEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | fn inject_event(&mut self, event: GossipsubEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_gossipsub::GossipsubEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviourEventProcess` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | impl NetworkBehaviourEventProcess [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_swarm::NetworkBehaviourEventProcess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:207:39 [INFO] [stdout] | [INFO] [stdout] 207 | impl NetworkBehaviourEventProcess [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::PingEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | fn inject_event(&mut self, event: PingEvent) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::PingEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::PingEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::PingEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::PingEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/ipfs-private.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::PingEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GossipsubConfigBuilder` [INFO] [stdout] --> examples/ipfs-private.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | let gossipsub_config = GossipsubConfigBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_gossipsub::GossipsubConfigBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Gossipsub` [INFO] [stdout] --> examples/ipfs-private.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | gossipsub: Gossipsub::new(local_peer_id.clone(), gossipsub_config), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_gossipsub::Gossipsub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identify` [INFO] [stdout] --> examples/ipfs-private.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | identify: Identify::new( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_identify::Identify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/ipfs-private.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | ping: Ping::new(PingConfig::new()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::Ping; [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::protocol::Ping; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/ipfs-private.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | ping: Ping::new(PingConfig::new()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_ping::PingConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> examples/ipfs-private.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> examples/ping.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | use futures::{future, prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/gossipsub-chat.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | let transport = libp2p::build_development_transport(local_key)?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GossipsubEvent` [INFO] [stdout] --> examples/gossipsub-chat.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | GossipsubEvent::Message(peer_id, id, message) => println!( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `GossipsubEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Topic` [INFO] [stdout] --> examples/gossipsub-chat.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let topic = Topic::new("test-net".into()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 49 | use libp2p_floodsub::Topic; [INFO] [stdout] | [INFO] [stdout] 49 | use libp2p_gossipsub::Topic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GossipsubMessage` in this scope [INFO] [stdout] --> examples/gossipsub-chat.rs:83:40 [INFO] [stdout] | [INFO] [stdout] 83 | let message_id_fn = |message: &GossipsubMessage| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 49 | use libp2p_gossipsub::GossipsubMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageId` in this scope [INFO] [stdout] --> examples/gossipsub-chat.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | MessageId(s.finish().to_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 86 | message(s.finish().to_string()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 49 | use libp2p_gossipsub::MessageId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/gossipsub-chat.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | libp2p::Swarm::new(transport, gossipsub, local_peer_id) [INFO] [stdout] | ^^^^^ not found in `libp2p` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 49 | use fluence_fork_libp2p::Swarm; [INFO] [stdout] | [INFO] [stdout] 49 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/gossipsub-chat.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | libp2p::Swarm::listen_on(&mut swarm, "/ip4/0.0.0.0/tcp/0".parse().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^ not found in `libp2p` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 49 | use fluence_fork_libp2p::Swarm; [INFO] [stdout] | [INFO] [stdout] 49 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/gossipsub-chat.rs:108:42 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(to_dial) => match libp2p::Swarm::dial_addr(&mut swarm, to_dial) { [INFO] [stdout] | ^^^^^ not found in `libp2p` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 49 | use fluence_fork_libp2p::Swarm; [INFO] [stdout] | [INFO] [stdout] 49 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/gossipsub-chat.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | for addr in libp2p::Swarm::listeners(&swarm) { [INFO] [stdout] | ^^^^^ not found in `libp2p` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 49 | use fluence_fork_libp2p::Swarm; [INFO] [stdout] | [INFO] [stdout] 49 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> examples/gossipsub-chat.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "33800acb10fe3891f322d220d3152d467b99a67fc32d173712816d4b608ba269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33800acb10fe3891f322d220d3152d467b99a67fc32d173712816d4b608ba269", kill_on_drop: false }` [INFO] [stdout] 33800acb10fe3891f322d220d3152d467b99a67fc32d173712816d4b608ba269