[INFO] fetching crate libp2p-relay 0.3.0... [INFO] checking libp2p-relay-0.3.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate libp2p-relay 0.3.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate libp2p-relay 0.3.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libp2p-relay 0.3.0 [INFO] finished tweaking crates.io crate libp2p-relay 0.3.0 [INFO] tweaked toml for crates.io crate libp2p-relay 0.3.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate libp2p-relay 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7c92927ec9f47a59ab5535c5bb04fde81949848bf6d148bb806889cf0144c6d [INFO] running `Command { std: "docker" "start" "-a" "a7c92927ec9f47a59ab5535c5bb04fde81949848bf6d148bb806889cf0144c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7c92927ec9f47a59ab5535c5bb04fde81949848bf6d148bb806889cf0144c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c92927ec9f47a59ab5535c5bb04fde81949848bf6d148bb806889cf0144c6d", kill_on_drop: false }` [INFO] [stdout] a7c92927ec9f47a59ab5535c5bb04fde81949848bf6d148bb806889cf0144c6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8b82ff472b28c0dff0d9362a195eda91263553a2193971b4675542d6145098 [INFO] running `Command { std: "docker" "start" "-a" "9d8b82ff472b28c0dff0d9362a195eda91263553a2193971b4675542d6145098", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking asn1_der v0.7.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking ed25519 v1.1.1 [INFO] [stderr] Checking futures-channel v0.3.15 [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 futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking libsecp256k1-core v0.2.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking asynchronous-codec v0.6.0 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking rw-stream-sink v0.2.1 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking unsigned-varint v0.7.0 [INFO] [stderr] Checking multihash v0.14.0 [INFO] [stderr] Checking multistream-select v0.10.2 [INFO] [stderr] Compiling libp2p-core v0.29.0 [INFO] [stderr] Compiling libp2p-relay v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking multiaddr v0.13.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking libp2p-swarm v0.30.0 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p` [INFO] [stdout] --> examples/relay.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use libp2p::dns::DnsConfig; [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.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | 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/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use libp2p::kad::record::store::MemoryStore; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> tests/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use libp2p::NetworkBehaviour; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_identify` [INFO] [stdout] --> tests/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use libp2p_identify::{Identify, IdentifyConfig, IdentifyEvent, IdentifyInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_kad` [INFO] [stdout] --> tests/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use libp2p_kad::{GetClosestPeersOk, Kademlia, KademliaEvent, QueryResult}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `libp2p_kad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_ping` [INFO] [stdout] --> tests/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use libp2p_ping::{Ping, PingConfig, PingEvent}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `libp2p_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p_plaintext` [INFO] [stdout] --> tests/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use libp2p_plaintext::PlainText2Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `libp2p_plaintext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> tests/lib.rs:1118:10 [INFO] [stdout] | [INFO] [stdout] 1118 | #[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/lib.rs:1119:3 [INFO] [stdout] | [INFO] [stdout] 1119 | #[behaviour(out_event = "CombinedEvent", poll_method = "poll")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `behaviour` in this scope [INFO] [stdout] --> tests/lib.rs:1126:7 [INFO] [stdout] | [INFO] [stdout] 1126 | #[behaviour(ignore)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour` [INFO] [stdout] --> tests/lib.rs:1183:10 [INFO] [stdout] | [INFO] [stdout] 1183 | #[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_yamux` [INFO] [stdout] --> tests/lib.rs:1272:20 [INFO] [stdout] | [INFO] [stdout] 1272 | .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 `MemoryStore` [INFO] [stdout] --> tests/lib.rs:1280:13 [INFO] [stdout] | [INFO] [stdout] 1280 | MemoryStore::new(local_peer_id.clone()), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MemoryStore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] --> tests/lib.rs:1308:20 [INFO] [stdout] | [INFO] [stdout] 1308 | .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 `libp2p_yamux` [INFO] [stdout] --> tests/lib.rs:1332:20 [INFO] [stdout] | [INFO] [stdout] 1332 | .multiplex(libp2p_yamux::YamuxConfig::default()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryStore` in this scope [INFO] [stdout] --> tests/lib.rs:1123:19 [INFO] [stdout] | [INFO] [stdout] 1120 | struct CombinedBehaviour { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 1123 | kad: Kademlia, [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] --> examples/relay.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use libp2p::relay::{Relay, RelayConfig}; [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.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | 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/relay.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | 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.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | use libp2p::plaintext; [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.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | use libp2p::{core::upgrade, identity::ed25519}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p` [INFO] [stdout] --> examples/relay.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | 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.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use libp2p::{identity, NetworkBehaviour, PeerId, Swarm}; [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.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | #[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.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | #[behaviour(out_event = "Event", event_process = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsConfig` [INFO] [stdout] --> examples/relay.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let transport = block_on(DnsConfig::system(TcpConfig::new()))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `DnsConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpConfig` [INFO] [stdout] --> examples/relay.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | let transport = block_on(DnsConfig::system(TcpConfig::new()))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TcpConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ping` [INFO] [stdout] --> examples/relay.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | ping: Ping::new( [INFO] [stdout] | ^^^^ use of undeclared type `Ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PingConfig` [INFO] [stdout] --> examples/relay.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | 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] --> examples/relay.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | .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.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | .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 `SwarmEvent` [INFO] [stdout] --> examples/relay.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | 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] --> examples/relay.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | fn print_listener_peer(addr: &libp2p::Multiaddr, mode: &Mode, local_peer_id: PeerId) -> () { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RelayConfig` in this scope [INFO] [stdout] --> examples/relay.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | let relay_config = RelayConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 60 | use libp2p_relay::RelayConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ed25519` [INFO] [stdout] --> examples/relay.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 180 | let secret_key = ed25519::SecretKey::from_bytes(&mut bytes) [INFO] [stdout] | ^^^^^^^^^ not found in `ed25519` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 60 | use libp2p_core::identity::ed25519::SecretKey; [INFO] [stdout] | [INFO] [stdout] 60 | use libp2p_core::identity::secp256k1::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Relay` in this scope [INFO] [stdout] --> examples/relay.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | relay: Relay, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 60 | use libp2p_relay::Relay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ping` in this scope [INFO] [stdout] --> examples/relay.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | 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] 216 | ping: crate::Event, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingEvent` in this scope [INFO] [stdout] --> examples/relay.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 222 | 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/relay.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 225 | 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.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | fn from(e: PingEvent) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CombinedBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> tests/lib.rs:1246:4 [INFO] [stdout] | [INFO] [stdout] 1246 | fn build_swarm(reachability: Reachability, relay_mode: RelayMode) -> Swarm { [INFO] [stdout] | ^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `CombinedBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CombinedKeepAliveBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> tests/lib.rs:1292:4 [INFO] [stdout] | [INFO] [stdout] 1292 | fn build_keep_alive_swarm() -> Swarm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `CombinedKeepAliveBehaviour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libp2p-relay` due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `upgrade` found for struct `RelayTransport` in the current scope [INFO] [stdout] --> examples/relay.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | .upgrade(upgrade::Version::V1) [INFO] [stdout] | ^^^^^^^ method not found in `RelayTransport<_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.29.0/src/transport.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | fn upgrade(self, version: upgrade::Version) -> upgrade::Builder [INFO] [stdout] | ------- the method is available for `RelayTransport<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 60 | use libp2p_core::transport::Transport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> examples/relay.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | 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 27 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9d8b82ff472b28c0dff0d9362a195eda91263553a2193971b4675542d6145098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8b82ff472b28c0dff0d9362a195eda91263553a2193971b4675542d6145098", kill_on_drop: false }` [INFO] [stdout] 9d8b82ff472b28c0dff0d9362a195eda91263553a2193971b4675542d6145098