[INFO] cloning repository https://github.com/bishan-batel/pond-p2p [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bishan-batel/pond-p2p" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbishan-batel%2Fpond-p2p", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbishan-batel%2Fpond-p2p'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e7aa7dc011c7bb460793ac877c967b9f1163a58 [INFO] building bishan-batel/pond-p2p against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbishan-batel%2Fpond-p2p" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bishan-batel/pond-p2p [INFO] finished tweaking git repo https://github.com/bishan-batel/pond-p2p [INFO] tweaked toml for git repo https://github.com/bishan-batel/pond-p2p written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bishan-batel/pond-p2p on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bishan-batel/pond-p2p 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clipboard-win v5.4.0 [INFO] [stderr] Downloaded fd-lock v4.0.2 [INFO] [stderr] Downloaded error-code v3.3.1 [INFO] [stderr] Downloaded instability v0.3.3 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.97 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.97 [INFO] [stderr] Downloaded thiserror-impl v2.0.4 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.97 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.97 [INFO] [stderr] Downloaded clap_lex v0.7.3 [INFO] [stderr] Downloaded clap v4.5.22 [INFO] [stderr] Downloaded js-sys v0.3.74 [INFO] [stderr] Downloaded owo-colors v3.5.0 [INFO] [stderr] Downloaded clap_builder v4.5.22 [INFO] [stderr] Downloaded rustyline v15.0.0 [INFO] [stderr] Downloaded tui-textarea v0.7.0 [INFO] [stderr] Downloaded thiserror v2.0.4 [INFO] [stderr] Downloaded tracing-error v0.2.1 [INFO] [stderr] Downloaded color-spantrace v0.2.1 [INFO] [stderr] Downloaded fern v0.7.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.97 [INFO] [stderr] Downloaded libc v0.2.167 [INFO] [stderr] Downloaded color-eyre v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20c7ca8b3fab28517f294a8e84f816b76c8238b05b3a57f42f899e8ee63bc3b7 [INFO] running `Command { std: "docker" "start" "-a" "20c7ca8b3fab28517f294a8e84f816b76c8238b05b3a57f42f899e8ee63bc3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20c7ca8b3fab28517f294a8e84f816b76c8238b05b3a57f42f899e8ee63bc3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c7ca8b3fab28517f294a8e84f816b76c8238b05b3a57f42f899e8ee63bc3b7", kill_on_drop: false }` [INFO] [stdout] 20c7ca8b3fab28517f294a8e84f816b76c8238b05b3a57f42f899e8ee63bc3b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21f11f87d1afbe4cc156358ae6bc22a4a31950b014e1ace70148906f61d47fdb [INFO] running `Command { std: "docker" "start" "-a" "21f11f87d1afbe4cc156358ae6bc22a4a31950b014e1ace70148906f61d47fdb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling thiserror v2.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling clap_builder v4.5.22 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling pond v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling fern v0.7.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v2.0.4 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling instability v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling fd-lock v4.0.2 [INFO] [stderr] Compiling rustyline v15.0.0 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tui-textarea v0.7.0 [INFO] [stdout] warning: unused imports: `default` and `io::stdout` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{default, fs::File, io::stdout, sync::Arc}; [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: `TryStreamExt` [INFO] [stdout] --> src/main.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::{SinkExt, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user::Username` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | user::Username, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::error::ReadlineError` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rustyline::error::ReadlineError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncWriteExt`, `BufReader`, and `TcpListener` [INFO] [stdout] --> src/main.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | io::{AsyncReadExt, AsyncWriteExt, BufReader}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 21 | net::{TcpListener, TcpStream}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/main.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio_util::codec::{BytesCodec, FramedRead, FramedWrite, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/net/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `sync::Arc` [INFO] [stdout] --> src/net/server.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::broadcast` [INFO] [stdout] --> src/net/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | sync::broadcast, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/net/server.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio_util::codec::{BytesCodec, FramedRead, FramedWrite, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/net/server.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | user::{User, Username}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/net/user.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, ops::Deref, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ser::SerializeStruct` [INFO] [stdout] --> src/net/user.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ser::SerializeStruct, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | io::{AsyncReadExt, AsyncWriteExt, BufReader}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ui(frame: &mut Frame, app: &App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [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/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(line) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 99 | Err(err) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 103 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | Commands::Server { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Main` is never used [INFO] [stdout] --> src/app.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Main {} [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 `App` is never constructed [INFO] [stdout] --> src/app.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pond` is never constructed [INFO] [stdout] --> src/pond.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Pond { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui` is never used [INFO] [stdout] --> src/ui.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ui(frame: &mut Frame, app: &App) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.65s [INFO] running `Command { std: "docker" "inspect" "21f11f87d1afbe4cc156358ae6bc22a4a31950b014e1ace70148906f61d47fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f11f87d1afbe4cc156358ae6bc22a4a31950b014e1ace70148906f61d47fdb", kill_on_drop: false }` [INFO] [stdout] 21f11f87d1afbe4cc156358ae6bc22a4a31950b014e1ace70148906f61d47fdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 750fb90758e4cea9d28cd6adf2ff3e3413664aad440af657fe9eddbf90259ce1 [INFO] running `Command { std: "docker" "start" "-a" "750fb90758e4cea9d28cd6adf2ff3e3413664aad440af657fe9eddbf90259ce1", kill_on_drop: false }` [INFO] [stderr] Compiling pond v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `default` and `io::stdout` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{default, fs::File, io::stdout, sync::Arc}; [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: `TryStreamExt` [INFO] [stdout] --> src/main.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::{SinkExt, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use log::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user::Username` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | user::Username, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::error::ReadlineError` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rustyline::error::ReadlineError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncWriteExt`, `BufReader`, and `TcpListener` [INFO] [stdout] --> src/main.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | io::{AsyncReadExt, AsyncWriteExt, BufReader}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 21 | net::{TcpListener, TcpStream}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/main.rs:23:62 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio_util::codec::{BytesCodec, FramedRead, FramedWrite, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/net/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `sync::Arc` [INFO] [stdout] --> src/net/server.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::broadcast` [INFO] [stdout] --> src/net/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | sync::broadcast, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/net/server.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio_util::codec::{BytesCodec, FramedRead, FramedWrite, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/net/server.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | user::{User, Username}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/net/user.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, ops::Deref, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ser::SerializeStruct` [INFO] [stdout] --> src/net/user.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ser::SerializeStruct, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | io::{AsyncReadExt, AsyncWriteExt, BufReader}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ui(frame: &mut Frame, app: &App) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [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/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(line) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 99 | Err(err) => { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 103 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | Commands::Server { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Main` is never used [INFO] [stdout] --> src/app.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Main {} [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 `App` is never constructed [INFO] [stdout] --> src/app.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pond` is never constructed [INFO] [stdout] --> src/pond.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Pond { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui` is never used [INFO] [stdout] --> src/ui.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ui(frame: &mut Frame, app: &App) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "750fb90758e4cea9d28cd6adf2ff3e3413664aad440af657fe9eddbf90259ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "750fb90758e4cea9d28cd6adf2ff3e3413664aad440af657fe9eddbf90259ce1", kill_on_drop: false }` [INFO] [stdout] 750fb90758e4cea9d28cd6adf2ff3e3413664aad440af657fe9eddbf90259ce1