[INFO] fetching crate libp2p-rendezvous 0.2.0... [INFO] building libp2p-rendezvous-0.2.0 against try#2cd6942e35a7765b6869d3a149ca54f2598b77ad for pr-93180 [INFO] extracting crate libp2p-rendezvous 0.2.0 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate libp2p-rendezvous 0.2.0 on toolchain 2cd6942e35a7765b6869d3a149ca54f2598b77ad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-rendezvous 0.2.0 [INFO] finished tweaking crates.io crate libp2p-rendezvous 0.2.0 [INFO] tweaked toml for crates.io crate libp2p-rendezvous 0.2.0 written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate crates.io crate libp2p-rendezvous 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bimap v0.6.1 [INFO] [stderr] Downloaded tokio-macros v1.6.0 [INFO] [stderr] Downloaded async-trait v0.1.51 [INFO] [stderr] Downloaded tokio v1.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 145727dc33365ee6c5a984fbdc1c5637f93dd067079d268b2de7602ef0ff1eed [INFO] running `Command { std: "docker" "start" "-a" "145727dc33365ee6c5a984fbdc1c5637f93dd067079d268b2de7602ef0ff1eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "145727dc33365ee6c5a984fbdc1c5637f93dd067079d268b2de7602ef0ff1eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145727dc33365ee6c5a984fbdc1c5637f93dd067079d268b2de7602ef0ff1eed", kill_on_drop: false }` [INFO] [stdout] 145727dc33365ee6c5a984fbdc1c5637f93dd067079d268b2de7602ef0ff1eed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7789474effb5ce06de9da53dba6d011cb93c22b8bcdf3acb722e73cf270dca8 [INFO] running `Command { std: "docker" "start" "-a" "a7789474effb5ce06de9da53dba6d011cb93c22b8bcdf3acb722e73cf270dca8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling asn1_der v0.7.5 [INFO] [stderr] Compiling bimap v0.6.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ed25519 v1.2.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling asynchronous-codec v0.6.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multihash v0.14.0 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling multiaddr v0.13.0 [INFO] [stderr] Compiling libp2p-core v0.30.0 [INFO] [stderr] Compiling libp2p-rendezvous v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libp2p-swarm v0.32.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.44s [INFO] running `Command { std: "docker" "inspect" "a7789474effb5ce06de9da53dba6d011cb93c22b8bcdf3acb722e73cf270dca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7789474effb5ce06de9da53dba6d011cb93c22b8bcdf3acb722e73cf270dca8", kill_on_drop: false }` [INFO] [stdout] a7789474effb5ce06de9da53dba6d011cb93c22b8bcdf3acb722e73cf270dca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+2cd6942e35a7765b6869d3a149ca54f2598b77ad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c1095c16a09880a952c502a55948ff59c35e8ef11386978e453827c09a50cd1 [INFO] running `Command { std: "docker" "start" "-a" "8c1095c16a09880a952c502a55948ff59c35e8ef11386978e453827c09a50cd1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling multistream-select v0.10.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling libp2p-core v0.30.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling libp2p-swarm v0.32.0 [INFO] [stderr] Compiling libp2p-rendezvous v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p::core::identity; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libp2p::core::PeerId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p::identify::{Identify, IdentifyConfig, IdentifyEvent}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::ping::{Ping, PingConfig, PingEvent, PingSuccess}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::swarm::{Swarm, SwarmEvent}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::core::muxing::StreamMuxerBox; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::core::transport::upgrade::Version; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::core::transport::MemoryTransport; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::core::upgrade::SelectUpgrade; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use libp2p::core::{identity, Multiaddr, PeerId, Transport}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use libp2p::mplex::MplexConfig; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p::noise::{Keypair, NoiseConfig, X25519Spec}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p::swarm::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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] --> 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/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/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[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.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p::core::identity; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libp2p::core::PeerId; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p::ping::{Ping, PingConfig, PingEvent, PingSuccess}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/register.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::swarm::{Swarm, SwarmEvent}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> tests/harness.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | F: FnOnce(PeerId, identity::Keypair) -> B, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `identity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoiseConfig` [INFO] [stdout] --> tests/harness.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | 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.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | .upgrade(Version::V1) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YamuxConfig` [INFO] [stdout] --> tests/harness.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | YamuxConfig::default(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `YamuxConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MplexConfig` [INFO] [stdout] --> tests/harness.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | MplexConfig::new(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MplexConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | ::OutEvent: Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | SwarmEvent::ConnectionEstablished { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | SwarmEvent::ConnectionEstablished { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | SwarmEvent::IncomingConnectionError { error, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::core::muxing::StreamMuxerBox; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::core::transport::upgrade::Version; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::core::transport::MemoryTransport; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::core::upgrade::SelectUpgrade; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use libp2p::core::{identity, Multiaddr, PeerId, Transport}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use libp2p::mplex::MplexConfig; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p::noise::{Keypair, NoiseConfig, X25519Spec}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p::swarm::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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:369:10 [INFO] [stdout] | [INFO] [stdout] 369 | #[derive(libp2p::NetworkBehaviour)] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | SwarmEvent::NewListenAddr { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressScore` [INFO] [stdout] --> tests/harness.rs:230:54 [INFO] [stdout] | [INFO] [stdout] 230 | self.add_external_address(multiaddr.clone(), AddressScore::Infinite); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `AddressScore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs: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[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | B: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> tests/harness.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | F: FnOnce(PeerId, identity::Keypair) -> B, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new_swarm(behaviour_fn: F) -> Swarm [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> tests/harness.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> tests/harness.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let peer_id = PeerId::from(identity.public()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/harness.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let dh_keys = Keypair::::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X25519Spec` in this scope [INFO] [stdout] --> tests/harness.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new_swarm(behaviour_fn: F) -> Swarm [INFO] [stdout] | - help: you might be missing a type parameter: `, X25519Spec` [INFO] [stdout] ... [INFO] [stdout] 49 | let dh_keys = Keypair::::new() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryTransport` [INFO] [stdout] --> tests/harness.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let transport = MemoryTransport::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::transport::MemoryTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelectUpgrade` [INFO] [stdout] --> tests/harness.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | .multiplex(SelectUpgrade::new( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::upgrade::SelectUpgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamMuxerBox` [INFO] [stdout] --> tests/harness.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|(peer, muxer), _| (peer, StreamMuxerBox::new(muxer))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmBuilder` [INFO] [stdout] --> tests/harness.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | SwarmBuilder::new(transport, behaviour_fn(peer_id, identity), peer_id) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_rand_memory_address() -> Multiaddr { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | .parse::() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 85 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | swarm: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 82 | swarm: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | ) -> SwarmEvent [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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 [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 102 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 103 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | swarm_1: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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 | swarm_1: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | swarm_2: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 99 | swarm_2: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> (SwarmEvent, SwarmEvent) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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, SwarmEvent) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> (SwarmEvent, SwarmEvent) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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 | ) -> (SwarmEvent, SwarmExt) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | 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.rs:143:60 [INFO] [stdout] | [INFO] [stdout] 143 | async fn block_on_connection(&mut self, other: &mut Swarm) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | async fn listen_on_random_memory_address(&mut self) -> Multiaddr; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | impl SwarmExt for Swarm [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | B: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | 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.rs:161:60 [INFO] [stdout] | [INFO] [stdout] 161 | async fn block_on_connection(&mut self, other: &mut Swarm) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:208:60 [INFO] [stdout] | [INFO] [stdout] 208 | async fn listen_on_random_memory_address(&mut self) -> Multiaddr { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> tests/rendezvous.rs:370:3 [INFO] [stdout] | [INFO] [stdout] 370 | #[behaviour(event_process = false, out_event = "CombinedEvent")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-rendezvous` due to 55 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/register.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::{development_transport, rendezvous}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/register.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::{Multiaddr, NetworkBehaviour}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> examples/register.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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/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[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> tests/harness.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | F: FnOnce(PeerId, identity::Keypair) -> B, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `identity` [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[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::{development_transport, rendezvous}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/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[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/discover.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(libp2p::NetworkBehaviour)] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/register_with_identify.rs: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[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: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> examples/register_with_identify.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/rendezvous_point.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p::{development_transport, rendezvous}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> examples/rendezvous_point.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoiseConfig` [INFO] [stdout] --> tests/harness.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | 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.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | .upgrade(Version::V1) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YamuxConfig` [INFO] [stdout] --> tests/harness.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | YamuxConfig::default(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `YamuxConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MplexConfig` [INFO] [stdout] --> tests/harness.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | MplexConfig::new(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MplexConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/register.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[behaviour(event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/register.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[behaviour(out_event = "MyEvent")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/register.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | ping: Ping::new(PingConfig::new().with_interval(Duration::from_secs(1))), [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | ::OutEvent: Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [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: 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[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/register.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | ping: Ping::new(PingConfig::new().with_interval(Duration::from_secs(1))), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PingConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[behaviour(event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/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 `SwarmEvent` [INFO] [stdout] --> examples/register.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | SwarmEvent::NewListenAddr { address, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | SwarmEvent::ConnectionClosed { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | SwarmEvent::ConnectionEstablished { peer_id, .. } if peer_id == rendezvous_point => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | SwarmEvent::Behaviour(MyEvent::Rendezvous(rendezvous::client::Event::Registered { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | SwarmEvent::Behaviour(MyEvent::Rendezvous( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[behaviour(out_event = "MyEvent")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess` [INFO] [stdout] --> examples/register.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | result: Ok(PingSuccess::Ping { rtt }), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PingSuccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | ::OutEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `NetworkBehaviour` [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 `NetworkBehaviour` [INFO] [stdout] --> tests/harness.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | ::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/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] --> tests/harness.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | SwarmEvent::ConnectionEstablished { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | SwarmEvent::ConnectionEstablished { .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | 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 `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 `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 `Identify` [INFO] [stdout] --> examples/register_with_identify.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | identify: Identify::new(IdentifyConfig::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `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 `SwarmEvent` [INFO] [stdout] --> tests/harness.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | SwarmEvent::NewListenAddr { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddressScore` [INFO] [stdout] --> tests/harness.rs:230:54 [INFO] [stdout] | [INFO] [stdout] 230 | 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 type `IdentifyConfig` [INFO] [stdout] --> examples/register_with_identify.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | identify: Identify::new(IdentifyConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `IdentifyConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> examples/register.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / assert_behaviour_events! { [INFO] [stdout] 45 | | alice: rendezvous::client::Event::Registered { rendezvous_node, ttl, namespace: register_node_namespace }, [INFO] [stdout] 46 | | robert: rendezvous::server::Event::PeerRegistered { peer, registration }, [INFO] [stdout] 47 | | || { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / assert_behaviour_events! { [INFO] [stdout] 45 | | alice: rendezvous::client::Event::Registered { rendezvous_node, ttl, namespace: register_node_namespace }, [INFO] [stdout] 46 | | robert: rendezvous::server::Event::PeerRegistered { peer, registration }, [INFO] [stdout] 47 | | || { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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 `Swarm` [INFO] [stdout] --> examples/register.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let mut swarm = Swarm::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess` [INFO] [stdout] --> examples/discover.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | result: Ok(PingSuccess::Ping { rtt }), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PingSuccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> examples/register.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | PeerId::from(identity.public()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/register_with_identify.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | ping: Ping::new( [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/register.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / assert_behaviour_events! { [INFO] [stdout] 60 | | bob: rendezvous::client::Event::Discovered { registrations, .. }, [INFO] [stdout] 61 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 62 | | || { [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | Ping(PingEvent), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / assert_behaviour_events! { [INFO] [stdout] 60 | | bob: rendezvous::client::Event::Discovered { registrations, .. }, [INFO] [stdout] 61 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 62 | | || { [INFO] [stdout] ... | [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/register.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Ping`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 137 | ping: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / assert_behaviour_events! { [INFO] [stdout] 94 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 95 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 96 | | || { } [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared 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 crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / assert_behaviour_events! { [INFO] [stdout] 94 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 95 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 96 | | || { } [INFO] [stdout] 97 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/rendezvous_point.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | SwarmEvent::Behaviour(MyEvent::Rendezvous( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/rendezvous_point.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | SwarmEvent::Behaviour(MyEvent::Rendezvous( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / assert_behaviour_events! { [INFO] [stdout] 103 | | bob: rendezvous::client::Event::Discovered { .. }, [INFO] [stdout] 104 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 105 | | || { } [INFO] [stdout] 106 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / assert_behaviour_events! { [INFO] [stdout] 103 | | bob: rendezvous::client::Event::Discovered { .. }, [INFO] [stdout] 104 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 105 | | || { } [INFO] [stdout] 106 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / assert_behaviour_events! { [INFO] [stdout] 113 | | alice: rendezvous::client::Event::Registered { ttl, .. }, [INFO] [stdout] 114 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 115 | | || { [INFO] [stdout] 116 | | assert_eq!(ttl, refresh_ttl); [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/register_with_identify.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | PingConfig::new() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PingConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / assert_behaviour_events! { [INFO] [stdout] 113 | | alice: rendezvous::client::Event::Registered { ttl, .. }, [INFO] [stdout] 114 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 115 | | || { [INFO] [stdout] 116 | | assert_eq!(ttl, refresh_ttl); [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / assert_behaviour_events! { [INFO] [stdout] 124 | | bob: rendezvous::client::Event::Discovered { registrations, .. }, [INFO] [stdout] 125 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 126 | | || { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / assert_behaviour_events! { [INFO] [stdout] 124 | | bob: rendezvous::client::Event::Discovered { registrations, .. }, [INFO] [stdout] 125 | | robert: rendezvous::server::Event::DiscoverServed { .. }, [INFO] [stdout] 126 | | || { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | SwarmEvent::NewListenAddr { address, .. } => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / assert_behaviour_events! { [INFO] [stdout] 151 | | alice: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote {error , ..}), [INFO] [stdout] 152 | | robert: rendezvous::server::Event::PeerNotRegistered { .. }, [INFO] [stdout] 153 | | || { [INFO] [stdout] 154 | | assert_eq!(error, rendezvous::ErrorCode::InvalidTtl); [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | SwarmEvent::ConnectionClosed { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / assert_behaviour_events! { [INFO] [stdout] 151 | | alice: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote {error , ..}), [INFO] [stdout] 152 | | robert: rendezvous::server::Event::PeerNotRegistered { .. }, [INFO] [stdout] 153 | | || { [INFO] [stdout] 154 | | assert_eq!(error, rendezvous::ErrorCode::InvalidTtl); [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | SwarmEvent::Behaviour(MyEvent::Identify(IdentifyEvent::Received { .. })) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifyEvent` [INFO] [stdout] --> examples/register_with_identify.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | SwarmEvent::Behaviour(MyEvent::Identify(IdentifyEvent::Received { .. })) => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IdentifyEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | SwarmEvent::Behaviour(MyEvent::Rendezvous(rendezvous::client::Event::Registered { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | libp2p::swarm::SwarmEvent::Behaviour($pat) => $body, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / assert_behaviour_events! { [INFO] [stdout] 173 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 174 | | || { } [INFO] [stdout] 175 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | SwarmEvent::Behaviour(MyEvent::Rendezvous( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmEvent` [INFO] [stdout] --> examples/register_with_identify.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SwarmEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | libp2p::swarm::SwarmEvent::Behaviour($pat) => $body, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | / assert_behaviour_events! { [INFO] [stdout] 180 | | bob: rendezvous::client::Event::Discovered { registrations,.. }, [INFO] [stdout] 181 | | || { [INFO] [stdout] 182 | | assert!(!registrations.is_empty()); [INFO] [stdout] 183 | | } [INFO] [stdout] 184 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingSuccess` [INFO] [stdout] --> examples/register_with_identify.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | result: Ok(PingSuccess::Ping { rtt }), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PingSuccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | / assert_behaviour_events! { [INFO] [stdout] 225 | | eve: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote { error: err_code , ..}), [INFO] [stdout] 226 | | robert: rendezvous::server::Event::PeerNotRegistered { .. }, [INFO] [stdout] 227 | | || { [INFO] [stdout] 228 | | assert_eq!(err_code, rendezvous::ErrorCode::NotAuthorized); [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | / assert_behaviour_events! { [INFO] [stdout] 225 | | eve: rendezvous::client::Event::RegisterFailed(rendezvous::client::RegisterError::Remote { error: err_code , ..}), [INFO] [stdout] 226 | | robert: rendezvous::server::Event::PeerNotRegistered { .. }, [INFO] [stdout] 227 | | || { [INFO] [stdout] 228 | | assert_eq!(err_code, rendezvous::ErrorCode::NotAuthorized); [INFO] [stdout] 229 | | } [INFO] [stdout] 230 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / assert_behaviour_events! { [INFO] [stdout] 250 | | charlie: CombinedEvent::Client(rendezvous::client::Event::Registered { .. }), [INFO] [stdout] 251 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 252 | | || { } [INFO] [stdout] 253 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | / assert_behaviour_events! { [INFO] [stdout] 250 | | charlie: CombinedEvent::Client(rendezvous::client::Event::Registered { .. }), [INFO] [stdout] 251 | | robert: rendezvous::server::Event::PeerRegistered { .. }, [INFO] [stdout] 252 | | || { } [INFO] [stdout] 253 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | libp2p::swarm::SwarmEvent::Behaviour($pat1), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | / assert_behaviour_events! { [INFO] [stdout] 260 | | charlie: CombinedEvent::Server(rendezvous::server::Event::PeerRegistered { .. }), [INFO] [stdout] 261 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 262 | | || { } [INFO] [stdout] 263 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | libp2p::swarm::SwarmEvent::Behaviour($pat2), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | / assert_behaviour_events! { [INFO] [stdout] 260 | | charlie: CombinedEvent::Server(rendezvous::server::Event::PeerRegistered { .. }), [INFO] [stdout] 261 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 262 | | || { } [INFO] [stdout] 263 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | libp2p::swarm::SwarmEvent::Behaviour($pat) => $body, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | / assert_behaviour_events! { [INFO] [stdout] 283 | | alice: rendezvous::client::Event::Registered { .. }, [INFO] [stdout] 284 | | || { } [INFO] [stdout] 285 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/harness.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | libp2p::swarm::SwarmEvent::Behaviour($pat) => $body, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] | [INFO] [stdout] ::: tests/rendezvous.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / assert_behaviour_events! { [INFO] [stdout] 289 | | bob: rendezvous::client::Event::Discovered { registrations,.. }, [INFO] [stdout] 290 | | || { [INFO] [stdout] 291 | | assert!(!registrations.is_empty()); [INFO] [stdout] 292 | | } [INFO] [stdout] 293 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_behaviour_events` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | B: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | 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[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[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> tests/harness.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | 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[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 `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new_swarm(behaviour_fn: F) -> Swarm [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Swarm; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/discover.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> tests/harness.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | 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[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[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> tests/harness.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | 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[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 `Keypair` [INFO] [stdout] --> tests/harness.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let dh_keys = Keypair::::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use crate::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `X25519Spec` in this scope [INFO] [stdout] --> tests/harness.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new_swarm(behaviour_fn: F) -> Swarm [INFO] [stdout] | - help: you might be missing a type parameter: `, X25519Spec` [INFO] [stdout] ... [INFO] [stdout] 49 | let dh_keys = Keypair::::new() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryTransport` [INFO] [stdout] --> tests/harness.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let transport = MemoryTransport::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::transport::MemoryTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelectUpgrade` [INFO] [stdout] --> tests/harness.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | .multiplex(SelectUpgrade::new( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::upgrade::SelectUpgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamMuxerBox` [INFO] [stdout] --> tests/harness.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|(peer, muxer), _| (peer, StreamMuxerBox::new(muxer))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::muxing::StreamMuxerBox; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwarmBuilder` [INFO] [stdout] --> tests/harness.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | SwarmBuilder::new(transport, behaviour_fn(peer_id, identity), peer_id) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_rand_memory_address() -> Multiaddr { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | .parse::() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 85 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | swarm: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 82 | swarm: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | ) -> SwarmEvent [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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 [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 102 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | SwarmEvent: Debug, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 103 | SwarmExt: Debug, [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | swarm_1: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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 | swarm_1: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | swarm_2: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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] 99 | swarm_2: &mut (impl Stream> + FusedStream + Unpin), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> (SwarmEvent, SwarmEvent) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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, SwarmEvent) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmEvent` in this scope [INFO] [stdout] --> tests/harness.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> (SwarmEvent, SwarmEvent) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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 | ) -> (SwarmEvent, SwarmExt) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::SwarmEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | 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.rs:143:60 [INFO] [stdout] | [INFO] [stdout] 143 | async fn block_on_connection(&mut self, other: &mut Swarm) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Swarm; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | async fn listen_on_random_memory_address(&mut self) -> Multiaddr; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Swarm` in this scope [INFO] [stdout] --> tests/harness.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | impl SwarmExt for Swarm [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Swarm; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | B: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::NetworkBehaviour; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NetworkBehaviour` in this scope [INFO] [stdout] --> tests/harness.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | 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.rs:161:60 [INFO] [stdout] | [INFO] [stdout] 161 | async fn block_on_connection(&mut self, other: &mut Swarm) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use crate::Swarm; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/harness.rs:208:60 [INFO] [stdout] | [INFO] [stdout] 208 | 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/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 for MyEvent { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | fn from(event: IdentifyEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identify` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | identify: Identify, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Identify`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 133 | identify: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/rendezvous_point.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Ping`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 135 | ping: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> examples/register_with_identify.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let identity = identity::Keypair::generate_ed25519(); [INFO] [stdout] | ^^^^^^^ not found in `identity` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::Keypair; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Swarm` [INFO] [stdout] --> examples/register_with_identify.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let mut swarm = Swarm::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> examples/register_with_identify.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | PeerId::from(identity.public()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::PeerId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 103 | SwarmEvent::Behaviour(MyEvent::Ping(PingEvent { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | Identify(IdentifyEvent), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | Ping(PingEvent), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IdentifyEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | fn from(event: IdentifyEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | impl From for MyEvent { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identify` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | identify: Identify, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Identify`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 145 | identify: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dial_opts::DialOpts` [INFO] [stdout] --> tests/rendezvous.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | use libp2p_swarm::{dial_opts::DialOpts, DialError, Swarm, SwarmEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/register_with_identify.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::MyEvent::Ping`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 147 | ping: crate::MyEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 80 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> examples/register.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] 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_with_identify.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> examples/discover.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/compiler/rustc_errors/src/lib.rs:1103:9 [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_transform/src/generator.rs:766:13: Broken MIR: generator contains type codec::NewRegistration in MIR, but typeck only knows about {ResumeTy, server::Registrations, codec::Namespace, PeerId, u64, impl futures::Future, ()} and [] [INFO] [stdout] --> src/server.rs:633:86 [INFO] [stdout] | [INFO] [stdout] 633 | async fn given_peer_unregisters_before_expiry_do_not_emit_registration_expired() { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 634 | | let mut registrations = Registrations::with_config(Config { [INFO] [stdout] 635 | | min_ttl: 1, [INFO] [stdout] 636 | | max_ttl: 10, [INFO] [stdout] ... | [INFO] [stdout] 646 | | registrations.no_event_for(3).await [INFO] [stdout] 647 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7f9a713c367c - std::backtrace_rs::backtrace::libunwind::trace::hab3bb7239730ce1e [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7f9a713c367c - std::backtrace_rs::backtrace::trace_unsynchronized::h7c00739330269721 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7f9a713c367c - std::sys_common::backtrace::_print_fmt::hc7fce0f2bad6b4e5 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x7f9a713c367c - ::fmt::h6b1f9c749ca5dfce [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x7f9a7142485c - core::fmt::write::h14b56021008c8193 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/core/src/fmt/mod.rs:1168:17 [INFO] [stderr] 5: 0x7f9a713b2c23 - std::io::Write::write_fmt::h00903ac5c84da4ab [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/io/mod.rs:1653:15 [INFO] [stderr] 6: 0x7f9a713c7aa2 - std::sys_common::backtrace::_print::h520cdd5f2e9c382b [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x7f9a713c7aa2 - std::sys_common::backtrace::print::hc31c18dd3d9e99d7 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x7f9a713c7aa2 - std::panicking::default_hook::{{closure}}::h2b4911050a1d8d19 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:290:50 [INFO] [stderr] 9: 0x7f9a713c7685 - std::panicking::default_hook::hd9ee213c07ceee82 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:307:9 [INFO] [stderr] 10: 0x7f9a71ba4f91 - rustc_driver[574060610cdb6686]::DEFAULT_HOOK::{closure#0}::{closure#0} [INFO] [stderr] 11: 0x7f9a6030c2c3 - as core::ops::function::Fn>::call::h33708b40ee06c4fb [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1868:9 [INFO] [stderr] 12: 0x7f9a6030ebdc - proc_macro::bridge::client::::enter::{{closure}}::{{closure}}::h474eb0c77e7f4919 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/proc_macro/src/bridge/client.rs:319:21 [INFO] [stderr] 13: 0x7f9a6032b900 - std::panicking::update_hook::{{closure}}::hd546f706db04f9ab [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:257:41 [INFO] [stderr] 14: 0x7f9a713c82bb - std::panicking::rust_panic_with_hook::hf221ce82965f4abb [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/panicking.rs:695:17 [INFO] [stderr] 15: 0x7f9a71e1b1d1 - std[8ff7d40267274bc7]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 16: 0x7f9a71e1ad76 - std[8ff7d40267274bc7]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 17: 0x7f9a71d813ff - std[8ff7d40267274bc7]::panicking::begin_panic:: [INFO] [stderr] 18: 0x7f9a71dfbf5d - std[8ff7d40267274bc7]::panic::panic_any:: [INFO] [stderr] 19: 0x7f9a71df88c8 - ::span_bug:: [INFO] [stderr] 20: 0x7f9a71df8680 - ::span_bug:: [INFO] [stderr] 21: 0x7f9a71d5e0f8 - rustc_middle[8a77eead77a7de65]::ty::context::tls::with_opt::::{closure#0}, ()> [INFO] [stderr] 22: 0x7f9a71d5e1b0 - rustc_middle[8a77eead77a7de65]::util::bug::opt_span_bug_fmt:: [INFO] [stderr] 23: 0x7f9a71d5e17c - rustc_middle[8a77eead77a7de65]::util::bug::span_bug_fmt:: [INFO] [stderr] 24: 0x7f9a73bbc9d3 - ::run_pass [INFO] [stderr] 25: 0x7f9a72eef50f - rustc_mir_transform[e8bf563d71c3358c]::pass_manager::run_passes [INFO] [stderr] 26: 0x7f9a72eb04e1 - rustc_mir_transform[e8bf563d71c3358c]::optimized_mir [INFO] [stderr] 27: 0x7f9a73467eb2 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::try_execute_query::> [INFO] [stderr] 28: 0x7f9a734b3247 - ::optimized_mir [INFO] [stderr] 29: 0x7f9a72b2fe12 - ::generator_layout [INFO] [stderr] 30: 0x7f9a739082af - >::layout_of_uncached [INFO] [stderr] 31: 0x7f9a7391017a - rustc_middle[8a77eead77a7de65]::ty::layout::layout_of [INFO] [stderr] 32: 0x7f9a7349af12 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::get_query:: [INFO] [stderr] 33: 0x7f9a734bed0a - ::layout_of [INFO] [stderr] 34: 0x7f9a73936f68 - core[25abe57cfe4190a5]::iter::adapters::process_results::, >::layout_of_uncached::{closure#5}::{closure#0}>, rustc_target[1eda696444af1ff]::abi::TyAndLayout<&rustc_middle[8a77eead77a7de65]::ty::TyS>, rustc_middle[8a77eead77a7de65]::ty::layout::LayoutError, >, rustc_middle[8a77eead77a7de65]::ty::layout::LayoutError> as core[25abe57cfe4190a5]::iter::traits::collect::FromIterator, rustc_middle[8a77eead77a7de65]::ty::layout::LayoutError>>>::from_iter, >::layout_of_uncached::{closure#5}::{closure#0}>>::{closure#0}, alloc[7db2980217c62220]::vec::Vec>> [INFO] [stderr] 35: 0x7f9a739029bd - >::layout_of_uncached [INFO] [stderr] 36: 0x7f9a7391017a - rustc_middle[8a77eead77a7de65]::ty::layout::layout_of [INFO] [stderr] 37: 0x7f9a7349af12 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::get_query:: [INFO] [stderr] 38: 0x7f9a734bed0a - ::layout_of [INFO] [stderr] 39: 0x7f9a73910e4f - rustc_middle[8a77eead77a7de65]::ty::layout::layout_of [INFO] [stderr] 40: 0x7f9a7349af12 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::get_query:: [INFO] [stderr] 41: 0x7f9a734bed0a - ::layout_of [INFO] [stderr] 42: 0x7f9a72efc80f - ::run_pass [INFO] [stderr] 43: 0x7f9a72eef50f - rustc_mir_transform[e8bf563d71c3358c]::pass_manager::run_passes [INFO] [stderr] 44: 0x7f9a72eb08d1 - rustc_mir_transform[e8bf563d71c3358c]::optimized_mir [INFO] [stderr] 45: 0x7f9a73467eb2 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::try_execute_query::> [INFO] [stderr] 46: 0x7f9a734b3247 - ::optimized_mir [INFO] [stderr] 47: 0x7f9a738cd9c6 - ::instance_mir [INFO] [stderr] 48: 0x7f9a72e7e806 - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_neighbours [INFO] [stderr] 49: 0x7f9a72e7a3d6 - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_items_rec [INFO] [stderr] 50: 0x7f9a72e7a50d - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_items_rec [INFO] [stderr] 51: 0x7f9a72e7a50d - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_items_rec [INFO] [stderr] 52: 0x7f9a73b9f9da - ::time::<(), rustc_monomorphize[d443c1900dbcbba2]::collector::collect_crate_mono_items::{closure#1}> [INFO] [stderr] 53: 0x7f9a73b9ca51 - rustc_monomorphize[d443c1900dbcbba2]::collector::collect_crate_mono_items [INFO] [stderr] 54: 0x7f9a73ba42d6 - rustc_monomorphize[d443c1900dbcbba2]::partitioning::collect_and_partition_mono_items [INFO] [stderr] 55: 0x7f9a73eb39eb - rustc_query_system[ae4364215f97c5f4]::query::plumbing::try_execute_query::>, &[rustc_middle[8a77eead77a7de65]::mir::mono::CodegenUnit])>> [INFO] [stderr] 56: 0x7f9a73ee7ef0 - rustc_query_system[ae4364215f97c5f4]::query::plumbing::get_query:: [INFO] [stderr] 57: 0x7f9a73f0d2ae - ::collect_and_partition_mono_items [INFO] [stderr] 58: 0x7f9a73a79202 - rustc_codegen_ssa[dd388e5cb94d8695]::base::codegen_crate:: [INFO] [stderr] 59: 0x7f9a73a89eda - ::codegen_crate [INFO] [stderr] 60: 0x7f9a73a35367 - ::time::, rustc_interface[925b183bd10502e3]::passes::start_codegen::{closure#0}> [INFO] [stderr] 61: 0x7f9a73a18319 - ::ongoing_codegen [INFO] [stderr] 62: 0x7f9a739f37dd - ::enter::, rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 63: 0x7f9a739f4db6 - rustc_span[7ad56b2a1dc47726]::with_source_map::, rustc_interface[925b183bd10502e3]::interface::create_compiler_and_run, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#1}> [INFO] [stderr] 64: 0x7f9a739f2b5e - rustc_interface[925b183bd10502e3]::interface::create_compiler_and_run::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}> [INFO] [stderr] 65: 0x7f9a739d6d5b - >::set::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 66: 0x7f9a739d6b35 - std[8ff7d40267274bc7]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>> [INFO] [stderr] 67: 0x7f9a739d56e9 - <::spawn_unchecked_, rustc_driver[574060610cdb6686]::run_compiler::{closure#1}>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#0}, core[25abe57cfe4190a5]::result::Result<(), rustc_errors[a0b4bf6c95948d12]::ErrorReported>>::{closure#1} as core[25abe57cfe4190a5]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 68: 0x7f9a713d3e63 - as core::ops::function::FnOnce>::call_once::h37fad153086c8632 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] 69: 0x7f9a713d3e63 - as core::ops::function::FnOnce>::call_once::h63ac285b00349412 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] 70: 0x7f9a713d3e63 - std::sys::unix::thread::Thread::new::thread_start::ha85c370649f33522 [INFO] [stderr] at /rustc/2cd6942e35a7765b6869d3a149ca54f2598b77ad/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 71: 0x7f9a712e5609 - start_thread [INFO] [stderr] 72: 0x7f9a711ff293 - clone [INFO] [stderr] 73: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.60.0-nightly (2cd6942e3 2022-01-26) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [optimized_mir] optimizing MIR for `server::tests::given_peer_unregisters_before_expiry_do_not_emit_registration_expired::{closure#0}` [INFO] [stderr] #1 [layout_of] computing layout of `[static generator@src/server.rs:633:86: 647:6]` [INFO] [stderr] #2 [layout_of] computing layout of `core::future::from_generator::GenFuture<[static generator@src/server.rs:633:86: 647:6]>` [INFO] [stderr] #3 [layout_of] computing layout of `impl core::future::future::Future` [INFO] [stderr] #4 [optimized_mir] optimizing MIR for `server::tests::given_peer_unregisters_before_expiry_do_not_emit_registration_expired` [INFO] [stderr] #5 [collect_and_partition_mono_items] collect_and_partition_mono_items [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8c1095c16a09880a952c502a55948ff59c35e8ef11386978e453827c09a50cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1095c16a09880a952c502a55948ff59c35e8ef11386978e453827c09a50cd1", kill_on_drop: false }` [INFO] [stdout] 8c1095c16a09880a952c502a55948ff59c35e8ef11386978e453827c09a50cd1