[INFO] cloning repository https://github.com/raha0301/swapbytes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raha0301/swapbytes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraha0301%2Fswapbytes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraha0301%2Fswapbytes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e97af8cb3eb0cc244541b5c22dc684130c23c42 [INFO] checking raha0301/swapbytes/1e97af8cb3eb0cc244541b5c22dc684130c23c42 against master#0ee5907d597b02afadb5daa26a60fedb72f098d1 for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraha0301%2Fswapbytes" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raha0301/swapbytes [INFO] finished tweaking git repo https://github.com/raha0301/swapbytes [INFO] tweaked toml for git repo https://github.com/raha0301/swapbytes written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raha0301/swapbytes on toolchain 0ee5907d597b02afadb5daa26a60fedb72f098d1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0ee5907d597b02afadb5daa26a60fedb72f098d1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raha0301/swapbytes already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0ee5907d597b02afadb5daa26a60fedb72f098d1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded data-encoding-macro v0.1.18 [INFO] [stderr] Downloaded libp2p-connection-limits v0.3.1 [INFO] [stderr] Downloaded libp2p-dns v0.41.1 [INFO] [stderr] Downloaded libp2p-metrics v0.14.1 [INFO] [stderr] Downloaded futures-ticker v0.0.3 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.3.0 [INFO] [stderr] Downloaded libp2p-request-response v0.26.3 [INFO] [stderr] Downloaded resolv-conf v0.7.1 [INFO] [stderr] Downloaded windows-core v0.53.0 [INFO] [stderr] Downloaded prometheus-client v0.22.3 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded libp2p-gossipsub v0.46.1 [INFO] [stderr] Downloaded libp2p-kad v0.45.3 [INFO] [stderr] Downloaded libp2p-swarm v0.44.2 [INFO] [stderr] Downloaded rsa v0.8.2 [INFO] [stderr] Downloaded libp2p-core v0.41.3 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded libp2p v0.53.2 [INFO] [stderr] Downloaded libp2p-mdns v0.45.1 [INFO] [stderr] Downloaded libp2p-identify v0.44.2 [INFO] [stderr] Downloaded pkcs1 v0.4.1 [INFO] [stderr] Downloaded libp2p-tcp v0.41.0 [INFO] [stderr] Downloaded libp2p-identity v0.2.10 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.16 [INFO] [stderr] Downloaded ratatui v0.23.0 [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded windows v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0ee5907d597b02afadb5daa26a60fedb72f098d1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57bf63e13abe659e6762960812c00c1746f31e7c58bcbe8986fc616575b925db [INFO] running `Command { std: "docker" "start" "-a" "57bf63e13abe659e6762960812c00c1746f31e7c58bcbe8986fc616575b925db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57bf63e13abe659e6762960812c00c1746f31e7c58bcbe8986fc616575b925db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57bf63e13abe659e6762960812c00c1746f31e7c58bcbe8986fc616575b925db", kill_on_drop: false }` [INFO] [stdout] 57bf63e13abe659e6762960812c00c1746f31e7c58bcbe8986fc616575b925db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0ee5907d597b02afadb5daa26a60fedb72f098d1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 947957862e2706bc50700806692a728d851dc07c82f1ef104842acbccb6fddca [INFO] running `Command { std: "docker" "start" "-a" "947957862e2706bc50700806692a728d851dc07c82f1ef104842acbccb6fddca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking resolv-conf v0.7.1 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking num-bigint-dig v0.8.4 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking pkcs1 v0.4.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking rsa v0.8.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking netlink-packet-route v0.17.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking libp2p-identity v0.2.10 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking futures-ticker v0.0.3 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking netlink-proto v0.11.5 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking rtnetlink v0.13.1 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking if-watch v3.2.1 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking ratatui v0.23.0 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking libp2p-core v0.41.3 [INFO] [stderr] Checking libp2p-swarm v0.44.2 [INFO] [stderr] Checking libp2p-tcp v0.41.0 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking libp2p-connection-limits v0.3.1 [INFO] [stderr] Checking libp2p-gossipsub v0.46.1 [INFO] [stderr] Checking libp2p-request-response v0.26.3 [INFO] [stderr] Checking libp2p-kad v0.45.3 [INFO] [stderr] Checking libp2p-allow-block-list v0.3.0 [INFO] [stderr] Checking libp2p-identify v0.44.2 [INFO] [stderr] Checking libp2p-mdns v0.45.1 [INFO] [stderr] Checking libp2p-dns v0.41.1 [INFO] [stderr] Checking libp2p v0.53.2 [INFO] [stderr] Checking swapbytes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `libp2p::gossipsub::Gossipsub`, `libp2p::gossipsub::GossipsubConfig`, `libp2p::mdns::Mdns`, `libp2p::mdns::MdnsConfig`, `libp2p::kad::Kademlia`, `libp2p::NetworkBehaviour`, `libp2p::noise`, `libp2p::tcp::TcpConfig`, `libp2p::yamux`, `libp2p::mplex` [INFO] [stdout] --> src/network.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | gossipsub::{Gossipsub, GossipsubConfig, MessageAuthenticity, IdentTopic}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ no `GossipsubConfig` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Gossipsub` in the root [INFO] [stdout] 4 | mdns::{Mdns, MdnsConfig}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ no `MdnsConfig` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Mdns` in the root [INFO] [stdout] 5 | kad::{Kademlia, store::MemoryStore}, [INFO] [stdout] | ^^^^^^^^ no `Kademlia` in the root [INFO] [stdout] 6 | NetworkBehaviour, swarm::Swarm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `NetworkBehaviour` in the root [INFO] [stdout] 7 | noise, tcp::TcpConfig, yamux, mplex, core::upgrade, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ no `mplex` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `yamux` in the root [INFO] [stdout] | | no `TcpConfig` in the root [INFO] [stdout] | no `noise` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-0.53.2/src/lib.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "noise")] [INFO] [stdout] | ----------------- the item is gated behind the `noise` feature [INFO] [stdout] 85 | #[doc(inline)] [INFO] [stdout] 86 | pub use libp2p_noise as noise; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-0.53.2/src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "yamux")] [INFO] [stdout] | ----------------- the item is gated behind the `yamux` feature [INFO] [stdout] 141 | #[doc(inline)] [INFO] [stdout] 142 | pub use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 - noise, tcp::TcpConfig, yamux, mplex, core::upgrade, [INFO] [stdout] 7 + noise, tcp::Config, yamux, mplex, core::upgrade, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p::gossipsub::GossipsubEvent` [INFO] [stdout] --> src/chat.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use libp2p::{swarm::Swarm, gossipsub::{IdentTopic, GossipsubEvent}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `GossipsubEvent` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libp2p::gossipsub::Gossipsub`, `libp2p::gossipsub::GossipsubConfig`, `libp2p::mdns::Mdns`, `libp2p::mdns::MdnsConfig`, `libp2p::kad::Kademlia`, `libp2p::NetworkBehaviour`, `libp2p::noise`, `libp2p::tcp::TcpConfig`, `libp2p::yamux`, `libp2p::mplex` [INFO] [stdout] --> src/network.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | gossipsub::{Gossipsub, GossipsubConfig, MessageAuthenticity, IdentTopic}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ no `GossipsubConfig` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Gossipsub` in the root [INFO] [stdout] 4 | mdns::{Mdns, MdnsConfig}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ no `MdnsConfig` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Mdns` in the root [INFO] [stdout] 5 | kad::{Kademlia, store::MemoryStore}, [INFO] [stdout] | ^^^^^^^^ no `Kademlia` in the root [INFO] [stdout] 6 | NetworkBehaviour, swarm::Swarm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `NetworkBehaviour` in the root [INFO] [stdout] 7 | noise, tcp::TcpConfig, yamux, mplex, core::upgrade, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ no `mplex` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `yamux` in the root [INFO] [stdout] | | no `TcpConfig` in the root [INFO] [stdout] | no `noise` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-0.53.2/src/lib.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg(feature = "noise")] [INFO] [stdout] | ----------------- the item is gated behind the `noise` feature [INFO] [stdout] 85 | #[doc(inline)] [INFO] [stdout] 86 | pub use libp2p_noise as noise; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-0.53.2/src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 140 | #[cfg(feature = "yamux")] [INFO] [stdout] | ----------------- the item is gated behind the `yamux` feature [INFO] [stdout] 141 | #[doc(inline)] [INFO] [stdout] 142 | pub use libp2p_yamux as yamux; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 - noise, tcp::TcpConfig, yamux, mplex, core::upgrade, [INFO] [stdout] 7 + noise, tcp::Config, yamux, mplex, core::upgrade, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libp2p::gossipsub::GossipsubEvent` [INFO] [stdout] --> src/chat.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use libp2p::{swarm::Swarm, gossipsub::{IdentTopic, GossipsubEvent}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `GossipsubEvent` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `NetworkBehaviourEventProcess` in `swarm` [INFO] [stdout] --> src/chat.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | libp2p::swarm::NetworkBehaviourEventProcess::Gossipsub(GossipsubEvent::Message { message, .. }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `NetworkBehaviourEventProcess` in `swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `development_transport` in crate `libp2p` [INFO] [stdout] --> src/network.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let transport = libp2p::development_transport(id_keys.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::upgrade` [INFO] [stdout] --> src/network.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | noise, tcp::TcpConfig, yamux, mplex, core::upgrade, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `NetworkBehaviourEventProcess` in `swarm` [INFO] [stdout] --> src/chat.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | libp2p::swarm::NetworkBehaviourEventProcess::Gossipsub(GossipsubEvent::Message { message, .. }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `NetworkBehaviourEventProcess` in `swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `development_transport` in crate `libp2p` [INFO] [stdout] --> src/network.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let transport = libp2p::development_transport(id_keys.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `libp2p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::upgrade` [INFO] [stdout] --> src/network.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | noise, tcp::TcpConfig, yamux, mplex, core::upgrade, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/chat.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn handle_chat(swarm: &mut Swarm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/chat.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn handle_chat(swarm: &mut Swarm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/file_transfer.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handle_file_requests(_swarm: &mut Swarm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/ui.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn run_ui(swarm: &mut Swarm, config: Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/file_transfer.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handle_file_requests(_swarm: &mut Swarm) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/ui.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn run_ui(swarm: &mut Swarm, config: Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/network.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | Swarm::new(transport, behaviour, peer_id) [INFO] [stdout] | ---------- ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm::::new` [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/network.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Swarm::new(transport, behaviour, peer_id) [INFO] [stdout] | ^^^^^^^^^^------------------------------- argument #4 of type `libp2p::libp2p_swarm::Config` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 35 | Swarm::new(transport, behaviour, peer_id, /* libp2p::libp2p_swarm::Config */) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/network.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Swarm::new(transport, behaviour, peer_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/network.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn build_swarm(nickname: String) -> Swarm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/network.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | Swarm::new(transport, behaviour, peer_id) [INFO] [stdout] | ---------- ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm::::new` [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/network.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Swarm::new(transport, behaviour, peer_id) [INFO] [stdout] | ^^^^^^^^^^------------------------------- argument #4 of type `libp2p::libp2p_swarm::Config` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 35 | Swarm::new(transport, behaviour, peer_id, /* libp2p::libp2p_swarm::Config */) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/network.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Swarm::new(transport, behaviour, peer_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/network.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn build_swarm(nickname: String) -> Swarm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select_next_some` exists for mutable reference `&mut Swarm`, but its trait bounds were not satisfied [INFO] [stdout] --> src/chat.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(event) = swarm.select_next_some().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method cannot be called on `&mut Swarm` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ---------------------------- doesn't satisfy `Swarm: futures::StreamExt` or `Swarm: futures::Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Swarm: futures::Stream` [INFO] [stdout] which is required by `Swarm: futures::StreamExt` [INFO] [stdout] `&mut Swarm: futures::Stream` [INFO] [stdout] which is required by `&mut Swarm: futures::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select_next_some` exists for mutable reference `&mut Swarm`, but its trait bounds were not satisfied [INFO] [stdout] --> src/chat.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(event) = swarm.select_next_some().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method cannot be called on `&mut Swarm` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ---------------------------- doesn't satisfy `Swarm: futures::StreamExt` or `Swarm: futures::Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Swarm: futures::Stream` [INFO] [stdout] which is required by `Swarm: futures::StreamExt` [INFO] [stdout] `&mut Swarm: futures::Stream` [INFO] [stdout] which is required by `&mut Swarm: futures::StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/file_transfer.rs:4:69 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handle_file_requests(_swarm: &mut Swarm) { [INFO] [stdout] | ^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/ui.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn run_ui(swarm: &mut Swarm, config: Config) { [INFO] [stdout] | ^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/file_transfer.rs:4:69 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handle_file_requests(_swarm: &mut Swarm) { [INFO] [stdout] | ^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/main.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 18 | let mut swarm = build_swarm(config.nickname.clone()).await; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/main.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | task::spawn(chat::handle_chat(&mut swarm)); [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/main.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | task::spawn(file_transfer::handle_file_requests(&mut swarm)); [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | ui::run_ui(&mut swarm, config).await; [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/ui.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn run_ui(swarm: &mut Swarm, config: Config) { [INFO] [stdout] | ^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/main.rs:18:58 [INFO] [stdout] | [INFO] [stdout] 18 | let mut swarm = build_swarm(config.nickname.clone()).await; [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/main.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | task::spawn(chat::handle_chat(&mut swarm)); [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/main.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | task::spawn(file_transfer::handle_file_requests(&mut swarm)); [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SwapBehaviour: NetworkBehaviour` is not satisfied [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | ui::run_ui(&mut swarm, config).await; [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `NetworkBehaviour` is not implemented for `SwapBehaviour` [INFO] [stdout] --> src/network.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SwapBehaviour { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `NetworkBehaviour`: [INFO] [stdout] Toggle [INFO] [stdout] itertools::Either [INFO] [stdout] libp2p::libp2p_allow_block_list::Behaviour [INFO] [stdout] libp2p::libp2p_connection_limits::Behaviour [INFO] [stdout] libp2p::libp2p_gossipsub::Behaviour [INFO] [stdout] libp2p::libp2p_identify::Behaviour [INFO] [stdout] libp2p::libp2p_kad::Behaviour [INFO] [stdout] libp2p::libp2p_mdns::Behaviour

[INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `Swarm` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-swarm-0.44.2/src/lib.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Swarm [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 321 | where [INFO] [stdout] 322 | TBehaviour: NetworkBehaviour, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Swarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swapbytes` (bin "swapbytes" test) due to 18 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `swapbytes` (bin "swapbytes") due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "947957862e2706bc50700806692a728d851dc07c82f1ef104842acbccb6fddca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947957862e2706bc50700806692a728d851dc07c82f1ef104842acbccb6fddca", kill_on_drop: false }` [INFO] [stdout] 947957862e2706bc50700806692a728d851dc07c82f1ef104842acbccb6fddca