[INFO] cloning repository https://github.com/sergeyanton/p2p-file-swapping [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sergeyanton/p2p-file-swapping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergeyanton%2Fp2p-file-swapping", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergeyanton%2Fp2p-file-swapping'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78c4a36f552999128caec68baa0a6eea830af636 [INFO] building sergeyanton/p2p-file-swapping against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergeyanton%2Fp2p-file-swapping" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sergeyanton/p2p-file-swapping [INFO] finished tweaking git repo https://github.com/sergeyanton/p2p-file-swapping [INFO] tweaked toml for git repo https://github.com/sergeyanton/p2p-file-swapping written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sergeyanton/p2p-file-swapping on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sergeyanton/p2p-file-swapping 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 708d3ce139e58b27e8051a67407d170516b80df32c777388c9c65fbfe9ed61e6 [INFO] running `Command { std: "docker" "start" "-a" "708d3ce139e58b27e8051a67407d170516b80df32c777388c9c65fbfe9ed61e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "708d3ce139e58b27e8051a67407d170516b80df32c777388c9c65fbfe9ed61e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708d3ce139e58b27e8051a67407d170516b80df32c777388c9c65fbfe9ed61e6", kill_on_drop: false }` [INFO] [stdout] 708d3ce139e58b27e8051a67407d170516b80df32c777388c9c65fbfe9ed61e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e19ccf5c9e6ba29855aaa1dd6dc80b1f9c32bce2df4fcad5176e682ecdd3293 [INFO] running `Command { std: "docker" "start" "-a" "7e19ccf5c9e6ba29855aaa1dd6dc80b1f9c32bce2df4fcad5176e682ecdd3293", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling bimap v0.6.3 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling clap_builder v4.5.36 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling neli v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling local-ip-address v0.4.9 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling clap v4.5.36 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling cbor4ii v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.43.0 [INFO] [stderr] Compiling libp2p-swarm v0.46.0 [INFO] [stderr] Compiling libp2p-tcp v0.43.0 [INFO] [stderr] Compiling libp2p-yamux v0.47.0 [INFO] [stderr] Compiling libp2p-noise v0.46.0 [INFO] [stderr] Compiling libp2p-request-response v0.28.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.5.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.48.0 [INFO] [stderr] Compiling libp2p-kad v0.47.0 [INFO] [stderr] Compiling libp2p-identify v0.46.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.5.0 [INFO] [stderr] Compiling libp2p-rendezvous v0.16.0 [INFO] [stderr] Compiling libp2p v0.55.0 [INFO] [stderr] Compiling p2p-file-swapping-assignment2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/barter.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, error::Error, io, time::Duration}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as other_io` [INFO] [stdout] --> src/barter.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | io::{self as other_io, AsyncBufReadExt, AsyncReadExt, BufReader, stdin}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multiaddr` [INFO] [stdout] --> src/rendezvous_server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Multiaddr, PeerId, identify, noise, rendezvous, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/rendezvous_server.rs:169:71 [INFO] [stdout] | [INFO] [stdout] 169 | if let identify::Event::Received { peer_id, info, connection_id } = e { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/chat_room.rs:952:41 [INFO] [stdout] | [INFO] [stdout] 945 | ... PresenceAction::Join | PresenceAction::Leave => { [INFO] [stdout] | -------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 952 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_id` [INFO] [stdout] --> src/chat_room.rs:607:33 [INFO] [stdout] | [INFO] [stdout] 607 | if let Some(server_id) = self.rendezvous_server { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id_obj` [INFO] [stdout] --> src/chat_room.rs:693:47 [INFO] [stdout] | [INFO] [stdout] 693 | ... if let Ok(peer_id_obj) = peer_id.parse::() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie` [INFO] [stdout] --> src/chat_room.rs:800:97 [INFO] [stdout] | [INFO] [stdout] 800 | rendezvous::client::Event::Discovered { rendezvous_node, registrations, cookie } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `cookie: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_barter_mode_with_keypair` is never used [INFO] [stdout] --> src/barter.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | pub async fn run_barter_mode_with_keypair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerInfo` is never constructed [INFO] [stdout] --> src/chat_room.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PeerInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "7e19ccf5c9e6ba29855aaa1dd6dc80b1f9c32bce2df4fcad5176e682ecdd3293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e19ccf5c9e6ba29855aaa1dd6dc80b1f9c32bce2df4fcad5176e682ecdd3293", kill_on_drop: false }` [INFO] [stdout] 7e19ccf5c9e6ba29855aaa1dd6dc80b1f9c32bce2df4fcad5176e682ecdd3293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d56d13c788ea611b0c7177be93d9ab68ca98428127ccdefc5c523168e15de669 [INFO] running `Command { std: "docker" "start" "-a" "d56d13c788ea611b0c7177be93d9ab68ca98428127ccdefc5c523168e15de669", kill_on_drop: false }` [INFO] [stderr] Compiling p2p-file-swapping-assignment2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/barter.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, error::Error, io, time::Duration}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self as other_io` [INFO] [stdout] --> src/barter.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | io::{self as other_io, AsyncBufReadExt, AsyncReadExt, BufReader, stdin}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multiaddr` [INFO] [stdout] --> src/rendezvous_server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Multiaddr, PeerId, identify, noise, rendezvous, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/rendezvous_server.rs:169:71 [INFO] [stdout] | [INFO] [stdout] 169 | if let identify::Event::Received { peer_id, info, connection_id } = e { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/chat_room.rs:952:41 [INFO] [stdout] | [INFO] [stdout] 945 | ... PresenceAction::Join | PresenceAction::Leave => { [INFO] [stdout] | -------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 952 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_id` [INFO] [stdout] --> src/chat_room.rs:607:33 [INFO] [stdout] | [INFO] [stdout] 607 | if let Some(server_id) = self.rendezvous_server { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id_obj` [INFO] [stdout] --> src/chat_room.rs:693:47 [INFO] [stdout] | [INFO] [stdout] 693 | ... if let Ok(peer_id_obj) = peer_id.parse::() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie` [INFO] [stdout] --> src/chat_room.rs:800:97 [INFO] [stdout] | [INFO] [stdout] 800 | rendezvous::client::Event::Discovered { rendezvous_node, registrations, cookie } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `cookie: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_barter_mode_with_keypair` is never used [INFO] [stdout] --> src/barter.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | pub async fn run_barter_mode_with_keypair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerInfo` is never constructed [INFO] [stdout] --> src/chat_room.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PeerInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.03s [INFO] running `Command { std: "docker" "inspect" "d56d13c788ea611b0c7177be93d9ab68ca98428127ccdefc5c523168e15de669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d56d13c788ea611b0c7177be93d9ab68ca98428127ccdefc5c523168e15de669", kill_on_drop: false }` [INFO] [stdout] d56d13c788ea611b0c7177be93d9ab68ca98428127ccdefc5c523168e15de669