[INFO] cloning repository https://github.com/joelittyab-git/rust-raw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelittyab-git/rust-raw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelittyab-git%2Frust-raw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelittyab-git%2Frust-raw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4093e61b6c75c86ed3a7a80cb75395415db400c5 [INFO] checking joelittyab-git/rust-raw against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelittyab-git%2Frust-raw" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joelittyab-git/rust-raw on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joelittyab-git/rust-raw [INFO] finished tweaking git repo https://github.com/joelittyab-git/rust-raw [INFO] tweaked toml for git repo https://github.com/joelittyab-git/rust-raw written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joelittyab-git/rust-raw 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7b82fd326a6f18a3de035db39d5c9c9f80a7d8208a45b24e06372c30be7977 [INFO] running `Command { std: "docker" "start" "-a" "8d7b82fd326a6f18a3de035db39d5c9c9f80a7d8208a45b24e06372c30be7977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7b82fd326a6f18a3de035db39d5c9c9f80a7d8208a45b24e06372c30be7977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7b82fd326a6f18a3de035db39d5c9c9f80a7d8208a45b24e06372c30be7977", kill_on_drop: false }` [INFO] [stdout] 8d7b82fd326a6f18a3de035db39d5c9c9f80a7d8208a45b24e06372c30be7977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bf3390e91694a0cb1a6d61a2029f2ef13c10aa10e8d469e57177426b7cf3d28 [INFO] running `Command { std: "docker" "start" "-a" "5bf3390e91694a0cb1a6d61a2029f2ef13c10aa10e8d469e57177426b7cf3d28", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking raw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::u64::MAX` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::u64::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataTransferProtocol`, `Data`, and `self` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use server::protocol::{self, Data, DataTransferProtocol}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `net::TcpStream` [INFO] [stdout] --> src/server/middleware/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, net::TcpStream}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `development` [INFO] [stdout] --> src/server/auth/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature="development")] [INFO] [stdout] | ^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"developement"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `developement` [INFO] [stdout] = help: consider adding `development` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `development` [INFO] [stdout] --> src/server/auth/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature="development")] [INFO] [stdout] | ^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"developement"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `developement` [INFO] [stdout] = help: consider adding `development` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::u64::MAX` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::u64::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `development` [INFO] [stdout] --> src/server/auth/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature="development")] [INFO] [stdout] | ^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"developement"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `developement` [INFO] [stdout] = help: consider adding `development` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataTransferProtocol`, `Data`, and `self` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use server::protocol::{self, Data, DataTransferProtocol}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | if(inp.contains('a')){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - if(inp.contains('a')){ [INFO] [stdout] 35 + if inp.contains('a') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `net::TcpStream` [INFO] [stdout] --> src/server/middleware/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, net::TcpStream}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `development` [INFO] [stdout] --> src/server/auth/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature="development")] [INFO] [stdout] | ^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"developement"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `developement` [INFO] [stdout] = help: consider adding `development` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `development` [INFO] [stdout] --> src/server/auth/mod.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature="development")] [INFO] [stdout] | ^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"developement"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `developement` [INFO] [stdout] = help: consider adding `development` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `development` [INFO] [stdout] --> src/server/auth/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature="development")] [INFO] [stdout] | ^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"developement"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `developement` [INFO] [stdout] = help: consider adding `development` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | if(inp.contains('a')){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - if(inp.contains('a')){ [INFO] [stdout] 35 + if inp.contains('a') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/server/protocol/mod.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ParsedData{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | raw:Data, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Utf16` is never constructed [INFO] [stdout] --> src/server/protocol/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Data { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 101 | Utf8([u8;1024]), [INFO] [stdout] 102 | Utf16([u16;1024]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_client_id` is never used [INFO] [stdout] --> src/server/protocol/pto.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Proto { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn get_client_id(&self)->&I; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/server/protocol/pto.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 52 | impl BaseProto{ [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn from>(c:T)->BaseProto{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidIdentifier` and `ServerError` are never constructed [INFO] [stdout] --> src/server/protocol/res.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 10 | Success, [INFO] [stdout] 11 | InvalidIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ServerError [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StreamReadError` and `ProtocolError` are never constructed [INFO] [stdout] --> src/server/error.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ServerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | StreamReadError(Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | ProtocolError(ProtocolError), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ChannelSendError` is never constructed [INFO] [stdout] --> src/server/error.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ThreadError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 30 | ChannelReceiveError(RecvError), [INFO] [stdout] 31 | ChannelSendError(RecvError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transmit` is never read [INFO] [stdout] --> src/server/handler.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StreamHandler

[INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | transmit:TransmitService, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/server/handler.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 47 | impl > StreamHandler

{ [INFO] [stdout] | -------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn new(tcp_stream:TcpStream, protocol:P, service:TransmitService)->Result{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `thread_handle` and `channel_rx` are never read [INFO] [stdout] --> src/server/container.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ClientSenderContainer{ [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 43 | id:u64, [INFO] [stdout] 44 | thread_handle:JoinHandle<()>, //thread handle for the incoming request listener [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | channel_rx:Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientSenderContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_handle` is never read [INFO] [stdout] --> src/server/container.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ClientReceiverContainer{ [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 76 | id:u64, [INFO] [stdout] 77 | thread_handle:JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientReceiverContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop`, `get_id`, and `get_thread_handle` are never used [INFO] [stdout] --> src/server/container.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 82 | impl <'s,T>ClientReceiverContainer { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn drop(self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_id(&self)->u64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_thread_handle(&self)->&JoinHandle<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop`, `get_id`, `get_receiver`, `get_thread_handle`, and `get_alias` are never used [INFO] [stdout] --> src/server/container.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 129 | impl ClientSenderContainer { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn drop(self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn get_id(&self)->u64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_receiver(&mut self)->Option>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn get_thread_handle(&self)->&JoinHandle<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get_alias(&self)->&String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/server/protocol/mod.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ParsedData{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | raw:Data, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Utf16` is never constructed [INFO] [stdout] --> src/server/protocol/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Data { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 101 | Utf8([u8;1024]), [INFO] [stdout] 102 | Utf16([u16;1024]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_client_id` is never used [INFO] [stdout] --> src/server/protocol/pto.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Proto { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn get_client_id(&self)->&I; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/server/protocol/pto.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 52 | impl BaseProto{ [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn from>(c:T)->BaseProto{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidIdentifier` and `ServerError` are never constructed [INFO] [stdout] --> src/server/protocol/res.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 10 | Success, [INFO] [stdout] 11 | InvalidIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ServerError [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StreamReadError` and `ProtocolError` are never constructed [INFO] [stdout] --> src/server/error.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ServerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | StreamReadError(Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | ProtocolError(ProtocolError), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ChannelSendError` is never constructed [INFO] [stdout] --> src/server/error.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ThreadError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 30 | ChannelReceiveError(RecvError), [INFO] [stdout] 31 | ChannelSendError(RecvError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transmit` is never read [INFO] [stdout] --> src/server/handler.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StreamHandler

[INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | transmit:TransmitService, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/server/handler.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 47 | impl > StreamHandler

{ [INFO] [stdout] | -------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn new(tcp_stream:TcpStream, protocol:P, service:TransmitService)->Result{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `thread_handle` and `channel_rx` are never read [INFO] [stdout] --> src/server/container.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ClientSenderContainer{ [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 43 | id:u64, [INFO] [stdout] 44 | thread_handle:JoinHandle<()>, //thread handle for the incoming request listener [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | channel_rx:Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientSenderContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_handle` is never read [INFO] [stdout] --> src/server/container.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ClientReceiverContainer{ [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 76 | id:u64, [INFO] [stdout] 77 | thread_handle:JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientReceiverContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop`, `get_id`, and `get_thread_handle` are never used [INFO] [stdout] --> src/server/container.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 82 | impl <'s,T>ClientReceiverContainer { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn drop(self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_id(&self)->u64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_thread_handle(&self)->&JoinHandle<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop`, `get_id`, `get_receiver`, `get_thread_handle`, and `get_alias` are never used [INFO] [stdout] --> src/server/container.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 129 | impl ClientSenderContainer { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn drop(self){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn get_id(&self)->u64{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_receiver(&mut self)->Option>{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn get_thread_handle(&self)->&JoinHandle<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get_alias(&self)->&String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.35s [INFO] running `Command { std: "docker" "inspect" "5bf3390e91694a0cb1a6d61a2029f2ef13c10aa10e8d469e57177426b7cf3d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf3390e91694a0cb1a6d61a2029f2ef13c10aa10e8d469e57177426b7cf3d28", kill_on_drop: false }` [INFO] [stdout] 5bf3390e91694a0cb1a6d61a2029f2ef13c10aa10e8d469e57177426b7cf3d28