[INFO] fetching crate libp2p-rendezvous 0.5.0... [INFO] testing libp2p-rendezvous-0.5.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate libp2p-rendezvous 0.5.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate libp2p-rendezvous 0.5.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-rendezvous 0.5.0 [INFO] finished tweaking crates.io crate libp2p-rendezvous 0.5.0 [INFO] tweaked toml for crates.io crate libp2p-rendezvous 0.5.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate libp2p-rendezvous 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded bimap v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8180e7824fb8419ac4262bdb6db1990fdc78b74d805a654a244af40de4e3a320 [INFO] running `Command { std: "docker" "start" "-a" "8180e7824fb8419ac4262bdb6db1990fdc78b74d805a654a244af40de4e3a320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8180e7824fb8419ac4262bdb6db1990fdc78b74d805a654a244af40de4e3a320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8180e7824fb8419ac4262bdb6db1990fdc78b74d805a654a244af40de4e3a320", kill_on_drop: false }` [INFO] [stdout] 8180e7824fb8419ac4262bdb6db1990fdc78b74d805a654a244af40de4e3a320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a33c4a507a5bb9145c219f1a3fa71ee24ac256ec9058d19d12fea8789abc2bbf [INFO] running `Command { std: "docker" "start" "-a" "a33c4a507a5bb9145c219f1a3fa71ee24ac256ec9058d19d12fea8789abc2bbf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling asn1_der v0.7.5 [INFO] [stderr] Compiling bimap v0.6.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling ed25519 v1.4.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling multihash-derive v0.8.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling asynchronous-codec v0.6.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multihash v0.16.2 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling multiaddr v0.14.0 [INFO] [stderr] Compiling libp2p-core v0.32.0 [INFO] [stderr] Compiling libp2p-rendezvous v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libp2p-swarm v0.35.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.90s [INFO] running `Command { std: "docker" "inspect" "a33c4a507a5bb9145c219f1a3fa71ee24ac256ec9058d19d12fea8789abc2bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33c4a507a5bb9145c219f1a3fa71ee24ac256ec9058d19d12fea8789abc2bbf", kill_on_drop: false }` [INFO] [stdout] a33c4a507a5bb9145c219f1a3fa71ee24ac256ec9058d19d12fea8789abc2bbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ccc49ea03268e1608c956b81959970bd4895f3c875ca5d432a07553b4f96660 [INFO] running `Command { std: "docker" "start" "-a" "9ccc49ea03268e1608c956b81959970bd4895f3c875ca5d432a07553b4f96660", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling libp2p-core v0.32.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling libp2p-swarm v0.35.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling libp2p-rendezvous v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/discover.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p::core::identity; [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/discover.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libp2p::core::PeerId; [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/discover.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p::multiaddr::Protocol; [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/discover.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::ping::{Ping, PingConfig, PingEvent, PingSuccess}; [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/discover.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::swarm::SwarmEvent; [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/register_with_identify.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p::core::identity; [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/register_with_identify.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libp2p::core::PeerId; [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/register_with_identify.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p::identify::{Identify, IdentifyConfig, IdentifyEvent}; [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/register_with_identify.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::ping::{Ping, PingConfig, PingEvent, PingSuccess}; [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/register_with_identify.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::swarm::{Swarm, SwarmEvent}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/discover.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::Swarm; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/discover.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::{development_transport, rendezvous, Multiaddr}; [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/discover.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(libp2p::NetworkBehaviour)] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::{development_transport, rendezvous}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::{Multiaddr, NetworkBehaviour}; [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/register_with_identify.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/discover.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[behaviour(event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/discover.rs:144:3 [INFO] [stdout] | [INFO] [stdout] 144 | #[behaviour(out_event = "MyEvent")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/discover.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | ping: Ping::new( [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/discover.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | PingConfig::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PingConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/discover.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | SwarmEvent::ConnectionEstablished { peer_id, .. } if peer_id == rendezvous_point => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/discover.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | SwarmEvent::Behaviour(MyEvent::Rendezvous(rendezvous::client::Event::Discovered { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> examples/discover.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 91 | ... let p2p_suffix = Protocol::P2p(*peer.as_ref()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/discover.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess` [INFO] [stdout] --> examples/discover.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | 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 crate or module `identity` [INFO] [stdout] --> examples/discover.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> examples/discover.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | PeerId::from(identity.public()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/discover.rs:103:57 [INFO] [stdout] | [INFO] [stdout] 103 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/discover.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | Ping(PingEvent), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/discover.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/discover.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/discover.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Ping`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 147 | ping: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[behaviour(event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[behaviour(out_event = "MyEvent")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identify` [INFO] [stdout] --> examples/register_with_identify.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | identify: Identify::new(IdentifyConfig::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifyConfig` [INFO] [stdout] --> examples/register_with_identify.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | identify: Identify::new(IdentifyConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IdentifyConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/register_with_identify.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | ping: Ping::new( [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/register_with_identify.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | PingConfig::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PingConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | SwarmEvent::NewListenAddr { address, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | SwarmEvent::ConnectionClosed { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | SwarmEvent::Behaviour(MyEvent::Identify(IdentifyEvent::Received { .. })) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifyEvent` [INFO] [stdout] --> examples/register_with_identify.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | SwarmEvent::Behaviour(MyEvent::Identify(IdentifyEvent::Received { .. })) => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IdentifyEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | SwarmEvent::Behaviour(MyEvent::Rendezvous(rendezvous::client::Event::Registered { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | SwarmEvent::Behaviour(MyEvent::Rendezvous( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess` [INFO] [stdout] --> examples/register_with_identify.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | 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 crate or module `identity` [INFO] [stdout] --> examples/register_with_identify.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Swarm` [INFO] [stdout] --> examples/register_with_identify.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let mut swarm = Swarm::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> examples/register_with_identify.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | PeerId::from(identity.public()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | Identify(IdentifyEvent), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | Ping(PingEvent), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | fn from(event: IdentifyEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identify` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | identify: Identify, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Identify`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 145 | identify: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Ping`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 147 | ping: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/rendezvous_point.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p::core::identity; [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/rendezvous_point.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libp2p::core::PeerId; [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/rendezvous_point.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p::identify::Identify; [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/rendezvous_point.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::identify::IdentifyConfig; [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/rendezvous_point.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::identify::IdentifyEvent; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> examples/register_with_identify.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> examples/discover.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-rendezvous` due to 35 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/rendezvous_point.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::ping::{Ping, PingEvent}; [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] --> tests/harness.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::core::muxing::StreamMuxerBox; [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] --> tests/harness.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::core::transport::upgrade::Version; [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] --> tests/harness.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::core::transport::MemoryTransport; [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] --> tests/harness.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::core::upgrade::SelectUpgrade; [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/rendezvous_point.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use libp2p::swarm::{Swarm, SwarmEvent}; [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] --> tests/harness.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use libp2p::core::{identity, Multiaddr, PeerId, Transport}; [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] --> tests/harness.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use libp2p::mplex::MplexConfig; [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] --> tests/harness.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p::noise::{Keypair, NoiseConfig, X25519Spec}; [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] --> tests/harness.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p::swarm::{AddressScore, NetworkBehaviour, Swarm, SwarmBuilder, SwarmEvent}; [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] --> tests/harness.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2p::yamux::YamuxConfig; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/rendezvous_point.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::ping; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/rendezvous_point.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use libp2p::NetworkBehaviour; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/rendezvous_point.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p::{development_transport, rendezvous}; [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/rendezvous_point.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | #[behaviour(event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | #[behaviour(out_event = "MyEvent")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identify` [INFO] [stdout] --> examples/rendezvous_point.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | identify: Identify::new(IdentifyConfig::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifyConfig` [INFO] [stdout] --> examples/rendezvous_point.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | identify: Identify::new(IdentifyConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IdentifyConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/rendezvous_point.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | ping: Ping::new(ping::Config::new().with_keep_alive(true)), [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/rendezvous_point.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | SwarmEvent::ConnectionEstablished { peer_id, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/rendezvous_point.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | SwarmEvent::ConnectionClosed { peer_id, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/rendezvous_point.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | SwarmEvent::Behaviour(MyEvent::Rendezvous( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/rendezvous_point.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | SwarmEvent::Behaviour(MyEvent::Rendezvous( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p::core::identity; [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/register.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libp2p::core::PeerId; [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/register.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p::ping::{Ping, PingConfig, PingEvent, PingSuccess}; [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/register.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::swarm::{Swarm, SwarmEvent}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/register.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::{development_transport, rendezvous}; [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 `identity` [INFO] [stdout] --> examples/rendezvous_point.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | let key = identity::ed25519::SecretKey::from_bytes(bytes).expect("we always pass 32 bytes"); [INFO] [stdout] | ^^^^^^^^^ not found in `identity::ed25519` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/register.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::{Multiaddr, NetworkBehaviour}; [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/register.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | #[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 crate or module `identity` [INFO] [stdout] --> examples/rendezvous_point.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | let identity = identity::Keypair::Ed25519(key.into()); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Swarm` [INFO] [stdout] --> examples/rendezvous_point.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut swarm = Swarm::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> examples/rendezvous_point.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | PeerId::from(identity.public()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | Ping(PingEvent), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | Identify(IdentifyEvent), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn from(event: IdentifyEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identify` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | identify: Identify, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Identify`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 133 | identify: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Ping`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 135 | ping: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/register.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[behaviour(event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/register.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[behaviour(out_event = "MyEvent")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/register.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | ping: Ping::new(PingConfig::new().with_interval(Duration::from_secs(1))), [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::core::muxing::StreamMuxerBox; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/register.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | ping: Ping::new(PingConfig::new().with_interval(Duration::from_secs(1))), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PingConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::core::transport::upgrade::Version; [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] --> tests/harness.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::core::transport::MemoryTransport; [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] --> tests/harness.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::core::upgrade::SelectUpgrade; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | SwarmEvent::NewListenAddr { address, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | SwarmEvent::ConnectionClosed { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use libp2p::core::{identity, Multiaddr, PeerId, Transport}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | SwarmEvent::ConnectionEstablished { peer_id, .. } if peer_id == rendezvous_point => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | SwarmEvent::Behaviour(MyEvent::Rendezvous(rendezvous::client::Event::Registered { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use libp2p::mplex::MplexConfig; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | SwarmEvent::Behaviour(MyEvent::Rendezvous( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p::noise::{Keypair, NoiseConfig, X25519Spec}; [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] --> tests/harness.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p::swarm::{AddressScore, NetworkBehaviour, Swarm, SwarmBuilder, SwarmEvent}; [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] --> tests/harness.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2p::yamux::YamuxConfig; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess` [INFO] [stdout] --> examples/register.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | 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 crate or module `identity` [INFO] [stdout] --> tests/harness.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | F: FnOnce(PeerId, identity::Keypair) -> B, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/rendezvous.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 369 | #[derive(libp2p::NetworkBehaviour)] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoiseConfig` [INFO] [stdout] --> tests/harness.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let noise = NoiseConfig::xx(dh_keys).into_authenticated(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `NoiseConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> examples/register.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Swarm` [INFO] [stdout] --> examples/register.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let mut swarm = Swarm::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> examples/register.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | PeerId::from(identity.public()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> tests/harness.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .upgrade(Version::V1) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/register.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | Ping(PingEvent), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/register.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Ping`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 137 | ping: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YamuxConfig` [INFO] [stdout] --> tests/harness.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | YamuxConfig::default(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `YamuxConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> examples/rendezvous_point.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MplexConfig` [INFO] [stdout] --> tests/harness.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | MplexConfig::new(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MplexConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | ::OutEvent: Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 1 warning emitted [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] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:162:15 [INFO] [stdout] | [INFO] [stdout] 162 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | SwarmEvent::ConnectionEstablished { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | SwarmEvent::ConnectionEstablished { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | SwarmEvent::IncomingConnectionError { error, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | SwarmEvent::NewListenAddr { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressScore` [INFO] [stdout] --> tests/harness.rs:228:54 [INFO] [stdout] | [INFO] [stdout] 228 | self.add_external_address(multiaddr.clone(), AddressScore::Infinite); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | B: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | B: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> tests/harness.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | F: FnOnce(PeerId, identity::Keypair) -> B, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new_swarm(behaviour_fn: F) -> Swarm [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> tests/harness.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> tests/harness.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let peer_id = PeerId::from(identity.public()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/harness.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let dh_keys = Keypair::::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X25519Spec` in this scope [INFO] [stdout] --> tests/harness.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new_swarm(behaviour_fn: F) -> Swarm [INFO] [stdout] | - help: you might be missing a type parameter: `, X25519Spec` [INFO] [stdout] ... [INFO] [stdout] 47 | let dh_keys = Keypair::::new() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryTransport` [INFO] [stdout] --> tests/harness.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let transport = MemoryTransport::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::transport::MemoryTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelectUpgrade` [INFO] [stdout] --> tests/harness.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | .multiplex(SelectUpgrade::new( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::upgrade::SelectUpgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamMuxerBox` [INFO] [stdout] --> tests/harness.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | .map(|(peer, muxer), _| (peer, StreamMuxerBox::new(muxer))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> tests/rendezvous.rs:370:3 [INFO] [stdout] | [INFO] [stdout] 370 | #[behaviour(event_process = false, out_event = "CombinedEvent")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmBuilder` [INFO] [stdout] --> tests/harness.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | SwarmBuilder::new(transport, behaviour_fn(peer_id, identity), peer_id) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_rand_memory_address() -> Multiaddr { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | .parse::() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 83 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | swarm: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 80 | swarm: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | ) -> SwarmEvent [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 81 | ) -> SwarmExt [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 100 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 101 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | swarm_1: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 | swarm_1: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | swarm_2: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 97 | swarm_2: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | ) -> (SwarmEvent, SwarmEvent) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | ) -> (SwarmExt, SwarmEvent) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | ) -> (SwarmEvent, SwarmEvent) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | ) -> (SwarmEvent, SwarmExt) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | T: NetworkBehaviour + Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:141:60 [INFO] [stdout] | [INFO] [stdout] 141 | async fn block_on_connection(&mut self, other: &mut Swarm) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:147:60 [INFO] [stdout] | [INFO] [stdout] 147 | async fn listen_on_random_memory_address(&mut self) -> Multiaddr; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | impl SwarmExt for Swarm [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | B: NetworkBehaviour + Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | T: NetworkBehaviour + Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:159:60 [INFO] [stdout] | [INFO] [stdout] 159 | async fn block_on_connection(&mut self, other: &mut Swarm) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:206:60 [INFO] [stdout] | [INFO] [stdout] 206 | async fn listen_on_random_memory_address(&mut self) -> Multiaddr { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> tests/harness.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | F: FnOnce(PeerId, identity::Keypair) -> B, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoiseConfig` [INFO] [stdout] --> tests/harness.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | let noise = NoiseConfig::xx(dh_keys).into_authenticated(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `NoiseConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Version` [INFO] [stdout] --> tests/harness.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .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 `YamuxConfig` [INFO] [stdout] --> tests/harness.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | YamuxConfig::default(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `YamuxConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MplexConfig` [INFO] [stdout] --> tests/harness.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | MplexConfig::new(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MplexConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> examples/register.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | ::OutEvent: Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:162:15 [INFO] [stdout] | [INFO] [stdout] 162 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | SwarmEvent::ConnectionEstablished { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | SwarmEvent::ConnectionEstablished { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | SwarmEvent::IncomingConnectionError { error, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | SwarmEvent::NewListenAddr { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressScore` [INFO] [stdout] --> tests/harness.rs:228:54 [INFO] [stdout] | [INFO] [stdout] 228 | self.add_external_address(multiaddr.clone(), AddressScore::Infinite); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / assert_behaviour_events! { [INFO] [stdout] 45 | | alice: rendezvous::client::Event::Registered { rendezvous_node, ttl, namespace: register_node_namespace }, [INFO] [stdout] 46 | | robert: rendezvous::server::Event::PeerRegistered { peer, registration }, [INFO] [stdout] 47 | | || { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / assert_behaviour_events! { [INFO] [stdout] 45 | | alice: rendezvous::client::Event::Registered { rendezvous_node, ttl, namespace: register_node_namespace }, [INFO] [stdout] 46 | | robert: rendezvous::server::Event::PeerRegistered { peer, registration }, [INFO] [stdout] 47 | | || { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / assert_behaviour_events! { [INFO] [stdout] 60 | | bob: rendezvous::client::Event::Discovered { registrations, .. }, [INFO] [stdout] 61 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 62 | | || { [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / assert_behaviour_events! { [INFO] [stdout] 60 | | bob: rendezvous::client::Event::Discovered { registrations, .. }, [INFO] [stdout] 61 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 62 | | || { [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / assert_behaviour_events! { [INFO] [stdout] 94 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 95 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 96 | | || { } [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / assert_behaviour_events! { [INFO] [stdout] 94 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 95 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 96 | | || { } [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / assert_behaviour_events! { [INFO] [stdout] 103 | | bob: rendezvous::client::Event::Discovered { .. }, [INFO] [stdout] 104 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 105 | | || { } [INFO] [stdout] 106 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / assert_behaviour_events! { [INFO] [stdout] 103 | | bob: rendezvous::client::Event::Discovered { .. }, [INFO] [stdout] 104 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 105 | | || { } [INFO] [stdout] 106 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / assert_behaviour_events! { [INFO] [stdout] 113 | | alice: rendezvous::client::Event::Registered { ttl, .. }, [INFO] [stdout] 114 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 115 | | || { [INFO] [stdout] 116 | | assert_eq!(ttl, refresh_ttl); [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / assert_behaviour_events! { [INFO] [stdout] 113 | | alice: rendezvous::client::Event::Registered { ttl, .. }, [INFO] [stdout] 114 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 115 | | || { [INFO] [stdout] 116 | | assert_eq!(ttl, refresh_ttl); [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / assert_behaviour_events! { [INFO] [stdout] 124 | | bob: rendezvous::client::Event::Discovered { registrations, .. }, [INFO] [stdout] 125 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 126 | | || { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / assert_behaviour_events! { [INFO] [stdout] 124 | | bob: rendezvous::client::Event::Discovered { registrations, .. }, [INFO] [stdout] 125 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 126 | | || { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / assert_behaviour_events! { [INFO] [stdout] 151 | | alice: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote {error , ..}), [INFO] [stdout] 152 | | robert: rendezvous::server::Event::PeerNotRegistered { .. }, [INFO] [stdout] 153 | | || { [INFO] [stdout] 154 | | assert_eq!(error, rendezvous::ErrorCode::InvalidTtl); [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / assert_behaviour_events! { [INFO] [stdout] 151 | | alice: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote {error , ..}), [INFO] [stdout] 152 | | robert: rendezvous::server::Event::PeerNotRegistered { .. }, [INFO] [stdout] 153 | | || { [INFO] [stdout] 154 | | assert_eq!(error, rendezvous::ErrorCode::InvalidTtl); [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | libp2p::swarm::SwarmEvent::Behaviour($pat) => $body, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / assert_behaviour_events! { [INFO] [stdout] 173 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 174 | | || { } [INFO] [stdout] 175 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | libp2p::swarm::SwarmEvent::Behaviour($pat) => $body, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / assert_behaviour_events! { [INFO] [stdout] 180 | | bob: rendezvous::client::Event::Discovered { registrations,.. }, [INFO] [stdout] 181 | | || { [INFO] [stdout] 182 | | assert!(!registrations.is_empty()); [INFO] [stdout] 183 | | } [INFO] [stdout] 184 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | / assert_behaviour_events! { [INFO] [stdout] 225 | | eve: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote { error: err_code , ..}), [INFO] [stdout] 226 | | robert: rendezvous::server::Event::PeerNotRegistered { .. }, [INFO] [stdout] 227 | | || { [INFO] [stdout] 228 | | assert_eq!(err_code, rendezvous::ErrorCode::NotAuthorized); [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | / assert_behaviour_events! { [INFO] [stdout] 225 | | eve: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote { error: err_code , ..}), [INFO] [stdout] 226 | | robert: rendezvous::server::Event::PeerNotRegistered { .. }, [INFO] [stdout] 227 | | || { [INFO] [stdout] 228 | | assert_eq!(err_code, rendezvous::ErrorCode::NotAuthorized); [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / assert_behaviour_events! { [INFO] [stdout] 250 | | charlie: CombinedEvent::Client(rendezvous::client::Event::Registered { .. }), [INFO] [stdout] 251 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 252 | | || { } [INFO] [stdout] 253 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / assert_behaviour_events! { [INFO] [stdout] 250 | | charlie: CombinedEvent::Client(rendezvous::client::Event::Registered { .. }), [INFO] [stdout] 251 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 252 | | || { } [INFO] [stdout] 253 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | / assert_behaviour_events! { [INFO] [stdout] 260 | | charlie: CombinedEvent::Server(rendezvous::server::Event::PeerRegistered { .. }), [INFO] [stdout] 261 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 262 | | || { } [INFO] [stdout] 263 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | / assert_behaviour_events! { [INFO] [stdout] 260 | | charlie: CombinedEvent::Server(rendezvous::server::Event::PeerRegistered { .. }), [INFO] [stdout] 261 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 262 | | || { } [INFO] [stdout] 263 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | libp2p::swarm::SwarmEvent::Behaviour($pat) => $body, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | / assert_behaviour_events! { [INFO] [stdout] 283 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 284 | | || { } [INFO] [stdout] 285 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | libp2p::swarm::SwarmEvent::Behaviour($pat) => $body, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / assert_behaviour_events! { [INFO] [stdout] 289 | | bob: rendezvous::client::Event::Discovered { registrations,.. }, [INFO] [stdout] 290 | | || { [INFO] [stdout] 291 | | assert!(!registrations.is_empty()); [INFO] [stdout] 292 | | } [INFO] [stdout] 293 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | B: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | B: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> tests/harness.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | F: FnOnce(PeerId, identity::Keypair) -> B, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new_swarm(behaviour_fn: F) -> Swarm [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Swarm; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> tests/harness.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> tests/harness.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let peer_id = PeerId::from(identity.public()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/harness.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let dh_keys = Keypair::::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X25519Spec` in this scope [INFO] [stdout] --> tests/harness.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new_swarm(behaviour_fn: F) -> Swarm [INFO] [stdout] | - help: you might be missing a type parameter: `, X25519Spec` [INFO] [stdout] ... [INFO] [stdout] 47 | let dh_keys = Keypair::::new() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryTransport` [INFO] [stdout] --> tests/harness.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let transport = MemoryTransport::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::transport::MemoryTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelectUpgrade` [INFO] [stdout] --> tests/harness.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | .multiplex(SelectUpgrade::new( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::upgrade::SelectUpgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamMuxerBox` [INFO] [stdout] --> tests/harness.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | .map(|(peer, muxer), _| (peer, StreamMuxerBox::new(muxer))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmBuilder` [INFO] [stdout] --> tests/harness.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | SwarmBuilder::new(transport, behaviour_fn(peer_id, identity), peer_id) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_rand_memory_address() -> Multiaddr { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | .parse::() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 83 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | swarm: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 80 | swarm: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | ) -> SwarmEvent [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 81 | ) -> SwarmExt [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 100 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 101 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | swarm_1: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 96 | swarm_1: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | swarm_2: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 97 | swarm_2: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | ) -> (SwarmEvent, SwarmEvent) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | ) -> (SwarmExt, SwarmEvent) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | ) -> (SwarmEvent, SwarmEvent) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub trait SwarmExt { [INFO] [stdout] | ------------------ similarly named trait `SwarmExt` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | ) -> (SwarmEvent, SwarmExt) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | T: NetworkBehaviour + Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:141:60 [INFO] [stdout] | [INFO] [stdout] 141 | async fn block_on_connection(&mut self, other: &mut Swarm) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Swarm; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:147:60 [INFO] [stdout] | [INFO] [stdout] 147 | async fn listen_on_random_memory_address(&mut self) -> Multiaddr; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | impl SwarmExt for Swarm [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Swarm; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | B: NetworkBehaviour + Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | T: NetworkBehaviour + Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:159:60 [INFO] [stdout] | [INFO] [stdout] 159 | async fn block_on_connection(&mut self, other: &mut Swarm) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Swarm; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:206:60 [INFO] [stdout] | [INFO] [stdout] 206 | async fn listen_on_random_memory_address(&mut self) -> Multiaddr { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9ccc49ea03268e1608c956b81959970bd4895f3c875ca5d432a07553b4f96660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccc49ea03268e1608c956b81959970bd4895f3c875ca5d432a07553b4f96660", kill_on_drop: false }` [INFO] [stdout] 9ccc49ea03268e1608c956b81959970bd4895f3c875ca5d432a07553b4f96660