[INFO] cloning repository https://github.com/watchgou/tokio-socket [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/watchgou/tokio-socket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatchgou%2Ftokio-socket", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatchgou%2Ftokio-socket'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2820b005b8c004cf5bdab0a1a4c115c0646b5c55 [INFO] checking watchgou/tokio-socket against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatchgou%2Ftokio-socket" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/watchgou/tokio-socket on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/watchgou/tokio-socket [INFO] finished tweaking git repo https://github.com/watchgou/tokio-socket [INFO] tweaked toml for git repo https://github.com/watchgou/tokio-socket written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/watchgou/tokio-socket 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 256b58155d6819d05f59d62216a925ce1047a23052b6cb18bc08aecd7c474fc6 [INFO] running `Command { std: "docker" "start" "-a" "256b58155d6819d05f59d62216a925ce1047a23052b6cb18bc08aecd7c474fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256b58155d6819d05f59d62216a925ce1047a23052b6cb18bc08aecd7c474fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256b58155d6819d05f59d62216a925ce1047a23052b6cb18bc08aecd7c474fc6", kill_on_drop: false }` [INFO] [stdout] 256b58155d6819d05f59d62216a925ce1047a23052b6cb18bc08aecd7c474fc6 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71a56ccc92f392173f5403971552f2988f765d1195565ed5da941167df288e33 [INFO] running `Command { std: "docker" "start" "-a" "71a56ccc92f392173f5403971552f2988f765d1195565ed5da941167df288e33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling protobuf v3.4.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking protobuf-support v3.4.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-socket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let mut response = ResponseDecode { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/client.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | for i in 1..80 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let mut response = ResponseDecode { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/client.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_msg` is never read [INFO] [stdout] --> src/codes/decode.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ResponseDecode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 12 | pub stream: TcpStream, [INFO] [stdout] 13 | pub req_msg: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `req_msg` are never read [INFO] [stdout] --> src/codes/encode.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RequestEncode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | pub stream: TcpStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub req_msg: RequestMessage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/codes/encode.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl RequestEncode { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 46 | pub async fn send(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/client.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | for i in 1..80 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/client.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_msg` is never read [INFO] [stdout] --> src/codes/decode.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ResponseDecode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 12 | pub stream: TcpStream, [INFO] [stdout] 13 | pub req_msg: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `req_msg` are never read [INFO] [stdout] --> src/codes/encode.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RequestEncode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | pub stream: TcpStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub req_msg: RequestMessage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/codes/encode.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl RequestEncode { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 46 | pub async fn send(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.61s [INFO] running `Command { std: "docker" "inspect" "71a56ccc92f392173f5403971552f2988f765d1195565ed5da941167df288e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a56ccc92f392173f5403971552f2988f765d1195565ed5da941167df288e33", kill_on_drop: false }` [INFO] [stdout] 71a56ccc92f392173f5403971552f2988f765d1195565ed5da941167df288e33 [INFO] checking watchgou/tokio-socket against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatchgou%2Ftokio-socket" "/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/watchgou/tokio-socket on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/watchgou/tokio-socket [INFO] finished tweaking git repo https://github.com/watchgou/tokio-socket [INFO] tweaked toml for git repo https://github.com/watchgou/tokio-socket written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/watchgou/tokio-socket 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4b972ae3d7d916237e5fde5cf8c08d08a14777aded9e1de2930ff04d145772c [INFO] running `Command { std: "docker" "start" "-a" "b4b972ae3d7d916237e5fde5cf8c08d08a14777aded9e1de2930ff04d145772c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4b972ae3d7d916237e5fde5cf8c08d08a14777aded9e1de2930ff04d145772c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b972ae3d7d916237e5fde5cf8c08d08a14777aded9e1de2930ff04d145772c", kill_on_drop: false }` [INFO] [stdout] b4b972ae3d7d916237e5fde5cf8c08d08a14777aded9e1de2930ff04d145772c [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19a30a11314ef54ffb8129722f178b1d613ec0333349c828c3f1c7ca8b77a521 [INFO] running `Command { std: "docker" "start" "-a" "19a30a11314ef54ffb8129722f178b1d613ec0333349c828c3f1c7ca8b77a521", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling protobuf v3.4.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking protobuf-support v3.4.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-socket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let mut response = ResponseDecode { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/client.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | for i in 1..80 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/client.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_msg` is never read [INFO] [stdout] --> src/codes/decode.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ResponseDecode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 12 | pub stream: TcpStream, [INFO] [stdout] 13 | pub req_msg: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `req_msg` are never read [INFO] [stdout] --> src/codes/encode.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RequestEncode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | pub stream: TcpStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub req_msg: RequestMessage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/codes/encode.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl RequestEncode { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 46 | pub async fn send(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let mut response = ResponseDecode { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/client.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | for i in 1..80 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/client.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_msg` is never read [INFO] [stdout] --> src/codes/decode.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ResponseDecode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 12 | pub stream: TcpStream, [INFO] [stdout] 13 | pub req_msg: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `req_msg` are never read [INFO] [stdout] --> src/codes/encode.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RequestEncode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | pub stream: TcpStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub req_msg: RequestMessage, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/codes/encode.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl RequestEncode { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 46 | pub async fn send(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.08s [INFO] running `Command { std: "docker" "inspect" "19a30a11314ef54ffb8129722f178b1d613ec0333349c828c3f1c7ca8b77a521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a30a11314ef54ffb8129722f178b1d613ec0333349c828c3f1c7ca8b77a521", kill_on_drop: false }` [INFO] [stdout] 19a30a11314ef54ffb8129722f178b1d613ec0333349c828c3f1c7ca8b77a521