[INFO] fetching crate libp2p-rendezvous 0.1.0-rc.1...
[INFO] checking libp2p-rendezvous-0.1.0-rc.1 against beta-2021-10-15 for beta-1.56-3
[INFO] extracting crate libp2p-rendezvous 0.1.0-rc.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate libp2p-rendezvous 0.1.0-rc.1 on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libp2p-rendezvous 0.1.0-rc.1
[INFO] finished tweaking crates.io crate libp2p-rendezvous 0.1.0-rc.1
[INFO] tweaked toml for crates.io crate libp2p-rendezvous 0.1.0-rc.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate libp2p-rendezvous 0.1.0-rc.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ce2c157bd18cf2431bcaf4a341f0df8c9b2c6b922d3f7a286e6389e697ab7405
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ce2c157bd18cf2431bcaf4a341f0df8c9b2c6b922d3f7a286e6389e697ab7405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ce2c157bd18cf2431bcaf4a341f0df8c9b2c6b922d3f7a286e6389e697ab7405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce2c157bd18cf2431bcaf4a341f0df8c9b2c6b922d3f7a286e6389e697ab7405", kill_on_drop: false }`
[INFO] [stdout] ce2c157bd18cf2431bcaf4a341f0df8c9b2c6b922d3f7a286e6389e697ab7405
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6bb7d16e9bb784a9c8f51c6575fa7a0df408c2750d20b80c09f7554b130c26fd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6bb7d16e9bb784a9c8f51c6575fa7a0df408c2750d20b80c09f7554b130c26fd", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling fixedbitset v0.4.0
[INFO] [stderr]     Checking asn1_der v0.7.5
[INFO] [stderr]     Checking bimap v0.6.1
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling tokio v1.12.0
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]    Compiling tokio-macros v1.5.0
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]     Checking multihash v0.14.0
[INFO] [stderr]     Checking multistream-select v0.10.2
[INFO] [stderr]    Compiling petgraph v0.6.0
[INFO] [stderr]     Checking multiaddr v0.13.0
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]    Compiling prost-types v0.9.0
[INFO] [stderr]    Compiling libp2p-core v0.30.0-rc.1
[INFO] [stderr]    Compiling libp2p-rendezvous v0.1.0-rc.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking libp2p-swarm v0.31.0-rc.1
[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;
[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:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | 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/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] 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[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/harness/mod.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/mod.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/mod.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/mod.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]   --> tests/harness/mod.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/mod.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/mod.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/mod.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/mod.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 crate or module `libp2p`
[INFO] [stdout]    --> tests/rendezvous.rs:370:10
[INFO] [stdout]     |
[INFO] [stdout] 370 | #[derive(libp2p::NetworkBehaviour)]
[INFO] [stdout]     |          ^^^^^^ use of undeclared crate or module `libp2p`
[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[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> examples/register_with_identify.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | 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:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | 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:142:10
[INFO] [stdout]     |
[INFO] [stdout] 142 | #[derive(NetworkBehaviour)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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: cannot find attribute `behaviour` in this scope
[INFO] [stdout]    --> tests/rendezvous.rs:371:3
[INFO] [stdout]     |
[INFO] [stdout] 371 | #[behaviour(event_process = false, out_event = "CombinedEvent")]
[INFO] [stdout]     |   ^^^^^^^^^
[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 `NetworkBehaviour`
[INFO] [stdout]   --> tests/harness/mod.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 |     <B as NetworkBehaviour>::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/mod.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 `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<PingEvent> for MyEvent {
[INFO] [stdout]     |     -     ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<PingEvent>`
[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[E0433]: failed to resolve: use of undeclared type `NoiseConfig`
[INFO] [stdout]   --> tests/harness/mod.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 type `Version`
[INFO] [stdout]   --> tests/harness/mod.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: cannot find attribute `behaviour` in this scope
[INFO] [stdout]    --> examples/register_with_identify.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/register_with_identify.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 `YamuxConfig`
[INFO] [stdout]   --> tests/harness/mod.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/mod.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 `Identify`
[INFO] [stdout]   --> examples/register_with_identify.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |             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:46:37
[INFO] [stdout]    |
[INFO] [stdout] 46 |             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:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |             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 `NetworkBehaviour`
[INFO] [stdout]    --> tests/harness/mod.rs:144:15
[INFO] [stdout]     |
[INFO] [stdout] 144 |         <T as NetworkBehaviour>::OutEvent: Debug;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig`
[INFO] [stdout]   --> examples/register_with_identify.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 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:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |             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:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             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:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             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:79:53
[INFO] [stdout]    |
[INFO] [stdout] 79 |             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:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             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:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             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:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |             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 `NetworkBehaviour`
[INFO] [stdout]    --> tests/harness/mod.rs:157:11
[INFO] [stdout]     |
[INFO] [stdout] 157 |     <B as NetworkBehaviour>::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/mod.rs:162:15
[INFO] [stdout]     |
[INFO] [stdout] 162 |         <T as NetworkBehaviour>::OutEvent: Debug,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess`
[INFO] [stdout]    --> examples/register_with_identify.rs:106:28
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 result: Ok(PingSuccess::Ping { rtt }),
[INFO] [stdout]     |                            ^^^^^^^^^^^ use of undeclared type `PingSuccess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent`
[INFO] [stdout]    --> tests/harness/mod.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/mod.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/mod.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/mod.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/mod.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/mod.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:45:5
[INFO] [stdout]     |
[INFO] [stdout] 45  | /     assert_behaviour_events! {
[INFO] [stdout] 46  | |         alice: rendezvous::client::Event::Registered { rendezvous_node, ttl, namespace: register_node_namespace },
[INFO] [stdout] 47  | |         robert: rendezvous::server::Event::PeerRegistered { peer, registration },
[INFO] [stdout] 48  | |         || {
[INFO] [stdout] ...   |
[INFO] [stdout] 54  | |         }
[INFO] [stdout] 55  | |     };
[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/mod.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:45:5
[INFO] [stdout]     |
[INFO] [stdout] 45  | /     assert_behaviour_events! {
[INFO] [stdout] 46  | |         alice: rendezvous::client::Event::Registered { rendezvous_node, ttl, namespace: register_node_namespace },
[INFO] [stdout] 47  | |         robert: rendezvous::server::Event::PeerRegistered { peer, registration },
[INFO] [stdout] 48  | |         || {
[INFO] [stdout] ...   |
[INFO] [stdout] 54  | |         }
[INFO] [stdout] 55  | |     };
[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/mod.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:60:5
[INFO] [stdout]     |
[INFO] [stdout] 60  | /     assert_behaviour_events! {
[INFO] [stdout] 61  | |         bob: rendezvous::client::Event::Discovered { registrations, .. },
[INFO] [stdout] 62  | |         robert: rendezvous::server::Event::DiscoverServed { .. },
[INFO] [stdout] 63  | |         || {
[INFO] [stdout] ...   |
[INFO] [stdout] 76  | |         }
[INFO] [stdout] 77  | |     };
[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/mod.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:60:5
[INFO] [stdout]     |
[INFO] [stdout] 60  | /     assert_behaviour_events! {
[INFO] [stdout] 61  | |         bob: rendezvous::client::Event::Discovered { registrations, .. },
[INFO] [stdout] 62  | |         robert: rendezvous::server::Event::DiscoverServed { .. },
[INFO] [stdout] 63  | |         || {
[INFO] [stdout] ...   |
[INFO] [stdout] 76  | |         }
[INFO] [stdout] 77  | |     };
[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/mod.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:94:5
[INFO] [stdout]     |
[INFO] [stdout] 94  | /     assert_behaviour_events! {
[INFO] [stdout] 95  | |         alice: rendezvous::client::Event::Registered { .. },
[INFO] [stdout] 96  | |         robert: rendezvous::server::Event::PeerRegistered { .. },
[INFO] [stdout] 97  | |         || { }
[INFO] [stdout] 98  | |     };
[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/mod.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:94:5
[INFO] [stdout]     |
[INFO] [stdout] 94  | /     assert_behaviour_events! {
[INFO] [stdout] 95  | |         alice: rendezvous::client::Event::Registered { .. },
[INFO] [stdout] 96  | |         robert: rendezvous::server::Event::PeerRegistered { .. },
[INFO] [stdout] 97  | |         || { }
[INFO] [stdout] 98  | |     };
[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/mod.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:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | /     assert_behaviour_events! {
[INFO] [stdout] 104 | |         bob: rendezvous::client::Event::Discovered { .. },
[INFO] [stdout] 105 | |         robert: rendezvous::server::Event::DiscoverServed { .. },
[INFO] [stdout] 106 | |         || { }
[INFO] [stdout] 107 | |     };
[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/mod.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:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | /     assert_behaviour_events! {
[INFO] [stdout] 104 | |         bob: rendezvous::client::Event::Discovered { .. },
[INFO] [stdout] 105 | |         robert: rendezvous::server::Event::DiscoverServed { .. },
[INFO] [stdout] 106 | |         || { }
[INFO] [stdout] 107 | |     };
[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/mod.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:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | /     assert_behaviour_events! {
[INFO] [stdout] 114 | |         alice: rendezvous::client::Event::Registered { ttl, .. },
[INFO] [stdout] 115 | |         robert: rendezvous::server::Event::PeerRegistered { .. },
[INFO] [stdout] 116 | |         || {
[INFO] [stdout] 117 | |             assert_eq!(ttl, refresh_ttl);
[INFO] [stdout] 118 | |         }
[INFO] [stdout] 119 | |     };
[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/mod.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:113:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | /     assert_behaviour_events! {
[INFO] [stdout] 114 | |         alice: rendezvous::client::Event::Registered { ttl, .. },
[INFO] [stdout] 115 | |         robert: rendezvous::server::Event::PeerRegistered { .. },
[INFO] [stdout] 116 | |         || {
[INFO] [stdout] 117 | |             assert_eq!(ttl, refresh_ttl);
[INFO] [stdout] 118 | |         }
[INFO] [stdout] 119 | |     };
[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/mod.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:124:5
[INFO] [stdout]     |
[INFO] [stdout] 124 | /     assert_behaviour_events! {
[INFO] [stdout] 125 | |         bob: rendezvous::client::Event::Discovered { registrations, .. },
[INFO] [stdout] 126 | |         robert: rendezvous::server::Event::DiscoverServed { .. },
[INFO] [stdout] 127 | |         || {
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         }
[INFO] [stdout] 135 | |     };
[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/mod.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:124:5
[INFO] [stdout]     |
[INFO] [stdout] 124 | /     assert_behaviour_events! {
[INFO] [stdout] 125 | |         bob: rendezvous::client::Event::Discovered { registrations, .. },
[INFO] [stdout] 126 | |         robert: rendezvous::server::Event::DiscoverServed { .. },
[INFO] [stdout] 127 | |         || {
[INFO] [stdout] ...   |
[INFO] [stdout] 134 | |         }
[INFO] [stdout] 135 | |     };
[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/mod.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:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 | /     assert_behaviour_events! {
[INFO] [stdout] 152 | |         alice: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote {error , ..}),
[INFO] [stdout] 153 | |         robert: rendezvous::server::Event::PeerNotRegistered { .. },
[INFO] [stdout] 154 | |         || {
[INFO] [stdout] 155 | |             assert_eq!(error, rendezvous::ErrorCode::InvalidTtl);
[INFO] [stdout] 156 | |         }
[INFO] [stdout] 157 | |     };
[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/mod.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:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 | /     assert_behaviour_events! {
[INFO] [stdout] 152 | |         alice: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote {error , ..}),
[INFO] [stdout] 153 | |         robert: rendezvous::server::Event::PeerNotRegistered { .. },
[INFO] [stdout] 154 | |         || {
[INFO] [stdout] 155 | |             assert_eq!(error, rendezvous::ErrorCode::InvalidTtl);
[INFO] [stdout] 156 | |         }
[INFO] [stdout] 157 | |     };
[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/mod.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:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 | /     assert_behaviour_events! {
[INFO] [stdout] 174 | |         alice: rendezvous::client::Event::Registered { .. },
[INFO] [stdout] 175 | |         || { }
[INFO] [stdout] 176 | |     };
[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/mod.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:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 | /     assert_behaviour_events! {
[INFO] [stdout] 181 | |         bob: rendezvous::client::Event::Discovered { registrations,.. },
[INFO] [stdout] 182 | |         || {
[INFO] [stdout] 183 | |             assert!(!registrations.is_empty());
[INFO] [stdout] 184 | |         }
[INFO] [stdout] 185 | |     };
[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/mod.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:225:5
[INFO] [stdout]     |
[INFO] [stdout] 225 | /     assert_behaviour_events! {
[INFO] [stdout] 226 | |         eve: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote { error: err_code , ..}),
[INFO] [stdout] 227 | |         robert: rendezvous::server::Event::PeerNotRegistered { .. },
[INFO] [stdout] 228 | |         || {
[INFO] [stdout] 229 | |             assert_eq!(err_code, rendezvous::ErrorCode::NotAuthorized);
[INFO] [stdout] 230 | |         }
[INFO] [stdout] 231 | |     };
[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/mod.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:225:5
[INFO] [stdout]     |
[INFO] [stdout] 225 | /     assert_behaviour_events! {
[INFO] [stdout] 226 | |         eve: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote { error: err_code , ..}),
[INFO] [stdout] 227 | |         robert: rendezvous::server::Event::PeerNotRegistered { .. },
[INFO] [stdout] 228 | |         || {
[INFO] [stdout] 229 | |             assert_eq!(err_code, rendezvous::ErrorCode::NotAuthorized);
[INFO] [stdout] 230 | |         }
[INFO] [stdout] 231 | |     };
[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/mod.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:250:5
[INFO] [stdout]     |
[INFO] [stdout] 250 | /     assert_behaviour_events! {
[INFO] [stdout] 251 | |         charlie: CombinedEvent::Client(rendezvous::client::Event::Registered { .. }),
[INFO] [stdout] 252 | |         robert: rendezvous::server::Event::PeerRegistered { .. },
[INFO] [stdout] 253 | |         || { }
[INFO] [stdout] 254 | |     };
[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/mod.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:250:5
[INFO] [stdout]     |
[INFO] [stdout] 250 | /     assert_behaviour_events! {
[INFO] [stdout] 251 | |         charlie: CombinedEvent::Client(rendezvous::client::Event::Registered { .. }),
[INFO] [stdout] 252 | |         robert: rendezvous::server::Event::PeerRegistered { .. },
[INFO] [stdout] 253 | |         || { }
[INFO] [stdout] 254 | |     };
[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/mod.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:260:5
[INFO] [stdout]     |
[INFO] [stdout] 260 | /     assert_behaviour_events! {
[INFO] [stdout] 261 | |         charlie: CombinedEvent::Server(rendezvous::server::Event::PeerRegistered { .. }),
[INFO] [stdout] 262 | |         alice: rendezvous::client::Event::Registered { .. },
[INFO] [stdout] 263 | |         || { }
[INFO] [stdout] 264 | |     };
[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/mod.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:260:5
[INFO] [stdout]     |
[INFO] [stdout] 260 | /     assert_behaviour_events! {
[INFO] [stdout] 261 | |         charlie: CombinedEvent::Server(rendezvous::server::Event::PeerRegistered { .. }),
[INFO] [stdout] 262 | |         alice: rendezvous::client::Event::Registered { .. },
[INFO] [stdout] 263 | |         || { }
[INFO] [stdout] 264 | |     };
[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/mod.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:283:5
[INFO] [stdout]     |
[INFO] [stdout] 283 | /     assert_behaviour_events! {
[INFO] [stdout] 284 | |         alice: rendezvous::client::Event::Registered { .. },
[INFO] [stdout] 285 | |         || { }
[INFO] [stdout] 286 | |     };
[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/mod.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:289:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | /     assert_behaviour_events! {
[INFO] [stdout] 290 | |         bob: rendezvous::client::Event::Discovered { registrations,.. },
[INFO] [stdout] 291 | |         || {
[INFO] [stdout] 292 | |             assert!(!registrations.is_empty());
[INFO] [stdout] 293 | |         }
[INFO] [stdout] 294 | |     };
[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/mod.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/mod.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/mod.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/mod.rs:37:44
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn new_swarm<B, F>(behaviour_fn: F) -> Swarm<B>
[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/mod.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/mod.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/mod.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let dh_keys = Keypair::<X25519Spec>::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/mod.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn new_swarm<B, F>(behaviour_fn: F) -> Swarm<B>
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `, X25519Spec`
[INFO] [stdout] ...
[INFO] [stdout] 47 |     let dh_keys = Keypair::<X25519Spec>::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/mod.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/mod.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/mod.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/mod.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/mod.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/mod.rs:73:18
[INFO] [stdout]    |
[INFO] [stdout] 73 |         .parse::<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 `SwarmEvent` in this scope
[INFO] [stdout]    --> tests/harness/mod.rs:83:5
[INFO] [stdout]     |
[INFO] [stdout] 83  |     SwarmEvent<Event, Error>: 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<Event, Error>: 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/mod.rs:80:37
[INFO] [stdout]     |
[INFO] [stdout] 80  |     swarm: &mut (impl Stream<Item = SwarmEvent<Event, Error>> + 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<Item = SwarmExt<Event, Error>> + 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/mod.rs:81:6
[INFO] [stdout]     |
[INFO] [stdout] 81  | ) -> SwarmEvent<Event, Error>
[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<Event, Error>
[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/mod.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 100 |     SwarmEvent<Event1, Error1>: 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<Event1, Error1>: 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/mod.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 101 |     SwarmEvent<Event2, Error2>: 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<Event2, Error2>: 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/mod.rs:96:39
[INFO] [stdout]     |
[INFO] [stdout] 96  |     swarm_1: &mut (impl Stream<Item = SwarmEvent<Event1, Error1>> + 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<Item = SwarmExt<Event1, Error1>> + 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/mod.rs:97:39
[INFO] [stdout]     |
[INFO] [stdout] 97  |     swarm_2: &mut (impl Stream<Item = SwarmEvent<Event2, Error2>> + 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<Item = SwarmExt<Event2, Error2>> + 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/mod.rs:98:7
[INFO] [stdout]     |
[INFO] [stdout] 98  | ) -> (SwarmEvent<Event1, Error1>, SwarmEvent<Event2, Error2>)
[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<Event1, Error1>, SwarmEvent<Event2, Error2>)
[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/mod.rs:98:35
[INFO] [stdout]     |
[INFO] [stdout] 98  | ) -> (SwarmEvent<Event1, Error1>, SwarmEvent<Event2, Error2>)
[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<Event1, Error1>, SwarmExt<Event2, Error2>)
[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/mod.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 |         T: 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 `Swarm` in this scope
[INFO] [stdout]    --> tests/harness/mod.rs:141:60
[INFO] [stdout]     |
[INFO] [stdout] 141 |     async fn block_on_connection<T>(&mut self, other: &mut Swarm<T>)
[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/mod.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/mod.rs:154:22
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl<B> SwarmExt for Swarm<B>
[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/mod.rs:156:8
[INFO] [stdout]     |
[INFO] [stdout] 156 |     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/mod.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |         T: 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 `Swarm` in this scope
[INFO] [stdout]    --> tests/harness/mod.rs:159:60
[INFO] [stdout]     |
[INFO] [stdout] 159 |     async fn block_on_connection<T>(&mut self, other: &mut Swarm<T>)
[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/mod.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 crate or module `identity`
[INFO] [stdout]   --> examples/register_with_identify.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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:43:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |     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:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         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:104:49
[INFO] [stdout]     |
[INFO] [stdout] 104 |             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:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |     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:121:10
[INFO] [stdout]     |
[INFO] [stdout] 121 |     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:130:11
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl From<IdentifyEvent> for MyEvent {
[INFO] [stdout]     |     -     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<IdentifyEvent>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope
[INFO] [stdout]    --> examples/register_with_identify.rs:131:20
[INFO] [stdout]     |
[INFO] [stdout] 131 |     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:136:11
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl From<PingEvent> for MyEvent {
[INFO] [stdout]     |     -     ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<PingEvent>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope
[INFO] [stdout]    --> examples/register_with_identify.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 `Identify` in this scope
[INFO] [stdout]    --> examples/register_with_identify.rs:146:15
[INFO] [stdout]     |
[INFO] [stdout] 146 |     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] 146 |     identify: crate::MyEvent,
[INFO] [stdout]     |               ~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 80 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope
[INFO] [stdout]    --> examples/register_with_identify.rs:148:11
[INFO] [stdout]     |
[INFO] [stdout] 148 |     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] 148 |     ping: crate::MyEvent,
[INFO] [stdout]     |           ~~~~~~~~~~~~~~
[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: could not compile `libp2p-rendezvous` due to 81 previous errors
[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]   --> 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[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] 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 35 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: 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 `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[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<PingEvent> for MyEvent {
[INFO] [stdout]     |     -     ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<PingEvent>`
[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<IdentifyEvent> for MyEvent {
[INFO] [stdout]     |     -     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<IdentifyEvent>`
[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[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;
[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: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[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> examples/register.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.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.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 | #[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/register.rs:134:3
[INFO] [stdout]     |
[INFO] [stdout] 134 | #[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:135:3
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[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:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |             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 type `PingConfig`
[INFO] [stdout]   --> examples/register.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |             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 type `SwarmEvent`
[INFO] [stdout]   --> examples/register.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             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.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |             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.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |             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:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |             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.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |             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:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             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.rs:104:28
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 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.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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:43:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |     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:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         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.rs:102:49
[INFO] [stdout]     |
[INFO] [stdout] 102 |             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:118:10
[INFO] [stdout]     |
[INFO] [stdout] 118 |     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:127:11
[INFO] [stdout]     |
[INFO] [stdout] 127 | impl From<PingEvent> for MyEvent {
[INFO] [stdout]     |     -     ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: you might be missing a type parameter: `<PingEvent>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope
[INFO] [stdout]    --> examples/register.rs:128:20
[INFO] [stdout]     |
[INFO] [stdout] 128 |     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:138:11
[INFO] [stdout]     |
[INFO] [stdout] 138 |     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] 138 |     ping: crate::MyEvent,
[INFO] [stdout]     |           ~~~~~~~~~~~~~~
[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: 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] 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 27 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[E0599]: no method named `poll` found for struct `Pin<&mut _>` in the current scope
[INFO] [stdout]    --> examples/discover.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout] 64  | /         tokio::select! {
[INFO] [stdout] 65  | |                 event = swarm.select_next_some() => match event {
[INFO] [stdout] 66  | |                     SwarmEvent::ConnectionEstablished { peer_id, .. } if peer_id == rendezvous_point => {
[INFO] [stdout] 67  | |                         log::info!(
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |                     )
[INFO] [stdout] 120 | |         }
[INFO] [stdout]     | |_________^ method not found in `Pin<&mut _>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `fut` is a function, perhaps you wish to call it
[INFO] [stdout]     = note: this error originates in the macro `$crate::select` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<_>` in the current scope
[INFO] [stdout]    --> examples/discover.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout] 64  | /         tokio::select! {
[INFO] [stdout] 65  | |                 event = swarm.select_next_some() => match event {
[INFO] [stdout] 66  | |                     SwarmEvent::ConnectionEstablished { peer_id, .. } if peer_id == rendezvous_point => {
[INFO] [stdout] 67  | |                         log::info!(
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |                     )
[INFO] [stdout] 120 | |         }
[INFO] [stdout]     | |_________^ method not found in `Pin<_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `fut` is a function, perhaps you wish to call it
[INFO] [stdout]     = note: this error originates in the macro `$crate::select` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[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 26 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "6bb7d16e9bb784a9c8f51c6575fa7a0df408c2750d20b80c09f7554b130c26fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bb7d16e9bb784a9c8f51c6575fa7a0df408c2750d20b80c09f7554b130c26fd", kill_on_drop: false }`
[INFO] [stdout] 6bb7d16e9bb784a9c8f51c6575fa7a0df408c2750d20b80c09f7554b130c26fd
