[INFO] fetching crate libp2p-relay 0.8.0... [INFO] testing libp2p-relay-0.8.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate libp2p-relay 0.8.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate libp2p-relay 0.8.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-relay 0.8.0 [INFO] finished tweaking crates.io crate libp2p-relay 0.8.0 [INFO] tweaked toml for crates.io crate libp2p-relay 0.8.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate libp2p-relay 0.8.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e86cba9f68a9a77fc7a3f8cf80bd4d068de1b068571355e27f0369985636ed6b [INFO] running `Command { std: "docker" "start" "-a" "e86cba9f68a9a77fc7a3f8cf80bd4d068de1b068571355e27f0369985636ed6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e86cba9f68a9a77fc7a3f8cf80bd4d068de1b068571355e27f0369985636ed6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e86cba9f68a9a77fc7a3f8cf80bd4d068de1b068571355e27f0369985636ed6b", kill_on_drop: false }` [INFO] [stdout] e86cba9f68a9a77fc7a3f8cf80bd4d068de1b068571355e27f0369985636ed6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf5174840a8e1392efb8f89fca3a1fa327165d2a30b43b5f087694298c00b48a [INFO] running `Command { std: "docker" "start" "-a" "bf5174840a8e1392efb8f89fca3a1fa327165d2a30b43b5f087694298c00b48a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling asn1_der v0.7.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ed25519 v1.4.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling pin-project v0.4.29 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling multihash-derive v0.8.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling asynchronous-codec v0.6.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling unsigned-varint v0.7.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling multihash v0.16.2 [INFO] [stderr] Compiling multiaddr v0.14.0 [INFO] [stderr] Compiling libp2p-core v0.32.0 [INFO] [stderr] Compiling libp2p-relay v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libp2p-swarm v0.35.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.09s [INFO] running `Command { std: "docker" "inspect" "bf5174840a8e1392efb8f89fca3a1fa327165d2a30b43b5f087694298c00b48a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5174840a8e1392efb8f89fca3a1fa327165d2a30b43b5f087694298c00b48a", kill_on_drop: false }` [INFO] [stdout] bf5174840a8e1392efb8f89fca3a1fa327165d2a30b43b5f087694298c00b48a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65c0984fcb0b0f38c7e4ac786387ae9c0cbfde7e5e245fae5cccc24a816649a5 [INFO] running `Command { std: "docker" "start" "-a" "65c0984fcb0b0f38c7e4ac786387ae9c0cbfde7e5e245fae5cccc24a816649a5", kill_on_drop: false }` [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling multistream-select v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling libp2p-core v0.32.0 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling libp2p-swarm v0.35.0 [INFO] [stderr] Compiling libp2p-relay v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/relay_v2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use libp2p::core::upgrade; [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/relay_v2.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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/relay_v2.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | 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/relay_v2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use libp2p::ping::{Ping, PingConfig, 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/relay_v2.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::relay::v2::relay::{self, Relay}; [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/relay_v2.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use libp2p::swarm::{Swarm, SwarmEvent}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/relay_v2.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use libp2p::tcp::TcpConfig; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/relay_v2.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p::Transport; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/relay_v2.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p::{identity, NetworkBehaviour, PeerId}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/relay_v2.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2p::{noise, Multiaddr}; [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/relay_v2.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[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] --> tests/v2.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::core::multiaddr::{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] --> tests/v2.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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/v2.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libp2p::core::transport::choice::OrTransport; [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/v2.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use libp2p::core::transport::{Boxed, MemoryTransport, 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/v2.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use libp2p::core::PublicKey; [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/v2.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use libp2p::core::{identity, upgrade, 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] --> tests/v2.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use libp2p::ping::{Ping, PingConfig, PingEvent}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> tests/v2.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2p::plaintext::PlainText2Config; [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/v2.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p::relay::v2::client; [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/v2.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use libp2p::relay::v2::relay; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> tests/v2.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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] --> tests/v2.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 350 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> examples/relay_v2.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | #[behaviour(out_event = "Event", event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpConfig` [INFO] [stdout] --> examples/relay_v2.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | let tcp_transport = TcpConfig::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TcpConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `upgrade` [INFO] [stdout] --> examples/relay_v2.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | .upgrade(upgrade::Version::V1) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `upgrade` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] --> examples/relay_v2.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | .multiplex(libp2p_yamux::YamuxConfig::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/relay_v2.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | ping: Ping::new(PingConfig::new()), [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> tests/v2.rs:351:3 [INFO] [stdout] | [INFO] [stdout] 351 | #[behaviour(out_event = "RelayEvent", event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> tests/v2.rs:375:10 [INFO] [stdout] | [INFO] [stdout] 375 | #[derive(NetworkBehaviour)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> tests/v2.rs:376:3 [INFO] [stdout] | [INFO] [stdout] 376 | #[behaviour(out_event = "ClientEvent", event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/relay_v2.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | ping: Ping::new(PingConfig::new()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `PingConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Identify` [INFO] [stdout] --> examples/relay_v2.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | identify: Identify::new(IdentifyConfig::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdentifyConfig` [INFO] [stdout] --> examples/relay_v2.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | 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 `Protocol` [INFO] [stdout] --> examples/relay_v2.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | Some(true) => Protocol::from(Ipv6Addr::UNSPECIFIED), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> examples/relay_v2.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | _ => Protocol::from(Ipv4Addr::UNSPECIFIED), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> examples/relay_v2.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | .with(Protocol::Tcp(opt.port)); [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/relay_v2.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | SwarmEvent::Behaviour(Event::Relay(event)) => { [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/relay_v2.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | 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 `Protocol` [INFO] [stdout] --> tests/v2.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | .with(Protocol::P2p(relay_peer_id.into())) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | .with(Protocol::P2pCircuit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .with(Protocol::P2p(client_peer_id.into())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | client_addr.with(Protocol::P2p(client_peer_id.into())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relay` [INFO] [stdout] --> examples/relay_v2.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 108 | Relay(relay::Event), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `relay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relay` [INFO] [stdout] --> examples/relay_v2.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | impl From for Event { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `relay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relay` [INFO] [stdout] --> examples/relay_v2.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | fn from(e: relay::Event) -> Self { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `relay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | .with(Protocol::P2p(relay_peer_id.into())) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | .with(Protocol::P2pCircuit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Relay` [INFO] [stdout] --> examples/relay_v2.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | relay: Relay::new(local_peer_id, Default::default()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p_relay::v2::relay::Relay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Swarm` [INFO] [stdout] --> examples/relay_v2.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let mut swarm = Swarm::new(transport, behaviour, local_peer_id); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p_swarm::Swarm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | .with(Protocol::P2p(client_peer_id.into())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Relay` in this scope [INFO] [stdout] --> examples/relay_v2.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | relay: Relay, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 22 | use libp2p_relay::v2::relay::Relay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> tests/v2.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | client::Event::ReservationReqAccepted { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/relay_v2.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::Event::Ping`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 100 | ping: crate::Event, [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identify` in this scope [INFO] [stdout] --> examples/relay_v2.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | identify: Identify, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::Event::Identify`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 101 | identify: crate::Event, [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/relay_v2.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | 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/relay_v2.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | 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/relay_v2.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | impl From for Event { [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/relay_v2.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | fn from(e: 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/relay_v2.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | impl From for Event { [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/relay_v2.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | fn from(e: IdentifyEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | .with(Protocol::P2p(relay_peer_id.into())) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | .with(Protocol::P2pCircuit) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | .with(Protocol::P2p(dst_peer_id.into())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> tests/v2.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | client::Event::OutboundCircuitEstablished { .. }, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:244:46 [INFO] [stdout] | [INFO] [stdout] 244 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | .with(Protocol::P2p(relay_peer_id.into())) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | .with(Protocol::P2pCircuit) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | .with(Protocol::P2p(client_peer_id.into())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:264:46 [INFO] [stdout] | [INFO] [stdout] 264 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:274:15 [INFO] [stdout] | [INFO] [stdout] 274 | .with(Protocol::P2p(relay_peer_id.into())) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | .with(Protocol::P2pCircuit); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Protocol` [INFO] [stdout] --> tests/v2.rs:286:26 [INFO] [stdout] | [INFO] [stdout] 286 | client_addr.with(Protocol::P2p(client_peer_id.into())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Protocol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> tests/v2.rs:302:19 [INFO] [stdout] | [INFO] [stdout] 302 | ping: Ping::new(PingConfig::new()), [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> tests/v2.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | ping: Ping::new(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 `relay` [INFO] [stdout] --> tests/v2.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | relay::Config { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `relay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> tests/v2.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | ping: Ping::new(PingConfig::new()), [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> tests/v2.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | ping: Ping::new(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 `upgrade` [INFO] [stdout] --> tests/v2.rs:344:18 [INFO] [stdout] | [INFO] [stdout] 344 | .upgrade(upgrade::Version::V1) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `upgrade` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] --> tests/v2.rs:346:20 [INFO] [stdout] | [INFO] [stdout] 346 | .multiplex(libp2p_yamux::YamuxConfig::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relay` [INFO] [stdout] --> tests/v2.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 353 | relay: relay::Relay, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `relay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relay` [INFO] [stdout] --> tests/v2.rs:359:11 [INFO] [stdout] | [INFO] [stdout] 359 | Relay(relay::Event), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `relay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relay` [INFO] [stdout] --> tests/v2.rs:363:11 [INFO] [stdout] | [INFO] [stdout] 363 | impl From for RelayEvent { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `relay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relay` [INFO] [stdout] --> tests/v2.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | fn from(event: relay::Event) -> Self { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `relay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> tests/v2.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 378 | relay: client::Client, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> tests/v2.rs:384:11 [INFO] [stdout] | [INFO] [stdout] 384 | Relay(client::Event), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> tests/v2.rs:388:11 [INFO] [stdout] | [INFO] [stdout] 388 | impl From for ClientEvent { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> tests/v2.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 389 | fn from(event: client::Event) -> Self { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> tests/v2.rs:417:54 [INFO] [stdout] | [INFO] [stdout] 417 | SwarmEvent::Behaviour(ClientEvent::Relay(client::Event::ReservationReqAccepted { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multiaddr` [INFO] [stdout] --> tests/v2.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multiaddr` [INFO] [stdout] --> tests/v2.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multiaddr` [INFO] [stdout] --> tests/v2.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [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[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> tests/v2.rs:220:57 [INFO] [stdout] | [INFO] [stdout] 220 | SwarmEvent::Behaviour(ClientEvent::Ping(PingEvent { peer, .. })) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PingEvent` in this scope [INFO] [stdout] --> tests/v2.rs:228:57 [INFO] [stdout] | [INFO] [stdout] 228 | SwarmEvent::Behaviour(ClientEvent::Ping(PingEvent { peer, .. })) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Multiaddr` [INFO] [stdout] --> tests/v2.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::Multiaddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PeerId` [INFO] [stdout] --> tests/v2.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | let relay_peer_id = PeerId::random(); [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 `Multiaddr` [INFO] [stdout] --> tests/v2.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | let relay_addr = Multiaddr::empty().with(Protocol::Memory(rand::random::())); [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] --> tests/v2.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | let local_key = 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 `MemoryTransport` [INFO] [stdout] --> tests/v2.rs:297:39 [INFO] [stdout] | [INFO] [stdout] 297 | let transport = upgrade_transport(MemoryTransport::default().boxed(), local_public_key); [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 crate or module `relay` [INFO] [stdout] --> tests/v2.rs:303:27 [INFO] [stdout] | [INFO] [stdout] 303 | relay: relay::Relay::new( [INFO] [stdout] | ^^^^^ not found in `relay` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_relay::v2::relay::Relay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `identity` [INFO] [stdout] --> tests/v2.rs:316:31 [INFO] [stdout] | [INFO] [stdout] 316 | let local_key = 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 crate or module `client` [INFO] [stdout] --> tests/v2.rs:320:48 [INFO] [stdout] | [INFO] [stdout] 320 | let (relay_transport, behaviour) = client::Client::new_transport_and_behaviour(local_peer_id); [INFO] [stdout] | ^^^^^^ not found in `client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_relay::v2::client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OrTransport` [INFO] [stdout] --> tests/v2.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | OrTransport::new(relay_transport, MemoryTransport::default()).boxed(), [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::OrTransport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MemoryTransport` [INFO] [stdout] --> tests/v2.rs:322:43 [INFO] [stdout] | [INFO] [stdout] 322 | OrTransport::new(relay_transport, MemoryTransport::default()).boxed(), [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[E0412]: cannot find type `Boxed` in this scope [INFO] [stdout] --> tests/v2.rs:337:16 [INFO] [stdout] | [INFO] [stdout] 337 | transport: Boxed, [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::Boxed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/v2.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | local_public_key: PublicKey, [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::PublicKey; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::ed25519::PublicKey; [INFO] [stdout] | [INFO] [stdout] 21 | use libp2p_core::identity::rsa::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Boxed` in this scope [INFO] [stdout] --> tests/v2.rs:339:6 [INFO] [stdout] | [INFO] [stdout] 339 | ) -> Boxed<(PeerId, StreamMuxerBox)> [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::Boxed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PeerId` in this scope [INFO] [stdout] --> tests/v2.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | ) -> Boxed<(PeerId, StreamMuxerBox)> [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 `StreamMuxerBox` in this scope [INFO] [stdout] --> tests/v2.rs:339:21 [INFO] [stdout] | [INFO] [stdout] 339 | ) -> Boxed<(PeerId, StreamMuxerBox)> [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[E0422]: cannot find struct, variant or union type `PlainText2Config` in this scope [INFO] [stdout] --> tests/v2.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | .authenticate(PlainText2Config { local_public_key }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> tests/v2.rs:354:11 [INFO] [stdout] | [INFO] [stdout] 354 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::ClientEvent::Ping` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 354 | ping: crate::ClientEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 354 | ping: crate::RelayEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> tests/v2.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | 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] --> tests/v2.rs:369:11 [INFO] [stdout] | [INFO] [stdout] 369 | impl From for RelayEvent { [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] --> tests/v2.rs:370:20 [INFO] [stdout] | [INFO] [stdout] 370 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> tests/v2.rs:379:11 [INFO] [stdout] | [INFO] [stdout] 379 | ping: Ping, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::ClientEvent::Ping` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 379 | ping: crate::ClientEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 379 | ping: crate::RelayEvent, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> tests/v2.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 385 | 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] --> tests/v2.rs:394:11 [INFO] [stdout] | [INFO] [stdout] 394 | impl From for ClientEvent { [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] --> tests/v2.rs:395:20 [INFO] [stdout] | [INFO] [stdout] 395 | fn from(event: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Multiaddr` in this scope [INFO] [stdout] --> tests/v2.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 408 | client_addr: 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 `PeerId` in this scope [INFO] [stdout] --> tests/v2.rs:409:20 [INFO] [stdout] | [INFO] [stdout] 409 | relay_peer_id: PeerId, [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/v2.rs:439:60 [INFO] [stdout] | [INFO] [stdout] 439 | async fn wait_for_dial(client: &mut Swarm, remote: PeerId) -> bool { [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] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> examples/relay_v2.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 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] [stderr] error: could not compile `libp2p-relay` due to 39 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Relay: NetworkBehaviour` is not satisfied [INFO] [stdout] --> tests/v2.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | fn build_relay() -> Swarm { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Relay` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.35.0/src/lib.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Client: NetworkBehaviour` is not satisfied [INFO] [stdout] --> tests/v2.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | fn build_client() -> Swarm { [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.35.0/src/lib.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Client: NetworkBehaviour` is not satisfied [INFO] [stdout] --> tests/v2.rs:407:18 [INFO] [stdout] | [INFO] [stdout] 407 | client: &mut Swarm, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.35.0/src/lib.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Client: NetworkBehaviour` is not satisfied [INFO] [stdout] --> tests/v2.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 439 | async fn wait_for_dial(client: &mut Swarm, remote: PeerId) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Client` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.35.0/src/lib.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 90 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "65c0984fcb0b0f38c7e4ac786387ae9c0cbfde7e5e245fae5cccc24a816649a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c0984fcb0b0f38c7e4ac786387ae9c0cbfde7e5e245fae5cccc24a816649a5", kill_on_drop: false }` [INFO] [stdout] 65c0984fcb0b0f38c7e4ac786387ae9c0cbfde7e5e245fae5cccc24a816649a5