[INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/flowithin/MChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flowithin/MChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a8ca9ee59ea7dee46e6116689e52951d137bdfc [INFO] checking flowithin/MChat against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflowithin%2FMChat" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flowithin/MChat on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/flowithin/MChat [INFO] finished tweaking git repo https://github.com/flowithin/MChat [INFO] tweaked toml for git repo https://github.com/flowithin/MChat written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/flowithin/MChat 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a70f92089947701ded8a209e24e3560467bc5254931c0a1ec13066089b560b9d [INFO] running `Command { std: "docker" "start" "-a" "a70f92089947701ded8a209e24e3560467bc5254931c0a1ec13066089b560b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a70f92089947701ded8a209e24e3560467bc5254931c0a1ec13066089b560b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70f92089947701ded8a209e24e3560467bc5254931c0a1ec13066089b560b9d", kill_on_drop: false }` [INFO] [stdout] a70f92089947701ded8a209e24e3560467bc5254931c0a1ec13066089b560b9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4470f6f8f6e65eb4277180f5213fe248fc2add7dbcf07bd019eeeb900af58cd9 [INFO] running `Command { std: "docker" "start" "-a" "4470f6f8f6e65eb4277180f5213fe248fc2add7dbcf07bd019eeeb900af58cd9", kill_on_drop: false }` [INFO] [stderr] Checking Server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `worker` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct worker { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Worker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `thread` are never read [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Server` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `server` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `worker` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct worker { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Worker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workers` is never read [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ThreadPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `thread` are never read [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | thread: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `message` should have an upper camel case name [INFO] [stdout] --> src/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum message{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unConnected` should have an upper camel case name [INFO] [stdout] --> src/main.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | unConnected{ip:SocketAddr,stream:Arc}, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `UnConnected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `New_message` should have an upper camel case name [INFO] [stdout] --> src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | New_message{str:String}, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NewMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `message` should have an upper camel case name [INFO] [stdout] --> src/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum message{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unConnected` should have an upper camel case name [INFO] [stdout] --> src/main.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | unConnected{ip:SocketAddr,stream:Arc}, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `UnConnected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `New_message` should have an upper camel case name [INFO] [stdout] --> src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | New_message{str:String}, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NewMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/main.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | message::unConnected{ip, stream}=>{ [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `stream: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn handle_connection(mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | / messages.send(message::New_message{str:message_content.to_string()}).map_err(|err| { [INFO] [stdout] 25 | | eprintln!("cannot send message ERROR : {err}"); [INFO] [stdout] 26 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = messages.send(message::New_message{str:message_content.to_string()}).map_err(|err| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / messages.send(message::unConnected{ip,stream:stream.clone()}).map_err(|err| { [INFO] [stdout] 32 | | eprintln!("cannot send message ERROR : {err}"); [INFO] [stdout] 33 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = messages.send(message::unConnected{ip,stream:stream.clone()}).map_err(|err| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Server` should have a snake case name [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn Server(messages: Receiver) -> () { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `server` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/main.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | message::unConnected{ip, stream}=>{ [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `stream: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn handle_connection(mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | / messages.send(message::New_message{str:message_content.to_string()}).map_err(|err| { [INFO] [stdout] 25 | | eprintln!("cannot send message ERROR : {err}"); [INFO] [stdout] 26 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = messages.send(message::New_message{str:message_content.to_string()}).map_err(|err| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / messages.send(message::unConnected{ip,stream:stream.clone()}).map_err(|err| { [INFO] [stdout] 32 | | eprintln!("cannot send message ERROR : {err}"); [INFO] [stdout] 33 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = messages.send(message::unConnected{ip,stream:stream.clone()}).map_err(|err| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Server` should have a snake case name [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn Server(messages: Receiver) -> () { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `server` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "4470f6f8f6e65eb4277180f5213fe248fc2add7dbcf07bd019eeeb900af58cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4470f6f8f6e65eb4277180f5213fe248fc2add7dbcf07bd019eeeb900af58cd9", kill_on_drop: false }` [INFO] [stdout] 4470f6f8f6e65eb4277180f5213fe248fc2add7dbcf07bd019eeeb900af58cd9