[INFO] cloning repository https://github.com/bramvdbogaerde/tunneler-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bramvdbogaerde/tunneler-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Ftunneler-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Ftunneler-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec3b2bbebc750693ac6c72e26566169e25f973c0 [INFO] checking bramvdbogaerde/tunneler-rs/ec3b2bbebc750693ac6c72e26566169e25f973c0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Ftunneler-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bramvdbogaerde/tunneler-rs on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bramvdbogaerde/tunneler-rs [INFO] finished tweaking git repo https://github.com/bramvdbogaerde/tunneler-rs [INFO] tweaked toml for git repo https://github.com/bramvdbogaerde/tunneler-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bramvdbogaerde/tunneler-rs 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.0.0 [INFO] [stderr] Downloaded futures-sink v0.3.9 [INFO] [stderr] Downloaded mio v0.7.7 [INFO] [stderr] Downloaded futures-core v0.3.9 [INFO] [stderr] Downloaded futures-executor v0.3.9 [INFO] [stderr] Downloaded tokio-util v0.6.1 [INFO] [stderr] Downloaded futures-channel v0.3.9 [INFO] [stderr] Downloaded futures-io v0.3.9 [INFO] [stderr] Downloaded futures-macro v0.3.9 [INFO] [stderr] Downloaded futures-task v0.3.9 [INFO] [stderr] Downloaded futures-util v0.3.9 [INFO] [stderr] Downloaded futures v0.3.9 [INFO] [stderr] Downloaded tokio-stream v0.1.2 [INFO] [stderr] Downloaded tokio v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79ab61cde5c99be8d403f1003424d5bf983ae6bc710647203f0983e5b7148cc3 [INFO] running `Command { std: "docker" "start" "-a" "79ab61cde5c99be8d403f1003424d5bf983ae6bc710647203f0983e5b7148cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79ab61cde5c99be8d403f1003424d5bf983ae6bc710647203f0983e5b7148cc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79ab61cde5c99be8d403f1003424d5bf983ae6bc710647203f0983e5b7148cc3", kill_on_drop: false }` [INFO] [stdout] 79ab61cde5c99be8d403f1003424d5bf983ae6bc710647203f0983e5b7148cc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f62c64c17b66db7df15ba591d9d479427db91184e9c81bddb027e33859bbeac [INFO] running `Command { std: "docker" "start" "-a" "9f62c64c17b66db7df15ba591d9d479427db91184e9c81bddb027e33859bbeac", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-core v0.3.9 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking futures-sink v0.3.9 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-io v0.3.9 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking futures-channel v0.3.9 [INFO] [stderr] Checking futures-task v0.3.9 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.9 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Checking futures-util v0.3.9 [INFO] [stderr] Checking futures-executor v0.3.9 [INFO] [stderr] Checking futures v0.3.9 [INFO] [stderr] Checking tokio-stream v0.1.2 [INFO] [stderr] Checking tokio-util v0.6.1 [INFO] [stderr] Checking tunneler-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Decoder` and `Encoder` [INFO] [stdout] --> src/protocol.rs:321:33 [INFO] [stdout] | [INFO] [stdout] 321 | pub use tokio_util::codec::{Decoder, Encoder, Framed}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decoder` and `Encoder` [INFO] [stdout] --> src/protocol.rs:321:33 [INFO] [stdout] | [INFO] [stdout] 321 | pub use tokio_util::codec::{Decoder, Encoder, Framed}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let proxy = server::ProxyServer::new(3000, "0.0.0.0", tx); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/http_parser.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty` and `parse` are never used [INFO] [stdout] --> src/http_parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl HttpRequest { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 14 | fn empty() -> HttpRequest { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn parse(stream: &mut (impl AsyncRead + Unpin)) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `contents`, and `reply_to` are never read [INFO] [stdout] --> src/server/manager.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 25 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | pub reply_to: Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contents` is never read [INFO] [stdout] --> src/server/manager.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 31 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ManagerError` is never used [INFO] [stdout] --> src/server/manager.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum ManagerError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sender` is never read [INFO] [stdout] --> src/server/manager.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ManagerRef { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 40 | sender: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagerRef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `submit_request` is never used [INFO] [stdout] --> src/server/manager.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl ManagerRef { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn submit_request(&self, request: Request) -> Result<(), ManagerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connections` and `requests_receiver` are never read [INFO] [stdout] --> src/server/manager.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct ManagerInner { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 60 | /// A mapping from automatically generated names to connections [INFO] [stdout] 61 | connections: Mutex>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | /// A channel on which requests will arrive [INFO] [stdout] 63 | requests_receiver: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagerInner` 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 `inner` is never read [INFO] [stdout] --> src/server/manager.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Manager { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 78 | inner: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manager` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `port`, `host`, and `request_sender` are never read [INFO] [stdout] --> src/server/proxy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ProxyServer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | port: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | request_sender: ManagerRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyServer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `process` and `listen` are never used [INFO] [stdout] --> src/server/proxy.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 14 | impl ProxyServer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | async fn process(manager: ManagerRef, mut socket: TcpStream) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn listen(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> src/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let proxy = server::ProxyServer::new(3000, "0.0.0.0", tx); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/http_parser.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty` and `parse` are never used [INFO] [stdout] --> src/http_parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl HttpRequest { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 14 | fn empty() -> HttpRequest { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn parse(stream: &mut (impl AsyncRead + Unpin)) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `contents`, and `reply_to` are never read [INFO] [stdout] --> src/server/manager.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 25 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | pub reply_to: Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contents` is never read [INFO] [stdout] --> src/server/manager.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 31 | pub contents: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ManagerError` is never used [INFO] [stdout] --> src/server/manager.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum ManagerError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sender` is never read [INFO] [stdout] --> src/server/manager.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct ManagerRef { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 40 | sender: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagerRef` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `submit_request` is never used [INFO] [stdout] --> src/server/manager.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl ManagerRef { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn submit_request(&self, request: Request) -> Result<(), ManagerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connections` and `requests_receiver` are never read [INFO] [stdout] --> src/server/manager.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct ManagerInner { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 60 | /// A mapping from automatically generated names to connections [INFO] [stdout] 61 | connections: Mutex>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | /// A channel on which requests will arrive [INFO] [stdout] 63 | requests_receiver: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagerInner` 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 `inner` is never read [INFO] [stdout] --> src/server/manager.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Manager { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 78 | inner: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Manager` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `port`, `host`, and `request_sender` are never read [INFO] [stdout] --> src/server/proxy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ProxyServer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | port: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | request_sender: ManagerRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProxyServer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `process` and `listen` are never used [INFO] [stdout] --> src/server/proxy.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 14 | impl ProxyServer { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | async fn process(manager: ManagerRef, mut socket: TcpStream) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn listen(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RequestProxy`, `InitializeConnection`, `CloseConnection`, and `OverlayedPacket` are never constructed [INFO] [stdout] --> src/protocol.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum Packet { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 111 | RequestProxy { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | InitializeConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | CloseConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | OverlayedPacket { contents: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Packet` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `serialize` are never used [INFO] [stdout] --> src/protocol.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl Packet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 154 | /// Parses a packet from the given stream of bytes [INFO] [stdout] 155 | pub fn parse(bytes: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn serialize(&self) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.58s [INFO] running `Command { std: "docker" "inspect" "9f62c64c17b66db7df15ba591d9d479427db91184e9c81bddb027e33859bbeac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f62c64c17b66db7df15ba591d9d479427db91184e9c81bddb027e33859bbeac", kill_on_drop: false }` [INFO] [stdout] 9f62c64c17b66db7df15ba591d9d479427db91184e9c81bddb027e33859bbeac